openai-cli-client: A best OpenAI terminal client, writen in python
- GNU/Linux
- Unix systems (Like MacOS or BSD)
- Android
- Remember messages
- Interactive chat
- Syntactic highlighting (basic)
In Linux OS:
Needs:
- python-openai
- python-pygments
- python-pyxdg
Note: install on Manjaro or Archlinux using AUR helper, example:
paru -S python-openai python-pygments python-pyxdg
On another distro use pip for install dependencies:
pip install --local openai pygments pyxdg
and run in the project dir:
sudo make install
In Android (Termux)
pkg install python clang build-essential python-pip git
pip install openai pygments pyxdg
git clone --depth 1 https://github.com/Yisus7u7/openai-cli-client; cd openai-cli-client; mkdir ~/.config
make PREFIX=$PREFIX OPTDIR=$PREFIX/opt all
use openai-cli-client
command for open chat
You need OpenAI token for works
Add your token by editing ~/.config/openai_client.conf
If the file does not exist, the first time you run the program will be created.
example
[openai]
token = YOU_TOKEN_HERE
- You can help by sending changes and improvements to the repository
- Share
- Leave your star :3
Thank you for using!