Install — Solo Developer
Install — Solo Developer
Section titled “Install — Solo Developer”pipx install worthless # or: pip install worthlesscd your-projectworthlessThat’s it. worthless (no args) detects keys in .env, splits them, starts the proxy. No code changes.
What it does:
- Scans
.env(and.env.local) for API keys - Splits each key into two shards (shard-A stays local, shard-B encrypted in the proxy DB)
- Replaces the
.envvalue with shard-A — format-preserving (same prefix, same length, looks like a real key, useless on its own) - Starts the proxy on
localhost:8787 - Injects
OPENAI_BASE_URL/ANTHROPIC_BASE_URLinto.envso your SDK routes through the proxy
Your existing code works identically. The proxy reconstructs the key only when the rules engine approves the request — blow your spend cap, the key never forms.
Non-interactive (CI, scripts)
Section titled “Non-interactive (CI, scripts)”worthless --yes # skip the confirmation promptworthless --json # read-only state report, never writesInstall from source
Section titled “Install from source”git clone https://github.com/shacharm2/worthless && cd worthlessuv pip install -e .See the README quickstart for the full walkthrough and command reference.