Codepilot is a programming buddy that is an expert on your codebase.
MIT License
Codepilot is a programming buddy that is an expert on your codebase. You can add Codepilot to any project repo and it will taylor itself to the projects codebase.
To install Codepilot, you need a recent version of Node.js and npm (Node Package Manager) installed on your machine. Then, you can run the following command to install Codepilot globally:
npm install -g @stevenic/codepilot
To start a new chat session with Codepilot, simply run the following command from your projects root directory:
codepilot
Codepilot will guide you through the steps needed to setup a code index for your repo. You'll need an OpenAI key, which you can get here. See the Usage Guide for additional details on working with Codepilots Chat and Command Line Interfaces.
Once you're in a Codepilot chat session, you can ask questions or make requests related to your code. Codepilot will use its AI models and detailed knowledge of your codebase to provide helpful suggestions and answers.
For example, you can ask it to add new features to your code like:
Add a method that does XYZ to the ABC class.
Or ask it to document your classes:
Write the documentation for the ABC class.
Codepilot will generate responses based on the context of your question or request.
This preview version of Codepilot is a bit limited but I have lots of features planned and coming very very soon:
If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the Codepilot GitHub repository.
Codepilot is released under the MIT License. See the LICENSE file for more details.