Skip to main content

GPT on the command line.

Project description

gpyt

GPT in your terminal.

Note WIP


Try out the new (experimental and buggy) FREE model using GPT4Free:

$ gpyt --free

^ NO API KEY required

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

Or try this optional method for running gpyt if you don't have an api key:

  1. $ gpyt --free

Keybindings

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

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gpyt-0.2.12-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gpyt-0.2.12-py3-none-any.whl
  • Upload date:
  • Size: 12.7 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 4fc537c74caf3cfec164e64b173c61b1f8222afc8c90edd83140e974a1b741ba
MD5 7eabb42d01cf08c40bdbbf872b3e85b9
BLAKE2b-256 e20d1b6edbe741d1761c1d48342da77b86358f739332666732128988700024ba

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