Skip to main content

Cgpt

Project description

PyPI python commit activity Build Status Code style: black

🤖 MAKE AI POWERED SEARCH INSIDE YOUR CLI 💻


⭐ FEATURES


cgpt1 1 28 (1)


DESCRIPTIONS

  • cgpt is a REPL that allows you to use AI directly in your favorite Terminal.
  • cgpt is based on CLICK for creating beautiful command line interfaces in a composable way.

:question: PREREQUISITES

  • python >=3.7
  • openai API KEY : You need to register on openai to receive your own api key , here : api_key.

INSTALL FROM PYPI

You can install the latest version from pypi.

pip install cgpt

🚀 RUN

cgpt

:link: 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 on future releases.

  • This tool is still using gpt-3.5-turbo , gpt-4 and gpt-4-turbo are on the way 😉.

⏏️ RUN WITH DEVBOX

You need to install Devbox if you do not have it yet.

Then , run this command in the root directory :

devbox run start

:whale2: RUN WITH DOCKER

Pull the image

# docker pull ainayves/cgpt:v1.2.6

Run the docker image by using your openai api key :

# docker run -e OPENAI_API_KEY="yourapikey" -i -t ainayves/cgpt

💚 Feedback

Please feel free to leave feedback in issues/PRs.

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

Uploaded Source

Built Distribution

cgpt-1.2.6-py3-none-any.whl (11.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