npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@langx/copilot

v0.2.0

Published

An introduction to LangX Copilot, an AI-powered tool designed to enhance your language learning experience with personalized feedback and privacy-focused features.

Downloads

25

Readme

:robot: LangX Copilot

LangX Copilot is an innovative AI-powered tool designed to enhance your language learning journey. This feature-rich platform offers personalized feedback to improve your language skills in real-time. LangX Copilot ensures your privacy while providing corrections and explanations directly to you.

Demo

You can try out LangX Copilot in the #copilot channel on Discord.

Example

What can it do?

  • :construction: Grammar Correction: The bot can correct grammar mistakes in your messages.
  • :hourglass_flowing_sand: Suggest Next Message: The bot can suggest what to say next based on the context of the conversation.
  • :hourglass_flowing_sand: Better Way to Say: The bot can suggest a better way to express your thoughts.
  • :hourglass_flowing_sand: Suggest New Topic: The bot can suggest a new topic of conversation when the current topic has been exhausted.
  • :hourglass_flowing_sand: And more: The bot has many more features to explore!

You can try it out in the #copilot channel on Discord.

Features

  • Personalized Feedback: Get real-time corrections and explanations to enhance your language learning.
  • Grammar Correction: Automatically corrects grammar mistakes and provides detailed explanations.
  • Privacy Focused: Feedback is provided confidentially, ensuring your privacy is maintained.
  • Supports Multiple Languages: Not limited to English, LangX Copilot supports various languages for grammar correction.

Getting Started

Installation

  1. Clone the repository:

    git clone
    cd copilot
  2. Copy .env file with the following environment variables:

    cp .env.sample .env
  3. Fill in the environment variables in the .env file:

    DISCORD_BOT_TOKEN=your_discord_token
    DISCORD_CLIENT_ID=your_discord_client_id
    
    OPENAI_API_KEY=your_openai_api_key
    OPENAI_ASSISTANT_ID=your_openai_assistant_id
  4. Deploy Appwrite Functions:

    1. Open the appwrite.json file in a text editor.
    2. Update the projectName field with your projectId.
    3. Save the changes to the appwrite.json file.
    4. Open a terminal or command prompt in the directory where your appwrite.json file is located.
    5. Install the Appwrite CLI by running the following command:
       npm install -g appwrite-cli
  5. Deploy the Appwrite functions by running the following command:

       appwrite deploy --functionId copilot

    Deploy the Appwrite functions, ensuring that the environment variables are correctly set during the deployment process. We utilize Git integration for deployment. For more information on deploying Appwrite functions, refer to the Appwrite Functions Documentation.

    Please note that you need to have the Appwrite CLI installed and authenticated with your Appwrite project before running the appwrite functions deploy command.

Discord Bot

Detailed instructions for installing and configuring the Discord bot are provided in a separate document. This includes steps for setting up your environment, configuring the bot, and deploying it to a server.

Please refer to the Discord Bot Documentation for more information.

Contributing

Feel free to contribute to this project and help us improve LangX Copilot. You can contribute by opening a PR or creating an issue easily.

We welcome all contributions, including bug fixes, new features, and improvements to the documentation.

License

This project is licensed under BSD 3-Clause License. See the LICENSE file for more details.