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

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

Uploaded Source

Built Distribution

gpyt-0.2.8-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gpyt-0.2.8.tar.gz
  • Upload date:
  • Size: 8.8 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.8.tar.gz
Algorithm Hash digest
SHA256 6bf9ac9286c6cf836fdb8456bacb3b5470459a8c30ad66599f5838ef5e11aeaa
MD5 b40a71e62acc7cab5a3c4ae138b00312
BLAKE2b-256 7fd3b17aac5e24d33b266c17f2b984cbf3b796885c37c9c4d83f5686d0710a85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gpyt-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 10.3 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a9c38edc797661eac22650cb0902e36065b7a1c9cbbe473529a68b493488e932
MD5 e5aed86fbeca797e9405b80bd36894c5
BLAKE2b-256 59a9f211bafc01141b0f795b7b35217270bc853eb05cc3d36bf3c7b67f269421

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