Skip to main content

GPT on the command line.

Project description

gpyt

GPT in your terminal.

WIP

Demo

gpyt demo

Uses Textual.

Installation & Usage

  1. $ pip install gpyt

  2. add OPENAI_API_KEY="<your_openai_api_key>" in a .env at $HOME or export OPENAI_API_KEY=<your_key>

  3. $ gpyt

Keybindings

  • ctrl-b -> Toggle Dark/Light Mode
  • ctrl-n -> Open Past Conversations Sidebar
  • ctrl-c -> Quit

TODO

  • copy to copy GPT's response to clipboard
  • add gpt jailbreaks (DAN-esque)
  • 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
  • gpt4free integration (for 3.5 and 4)
  • refactor the f**k out of app.py
  • copy/pasting with mouse

Project details


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.9.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

gpyt-0.2.9-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file gpyt-0.2.9.tar.gz.

File metadata

  • Download URL: gpyt-0.2.9.tar.gz
  • Upload date:
  • Size: 9.0 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

Hashes for gpyt-0.2.9.tar.gz
Algorithm Hash digest
SHA256 a8029c35ef10e70469546964c07ccb13f85070b679f53524e20565231c310cda
MD5 0ee92a99caf395acd078f9f479335bd4
BLAKE2b-256 a966b60384915b7d030e84c5815bb2d3e307e2d6014f31c06cb7c3195f75d1fd

See more details on using hashes here.

File details

Details for the file gpyt-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: gpyt-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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

Hashes for gpyt-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c4ca0cc83f46c594482c3b0be383d9abc53f72cc7fb80d9979e593f8f2842725
MD5 5f6bfcb509ecbc2c9a836b04dcf123c5
BLAKE2b-256 a3b8eb36abf7f6f867a12f38f062fda2e95be537fe6bbed3ae54e598765ed5b6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page