/cgpt

Make AI powered search inside your CLI

Primary LanguagePythonMIT LicenseMIT

python commit activity Build Status Code style: black

🌟 MAKE AI POWERED SEARCH INSIDE YOUR CLI 🌟


cgpt1 1 28 (1)


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

❓ 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 -r requirements.txt

🔨 BUILD

  • For this part , it is better to use Linux.

If you are on Linux , launch:

sudo chmod +x build.sh

Then , :

./build.sh

⏯️ GET VERSION

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.

💚 Feedback

Please feel free to leave feedback in issues/PRs.