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.1.tar.gz
(6.6 kB
view details)
File details
Details for the file fixr_cli-0.1.1.tar.gz.
File metadata
- Download URL: fixr_cli-0.1.1.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 |
11bc5c86a394a5d0a3ef3b263d54da737a4c36eb7e96589a59bedb929020e931
|
|
| MD5 |
6ac7102717b1bc9eb10a54d02bc25a31
|
|
| BLAKE2b-256 |
b07ec426f8ddee33a204ed1a2d2f290bff932edb721a2461c9fda60e7ef6484c
|