LFG, It Really Whips the Llama's Ass 🦙🦙🦙🦙
Project description
LFG
LFG, It Really Whips the Llama's Ass 🦙🦙🦙🦙
LFG is a command-line tool that intelligently helps you find the right terminal commands for your tasks. It taps into the vast knowledge of the LLAMA3 language model (via Ollama) to understand your natural language descriptions and provide you with the most relevant commands and explanations.
Installation
# install pipx
brew install pipx
# add pipx binaries to path
pipx ensurepath
# restart your terminal
# install LFG
pipx install lfg-llama
Usage
This executable is using Groq, that means you need and API token.
Add the token to your .bashrc/.zshrc and reload your terminal.
export GROQ_API_KEY=1337
Now you can use the executable
lfg kill port 3000
# Kill process listening on port 3000
lsof -i :3000 | xargs kill
Development
pip install --user pipenv
pipenv --python 3.7
pipenv install
TODO
- Use the model directly without ollama
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lfg_llama-1.0.100.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for lfg_llama-1.0.100-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea63073506e42e04d8c1d093638c57b9b0ba894c91d352537fb47c11eb4519f |
|
MD5 | 34882dff85b76afa92622a06474c4735 |
|
BLAKE2b-256 | 03b2894a13e3ecead05efa2b1e96513a0d1d62bcbf4fc6cb5995db4bf05d6dbf |