Skip to content

A cli tool that translates natural language into bash commands and warns you before you do something stupid.

License

Notifications You must be signed in to change notification settings

murderteeth/rash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

murderteeth_pixel_art_of_a_cute_cybernetic_virus_anime_aestheti_b8a3e1cf-6a71-4d7f-be09-92069c8d8bfa-removebg-preview

rash

A cli tool that translates natural language into bash commands. Rash uses OpenAI GPT-4o, bring your own API key.

usage

rash <natural language description of what you want to do>
rash.mov

natural language command examples

  • stop all docker containers
  • kill the process running on port 3000
  • find files at path ./ containing the text 'xyz'

configure

Configure an environment variable called OPENAI_API_KEY and set it to your openai api key. If you need a key, go to https://platform.openai.com/account/api-keys.

install

npm install -g rash-cli

uninstall

npm uninstall -g rash-cli

dev setup

cp .env.example .env
# configure .env
bun install
bun build

dev test

bun run console

or just

bun run index.ts

About

A cli tool that translates natural language into bash commands and warns you before you do something stupid.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published