Skip to content

Python program fixing spelling and grammar on clipboard content using GPT-4

License

Notifications You must be signed in to change notification settings

kristianmk/ctrl-c-gpt-v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctrl-c-gpt-v

A Python program for correcting spelling and grammar in clipboard content utilizing GPT-4.

⚠️ WARNING: When confirming rewrite, all clipboard content is transmitted to OpenAI, and overwritten with the AI-generated version ⚠️

ctrl-c-gpt-v-1080p.mov

If you press the 'rewrite' button, all content on your clipboard will be sent to OpenAI through their API. Make sure you have no sensitive data on the clipboard.

Usage

  1. Clone this repository.
  2. Add your OpenAI API key to the environment variable OPENAI_API_KEY, or, although not recommended, you can add it directly to App.py.. Currently, access to GPT-4 and API calls requires a subscription to the paid GPT version.
  3. Install dependencies (use a virtual environment!) pip install -r requirements.txt
  4. Run App.py with your Python interpreter.
  5. Select a portion of text within a browser or an editor, and copy it to your clipboard. Anticipate the appearance of two buttons.
    ⚠️By selecting 'Rewrite', the content will be transmitted to OpenAI and the original content on your clipboard will be replaced.⚠️
    You can then paste the improved version.

In Summary:

Ctrl+C --> GPT-4 --> Ctrl+V

(Naturally, utilize the command key in place of Ctrl if you are using MacOS)

About

Python program fixing spelling and grammar on clipboard content using GPT-4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages