Skip to main content

LFG, It Really Whips the Llama's Ass 🦙🦙🦙🦙

Project description

LFG

LFG, It Really Whips the Llama's Ass 🦙🦙🦙🦙

Logo

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


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.1.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

lfg_llama-1.1.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page