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.

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

  1. Fork it (https://github.com/your-github-user/chatcopy/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Reques

Contributors

License

Chatcopy is licensed under the MIT License. For more information, see LICENSE.

Repository

chatcopy

Owner
Statistic
  • 3
  • 0
  • 0
  • 0
  • 1
  • over 1 year ago
  • June 27, 2023
License

MIT License

Links
Synced at

Sat, 23 Nov 2024 09:21:08 GMT

Languages