Skip to content

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.

License

Notifications You must be signed in to change notification settings

lancecarlson/chatcopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published