Skip to content

alekcastillo/CommandGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommandGPT

Just a small POC of a Python-based CLI tool capable of turning human descriptions into Linux commands using GPT. This is currently in very bad shape, but I'll continue improving it for those interested :).

Setup

You can use the included setup script, which creates a VirtualEnv and installs the required dependencies:

./setup_env.sh

Then replace the API_KEY variable in the main.py file with your OpenAI API Key.

Usage

Just run the script followed by the description of the command you wish to run. Example:

./python main.py Show me my current user

About

A simple Python script able to turn human descriptions into terminal commands using GPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors