Skip to content

Honyant/AICommandGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Command Generator

This script uses the GPT-3 davinci-code-002 api with zsh to convert natural language commands to bash commands (or really any POSIX-compliant shell). Note: Only works with Linux and MacOS, and the user to have homebrew, python3, and the openai package to be installed locally.

Installation

  1. Clone the repo
  2. Ensure that you have homebrew (or apt on linux), python3, and the openai package (pip install openai) installed.
  3. Run ./install.sh to install the script.

Usage

sample Press ctrl+R (on mac) once you have typed in a command in natural language. The script will then convert it to a bash command, and you can press enter to run it.

About

Short and simple AI-Based (GPT-3) bash command generator. Requires zsh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors