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.
One-line install (curl)
Section titled “One-line install (curl)”No Python or pipx set up? Install with a single command. The script is
version-pinned, and verifies the SHA-256 of every sub-installer it fetches
(e.g. the Astral/uv installer) before running it. To check the top-level
script’s own bytes weren’t tampered with in transit, compare the
X-Worthless-Script-Sha256 response header against what you downloaded —
see the install security model for exactly what that
does and doesn’t prove:
curl -sSL https://worthless.sh | sh# inspect first: curl -sSL 'https://worthless.sh?explain=1' | lessThis installs the worthless CLI; then cd your-project && worthless exactly as above.
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.