Skip to content

A simple CLI that communicates with the OpenIA api

Notifications You must be signed in to change notification settings

MarlonHenq/TermIA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TermIA - An AI terminal interface

A simple CLI that communicates with the OpenIA api

Installation

copy or rename the example.env file to .env

cp example.env .env

Change the API key in the .env file

OPENAI_API_KEY="YOUR_API_KEY"

Copy the file to /usr/bin/ and give it execution permissions

sudo cp termIA.py /usr/bin/termIA
sudo cp .env /usr/bin/.env
sudo chmod +x /usr/bin/termIA

Usage

Create a prompt

termIA "Your prompt here" 
#or
termIA Your prompt here

note: use '-f' to force rum the command without prompt

termIA -f "Your prompt here" 

Open ChatGPT on Chrome

termIA -o

Open Help menu

termIA --help

About

A simple CLI that communicates with the OpenIA api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages