Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shelly

Shelly us a simple command line tool which can convert natural language instructions to Linux shell commands and execute them. It uses a LLM in the back end and currently supports LLAMA on Groq.

Example usage

$ shelly "Welcome to Shelly! Type your commands below (type 'exit' to quit):" ">> "Commit the current version of this repo and push to the main branch. Use an appropriate message"

Setup

  • Clone the repo
  • Create the Python virtual environment in the root directory of the project (Optional, but recommended)
  • Install Python dependencies pip install -r requirements.txt
  • Obtain a (free) API key from Groq
  • Set the GROQ_API_KEY environment variable to the Groq key.
  • Set the alias so that Shelly can be accessed from any working directory easily. `alias shelly='/home/path-to-venv/venv/bin/python3 /path-to-the-local-repo/shelly/main.py'

About

Shelly is simple command line tool to assist with shell commands.

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages