BACK / HOMEROOT
PROJECT / 08 / LOCAL BUILD NODE / CCSWITCH STATUS / UNPUBLISHED
ccswitch / ccauto
Termux/proot Ubuntu shell tooling that rotates across 12 accounts on 6 API proxy services, and tells an exhausted key apart from a broken one with a live one-token probe.
READ DOCUMENTATION
PRIVATE SHELL TOOLING — NO PUBLIC SOURCE LINK
CAPTURE / PENDING
NO SOURCE FILE
DROP INTO /assets/projects/ccswitch/
CAPTURE / PENDING
PROBE / ROTATE / STATE
LOCAL DOCUMENT / NOTES.md
SYNC / FETCHING
Project documentation
root@dream:~# fetch local/ccswitch.md --background
DOCUMENT CHANNEL OPEN / PAGE INTERFACE READYThe problem
A failing API call looks the same from the outside whether the key is invalid, the account is out of credit, or the service is rate-limiting for the next few minutes. Only one of those three is worth retrying soon, and only one is worth removing the key over — so a switcher that treats them alike either burns good accounts or keeps retrying dead ones.
The approach
- A one-token probe request per candidate — the cheapest call that still produces a real, classifiable response.
- Response and status are sorted into rate-limited, credit-exhausted, or invalid, and each class gets different handling.
- Rotation across 12 accounts spanning 6 proxy services, with per-account state held between shell sessions.
- Plain bash functions sourced into the Termux/proot Ubuntu shell — no daemon, no runtime beyond curl.