GPT on the command line.
Project description
gpyt
TUI GPT frontend on the command line with Textual.
WIP
Demo
Uses Textual.
How to run:
$ pip install gpyt
add `OPENAI_API_KEY="<your_openai_api_key>"` in a `.env` at $HOME or `export OPENAI_API_KEY=<your_key>`
$ python -m gpyt
Desired Features
-
copy
to copy GPT's response to clipboard - add gpt jailbreaks (DAN-esque)
-
new
to start a new chat (clear all history and console window) - store chat logs somewhere.
- add special flags like -t (terse) or -v (verbose) or -d (detailed) or -i
- (informal) or -f (for file input) or --dan (for jailbreak)
- model select CLI
- add API_KEY from CLI
Completed Features
- loading wheel
- textual !!!
- scrolling text (adjustable speed, or disable all together)
- use streams api?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gpyt-0.2.5.tar.gz
(5.6 kB
view details)
Built Distribution
gpyt-0.2.5-py3-none-any.whl
(7.4 kB
view details)
File details
Details for the file gpyt-0.2.5.tar.gz
.
File metadata
- Download URL: gpyt-0.2.5.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.0 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ac95f80cc924aff41f5c9543954d220e782d6645f0cfaa6d3939d164e798c76 |
|
MD5 | 7ee93805394ac78333f0312a043d9f92 |
|
BLAKE2b-256 | 0c4fe7df4759e47efcdb448f2047ad51cf66c5f07a546cb3df66ca5d3af5e495 |
File details
Details for the file gpyt-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: gpyt-0.2.5-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.0 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de20657689d297b830886bb271eb657f3756389f192c59d655bf649072be5703 |
|
MD5 | 2c15030271de175abd0424cbbb159839 |
|
BLAKE2b-256 | b9092176d792764ba48f555b0cfca9f2d39e58c56fc30e8b5711a39cf2b2324d |