Ais (ai shell) is interactive command line ai tool powered by ChatGPT (GPT-3.5). Ais can translate your query into a bash command and explain it to you if you want. In this way, you can get rid of hours of searching for small tasks and increase your learning spectrum.
(require python3.6+)
pip install ais-cli
Setup open ai access key in interactive mode
ais set ACCESS_KEY <KEY>
You can just write the what do you want. It will translate a bash command
ais • open rtsp://113.76.151.33/1 with ffplay without sound
────────────── Command ───────────────────
ffplay -an rtsp://113.76.151.33/1
? Select action (Use arrow keys)
◌ ✅ Run this command
❔ Explain this command
❌ Cancel
If you select "Explain this command" action ChatCPT will explain this command for you.
? Select action (Use arrow keys)
◌ ✅ Run this command
❔ Explain this command
❌ Cancel
Run ais ask
for asking normal questions.
ais • ais ask Who is Ataturk?
─────────── Result ─────────────
Ataturk is the founder of modern Turkey and its first president.
Use the !
character as the first character
ais • !whoami
knid
$ 'ais -c "create port scanner with bash"
$ ais -c "ais ask Suggest me a horror movie"