{"id":30872932,"url":"https://github.com/flexiondotorg/tokentank","last_synced_at":"2025-09-07T22:46:53.199Z","repository":{"id":312241297,"uuid":"1041586374","full_name":"flexiondotorg/tokentank","owner":"flexiondotorg","description":"A delightful Go terminal application that displays remaining credit balances for AI providers in a gorgeous, human-friendly interface.","archived":false,"fork":false,"pushed_at":"2025-08-20T18:15:59.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-05T18:22:52.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flexiondotorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-20T17:52:30.000Z","updated_at":"2025-08-26T00:37:16.000Z","dependencies_parsed_at":"2025-08-29T12:48:39.234Z","dependency_job_id":"75d40575-037e-4cad-b507-6c8f8188b64d","html_url":"https://github.com/flexiondotorg/tokentank","commit_stats":null,"previous_names":["flexiondotorg/tokentank"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flexiondotorg/tokentank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexiondotorg%2Ftokentank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexiondotorg%2Ftokentank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexiondotorg%2Ftokentank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexiondotorg%2Ftokentank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flexiondotorg","download_url":"https://codeload.github.com/flexiondotorg/tokentank/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexiondotorg%2Ftokentank/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274107986,"owners_count":25223473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-07T22:46:51.563Z","updated_at":"2025-09-07T22:46:53.177Z","avatar_url":"https://github.com/flexiondotorg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TokenTank 🎯\n\nA delightful Go terminal application that displays remaining credit balances for AI providers in a gorgeous, human-friendly interface.\n\n## Features\n\n- **Single command**: `tokentank` checks all configured providers\n- **Beautiful terminal UI** with colors, spinners, and smooth animations  \n- **Graceful error handling** with helpful, non-punishing messages\n- **Multi-provider support**:\n  - ✅ **OpenRouter**: Full balance checking via API\n  - ⚠️ **OpenAI**: API key validation (no balance API available)\n  - ⚠️ **Anthropic**: API key validation (no balance API available)\n\n## Installation\n\n```bash\n# Download and build from source\ngit clone https://github.com/flexiondotorg/tokentank\ncd tokentank\ngo mod tidy\njust build\n\n# Or use go install\ngo install github.com/flexiondotorg/tokentank/cmd/tokentank@latest\n```\n\n## Usage\n\nSet your API keys (only configure the providers you use):\n\n```bash\nexport TT_OPENAI_API_KEY=\"your-openai-key\"\nexport TT_ANTHROPIC_API_KEY=\"your-anthropic-key\"  \nexport TT_OPENROUTER_API_KEY=\"your-openrouter-key\"\n```\n\nThen run:\n\n```bash\ntokentank\n```\n\n## Example Output\n\n```\nChecking balances for: OpenRouter, OpenAI, Anthropic\n\nOpenRouter $42.50\nOpenAI ℹ️ ✓ API key valid - OpenAI doesn't provide balance checking via API. Check usage at platform.openai.com\nAnthropic ℹ️ ✓ API key valid - Anthropic doesn't provide balance checking via API. Check usage at console.anthropic.com\n```\n\n## Development\n\nTokenTank is built using [Tessl](https://tessl.io) AI Native Development:\n\n- **Specification-driven**: Natural language specs drive code generation\n- **AI-generated code**: All implementation generated from `tokentank.spec.md`\n- **Real-world tested**: APIs verified against working implementations\n\n### Build Commands\n\n```bash\n# Build\njust build\n\n# Run directly  \njust run\n\n# Test\njust test\n\n# Cross-compile for multiple platforms\njust cross\n```\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Inspired by [token-tongs](https://github.com/utensils/token-tongs) for OpenRouter API implementation\n- Built with [Charm](https://charm.sh/) libraries for beautiful terminal UI\n- Generated using [Tessl](https://tessl.io) AI Native Development platform","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexiondotorg%2Ftokentank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflexiondotorg%2Ftokentank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexiondotorg%2Ftokentank/lists"}