12 lines
368 B
Plaintext
12 lines
368 B
Plaintext
Talk to ChatGPT without a browser.
|
|
|
|
Requirements:
|
|
* python3
|
|
|
|
Usage:
|
|
* Put your OpenAI API key into the environment variable OPENAI_API_KEY or the file $USER/.config/me.fier.simpleGPT/api_key.txt (Linux) / %appdata%\me.fier.simpleGPT/api_key.txt (Windows)
|
|
|
|
Syntax: ./simpleGPT <text editor> <topic>
|
|
|
|
(I use nano, you best use some editor that opens a process per file)
|