Skip to content

atomlayer/clipboard_copilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clipboard Copilot

This program uses OpenAI's API (local models can also be used, e.g. with ollama) and clipboard monitoring to create a code snippet based on user input.

Usage:

  1. Run the script
  2. Copy your code comment or prompt to the clipboard (code comment must start with #, // or /*).
  3. The generated snippet replaces the selected text, and you can use it immediately.

Configuration:

The script's behavior is controlled by a JSON file named config.json. You can modify settings like open_ai_urlapi_keytemperature, and max_tokens there.

Releases

No releases published

Packages

No packages published

Languages