Skip to content

Tiny script to interface with ChatGPT in a terminal

Notifications You must be signed in to change notification settings

nightmarishblue/gpterm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

gpterm

Messing with ChatGPT's API. Currently, basically ChatGPT in the terminal, but bad.

Requirements

  • Python. Version 3, I think.
  • The python-dotenv package, optionally.

How to use

  1. Set the API_KEY variable to your OpenAI API key, either on the commandline or in the .env file if you have python-dotenv. If you don't have one, get one for free here.
  2. Optionally, set the SYSTEM_PROMPT variable to change ChatGPT's behaviour.
  3. Run gpterm.py and enjoy the results.

About

Tiny script to interface with ChatGPT in a terminal

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages