Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask

Ask ai stuff, and then easily execute it in command line.

Usage

Need an api key, set that up with GROQ:

export GROQ_API_KEY="your_groq_api_key_here"

Ensure ~/ask-output.txt exists:

The runit.sh script expects ~/ask-output.txt to contain a valid shell command.

touch ~/ask-output.txt

Move the binary for ask and runit onto your path. For example:

sudo cp ask /usr/local/bin/
sudo cp runit /usr/local/bin/

Then you can just do something like this:

$ ask "how do i count the number of lines in main.go?"
 wc main.go
$ runit
 101  289 2256 main.go

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages