AI-powered CLI that explains programming errors using a persistent cache and LLMs.
Project description
fixr ⚡
AI-powered CLI that explains errors and suggests fixes — using a hashtable cache + LLM combo.
Install
pip install fixr
# or
uv add fixr
Usage
# Direct
fixr "TypeError: unsupported operand type(s) for +: 'int' and 'str'"
# Pipe any command output
python script.py 2>&1 | fixr
cargo build 2>&1 | fixr
node app.js 2>&1 | fixr
g++ main.cpp 2>&1 | fixr
Setup
# Set API key
fixr config --provider groq --api-key gsk_...
# Set default provider
fixr config --provider gemini
# OAuth login (Google/Gemini)
fixr login google
# Show current config
fixr config --show
# List all providers
fixr providers
Free tier providers (no credit card)
| Provider | Models |
|---|---|
| groq | llama-3.3-70b-versatile |
| gemini | gemini-2.0-flash |
| mistral | mistral-small |
| openrouter | 20+ free models |
| nvidia | 100+ open models |
| cerebras | llama3.3-70b |
How it works
error input
│
▼
normalize + hash (sha256[:16])
│
▼
cache hit? ──yes──→ instant response ⚡
│
no
▼
LLM call (provider of choice)
│
▼
store in ~/.fixr/cache.json
│
▼
display fix
Cache lives at ~/.fixr/cache.json. Gets smarter over time.
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
fixr_cli-0.1.0.tar.gz
(6.6 kB
view details)
File details
Details for the file fixr_cli-0.1.0.tar.gz.
File metadata
- Download URL: fixr_cli-0.1.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
568f98179916e9c6aca9dab88194cbd46bf3cfef28f8043a66d96210ccf0c482
|
|
| MD5 |
1e3778f4537c1fa1350b36898789948b
|
|
| BLAKE2b-256 |
d0b5fbf56797e20bc73c631d365d31435ccbf9866c7db5090139a9b5f648dd82
|