Cgpt
Project description
🤖 MAKE AI POWERED SEARCH INSIDE YOUR CLI 💻
Features
Descriptions
cgptis a REPL tool that allows you to use AI directly in your favorite Terminal.cgptis based on CLICK for creating beautiful command line interfaces in a composable way.
Prerequisities
-
python >=3.10
-
openai API KEY : You need to register on openai to receive your own api key , here : api_key.
This tool is still using
gpt-3.5-turbo,gpt-4andgpt-4-turboare on the way. 😉
Setup and Run
🚀 Run in local
You can directly install the latest version from pypi.
$ pip install cgpt
$ cgpt
CGPT inside a Local Area Network
You can also 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 the AI asclient.
For more information , look here.
Run with Docker
Pull the image
$ docker pull ainayves/cgpt:latest
Run the docker image by using your openai api_key :
$ docker run -e OPENAI_API_KEY="yourapikey" -i -t ainayves/cgpt:latest
To run the LAN mode in docker :
$ docker run -e OPENAI_API_KEY="yourapikey" -i -t ainayves/cgpt:latest poetry run cgpt --lan
Devbox support
To make life easier for contributors , you can install and use Devbox.
Then , run this command in the root directory of the project:
$ devbox run start
⚠️ Warning for users only
Development of MacOS compatibility for
cgptis still ongoing and undergoing enhancements.
💚 Feedback
Please feel free to leave feedback in issues/PRs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cgpt-1.2.11.tar.gz.
File metadata
- Download URL: cgpt-1.2.11.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71489b526d44eb39cf6f292a5d8ee0c89e401b632430db4e1d967c7eb7fe2705
|
|
| MD5 |
a5d9dae0a19a82e4588be164c3f9a509
|
|
| BLAKE2b-256 |
2141689f282616a0bb1a1cad11aaf2837a752e9a5afdecc7e5fb7f0cdfc26780
|
File details
Details for the file cgpt-1.2.11-py3-none-any.whl.
File metadata
- Download URL: cgpt-1.2.11-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
558435ed79a3ea2cde369732a0f9952c07499d7a3742628ce24017b2900b179d
|
|
| MD5 |
9cb94f11cf4c9c01b7ee080e060487fb
|
|
| BLAKE2b-256 |
1b22867e3e5e187d29c4a6f50447a5d246f00a1c6c3a5f5f64aadd674933d97f
|