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. Such sales pitch.
Why?
Testing the llama3 model. Initially it was made using ollama locally, but changed to use groq due to not needing to have the llama3 model downloaded.
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.
Groq is free beta, for now.
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
- Fix the setup and pyproject file, including github workflow for releasing the package
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.2.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for lfg_llama-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc006602f0510b96750a5ffaf9a172e3372e2a544361188f528bd4611246524 |
|
MD5 | 9500b9cd0f07a142bf381277c1c5df62 |
|
BLAKE2b-256 | 1db9499d9b1ec73b7da0da333cf41f1508815c8154144bbc367b885fcab3f577 |