{"repo":"fantasticjoe/cpa-warden","free":true,"listed":false,"github":"https://github.com/fantasticjoe/cpa-warden","clone":"git clone https://github.com/fantasticjoe/cpa-warden.git","description":"Interactive CLI for CPA auth inventory scanning, usage probing, and account maintenance in known CPA management environments.","language":"Python","stars":190,"topics":["cli","cpa","python","sqlite","account-maintenance","auth-inventory","operations-tooling","usage-probing"],"license":"MIT","category":"cli-tools","readme_excerpt":"cpa-warden 简体中文 cpa-warden is an interactive CLIProxyAPI (CPA) auth inventory scanner, uploader, and maintenance tool for local operations against a specific CPA management environment. It currently relies on three management flows: GET /v0/management/auth-files for inventory, POST /v0/management/api-call against https://chatgpt.com/backend-api/wham/usage for usage probing, and POST /v0/management/auth-files for auth-file uploads. What It Does From a user perspective, the script: - fetches the current auth inventory - stores local state in SQLite - probes usage concurrently - uploads local auth JSON files concurrently in upload mode - exports current 401 and quota-limited results - optionally deletes, disables, or re-enables accounts in maintenance mode - can refill accounts to a minimum valid threshold after maintenance Key Capabilities - Interactive mode by default when no --mode is provided in a TTY - Non-interactive scan , maintain , upload , and maintain-refill workflows for repeatable runs - External JSON configuration for sensitive values such as base url and token - Concurrent usage probing through the CLIProxyAPI api-call endpoint - Concurrent auth-file uploads with local SQLite deduplication guards - Optional external register-command hook when refill still cannot meet threshold - Local SQLite state tracking across runs - JSON exports for invalid and quota-limited accounts - Short production output with optional Rich progress display in TTY sessions - Full debug-lev","default_branch":null,"files":null,"tree":[],"storefront":"/r/fantasticjoe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fantasticjoe/cpa-warden/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}