Skip to main content

No project description provided

Project description

Simple-ChatGPT-CLI

A simple implementation of ChatGPT in terminal, so I can avoid using the ChatGPT website which is more expensive and less privacy-friendly.

Installation

pip install simple-chatgpt-cli

Usage

You must have an environment variable OPENAI_API_KEY for a valid OpenAI API key.

export OPENAI_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
chatgpt

screenshot

Tips

Use #startover to start a new conversation whenever you switch to a new topic and the bot doesn't need previous context anymore. This helps reduce your OpenAI bill.

The program will remind you this if you come back to an idle conversation after more than 5 minutes.

Development

This project was initialized by my Python project boilerplate. So you will need all the prerequisites of that project.

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

simple_chatgpt_cli-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_chatgpt_cli-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file simple_chatgpt_cli-0.1.2.tar.gz.

File metadata

  • Download URL: simple_chatgpt_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.2 Darwin/22.4.0

File hashes

Hashes for simple_chatgpt_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ad653bca267aa6aa8bc3c7ea9fe49702d57214f1bc4a40e65172e565e0e9ebbe
MD5 d0e983f5ba8b60bc8898d926f327b585
BLAKE2b-256 d58a4119eb3cb84ae4e5ba4f19a7d27651601dbae5ab69a2751c8dab5922576c

See more details on using hashes here.

File details

Details for the file simple_chatgpt_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: simple_chatgpt_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.2 Darwin/22.4.0

File hashes

Hashes for simple_chatgpt_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce5b1c184c38dfa14a71a0ef19a37ab3e1ca94576484ad561933aa3de91a54bb
MD5 f780e404ff8f38e66d2d7cdbda68ae1d
BLAKE2b-256 5044ef3185e03cb96397fd6aa7f5c434cf00d109a058bac8056ab9a98cadc273

See more details on using hashes here.

Supported by

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