Skip to main content

Use openai chat-gpt on your cli

Project description

Use openai chat-gpt on your CLI

cgpt is a Python module that allows you to use Chat-GPT directly in your favorite Terminal.

⭐ FEATURES

  • AI conversation exactly the same as in openai website
  • LAN support (you can use cgpt inside a LAN)

REQUIREMENTS

  • python >=3.7
  • openai API KEY :

You need to register on openai to receive your own api key , here : api_key.

SETUP

pip install cgpt

⏯️ VERIFY INSTALLATION

cgpt-version

🚀 RUN

cgpt

🔗 CGPT INSIDE A LOCAL NETWORK

You can use cgpt inside a LAN.

  • You just need one Host (connected to internet) to be the server.
  • Other Hosts (not connected to internet) can ALWAYS use Chat GPT as client.

NOTES :

  • For now , a server must be launched inside a Linux computer . If the server is inside Windows : the address is sometimes wrong (to be fixed in the next version).

  • Also , make sure that your /etc/hosts is configured correctly like :

127.0.0.1	localhost
127.0.1.1	your-hostanme
  • A client can also use his own api_key in the next version.

GITHUB

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

cgpt-1.2.2.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

cgpt-1.2.2-py3-none-any.whl (10.5 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