Skip to content

A small commandline tool that uses your chatgpt to find linux commands for every situation

License

Notifications You must be signed in to change notification settings

Pimverleg/pimterm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pimterm

image

pimterm can be used to find the linux command you need. for example:

Using the short notation

pimterm c "how do I ping example.com?"
ping example.com

Using the long notation

pimterm command "how do i remove a file"
rm filename

You can also ask reqular questions:

Using the short notation

pimterm q  "who is cleopatra?"
Cleopatra was the last active ruler of the Ptolemaic Kingdom of Egypt.

Using the long notation

pimterm question  "what is the capital of the netherlands?"
Amsterdam

Notes

Intallation

Make sure to add your chatgpt key to your system

pimterm c "how do i add my chatgpt key to my linux instalation?"
echo "export OPENAI_API_KEY='YOUR_API_KEY'" >> ~/.bashrc

Then install using pip ( or by downloading the files )

pip install pimterm

The ai will try to return only the command needed. Somtimes when the ai feels explenation is needed it will add it in plain text.

About

A small commandline tool that uses your chatgpt to find linux commands for every situation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages