Skip to main content

GPT on the command line.

Project description

gpyt

TUI GPT frontend on the command line with Textual.

WIP

Demo

gpyt 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)
  • 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
  • add special error handling for RateLimiting or early stops to generation of text stream
  • gpt4free integration (for 3.5 and 4)

Completed Features

  • loading wheel
  • textual !!!
  • scrolling text (adjustable speed, or disable all together)
  • use streams api?
  • store chat logs somewhere.
  • load saved conversations

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.6.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

gpyt-0.2.6-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

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