chatcopy
Chatcopy
Chatcopy is a simple command-line utility written in Crystal Lang that copies relevant parts of your code base into your clipboard based on a provided prompt. It uses OpenAI's GPT-3 model to parse the prompt and identify relevant code snippets.
Dependencies
- Crystal Language
Installation
To use Chatcopy, ensure that you have Crystal Language installed on your system. You can find instructions on how to do this here.
Next, clone this repository to your local machine:
git clone https://github.com/lancecarlson/chatcopy.git
cd chatcopy
Then, install the project:
make
sudo make install
Usage
To use Chatcopy, run the executable followed by the path to your prompt file:
./chatcopy path_to_prompt_file
If you do not provide a path, Chatcopy will default to using a file named prompt.md
in the current directory.
Chatcopy will parse the prompt, identify relevant code snippets in your codebase, and copy them to your clipboard. You can then paste the code wherever you need.
Chatcopy can also be used on knowledgebases hosted locally!
Support
If you encounter any issues or have any questions about Chatcopy, please open an issue here.
Contributing
- Fork it (https://github.com/your-github-user/chatcopy/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Reques
Contributors
- Lance Carlson - creator and maintainer
License
Chatcopy is licensed under the MIT License. For more information, see LICENSE.
chatcopy
- 3
- 0
- 0
- 0
- 1
- over 1 year ago
- June 27, 2023
MIT License
Sat, 23 Nov 2024 09:21:08 GMT