{"id":51015040,"url":"https://github.com/jr4dh3y/opencode-go-usage","last_synced_at":"2026-06-21T09:02:31.592Z","repository":{"id":356571193,"uuid":"1223915607","full_name":"jR4dh3y/opencode-go-usage","owner":"jR4dh3y","description":"A minimalistic, standalone bash script to track your OpenCode Go subscription usage per API key.","archived":false,"fork":false,"pushed_at":"2026-05-08T16:27:49.000Z","size":250,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-08T18:35:09.563Z","etag":null,"topics":["bash","cli","opencode","usage-tracker"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/jR4dh3y.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-28T19:27:46.000Z","updated_at":"2026-05-08T16:27:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jR4dh3y/opencode-go-usage","commit_stats":null,"previous_names":["jr4dh3y/opencode-go-usage"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jR4dh3y/opencode-go-usage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jR4dh3y%2Fopencode-go-usage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jR4dh3y%2Fopencode-go-usage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jR4dh3y%2Fopencode-go-usage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jR4dh3y%2Fopencode-go-usage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jR4dh3y","download_url":"https://codeload.github.com/jR4dh3y/opencode-go-usage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jR4dh3y%2Fopencode-go-usage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34603628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"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":["bash","cli","opencode","usage-tracker"],"created_at":"2026-06-21T09:02:30.312Z","updated_at":"2026-06-21T09:02:31.586Z","avatar_url":"https://github.com/jR4dh3y.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCode Go Usage Tracker\n\nA minimalistic, standalone bash script to track your OpenCode Go subscription usage per API key. Easily see how much of your $60/month inference allowance has been used, and who used it.\n\n![Usage Report Screenshot](screenshot.png)\n\n## Prerequisites\n\nMake sure you have the following command-line tools installed on your system:\n- `bash` (Unix shell)\n- `curl` (for fetching usage data from the OpenCode API)\n- `jq` (for reading local JSON configuration files)\n- `node` (for safely parsing OpenCode's custom Javascript payload streams)\n\n## Quick Start\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/YOUR_USERNAME/opencode-go-usage.git\n   cd opencode-go-usage\n   chmod +x go-usage.sh\n   ```\n\n2. **Login and Setup:**\n   Run the login command:\n   ```bash\n   ./go-usage.sh login\n   ```\n   Follow the on-screen prompts to manually paste your `auth` cookie and workspace ID from your browser's Developer Tools.\n\n3. **View your Report:**\n   Once configured, you can simply run:\n   ```bash\n   ./go-usage.sh report\n   ```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjr4dh3y%2Fopencode-go-usage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjr4dh3y%2Fopencode-go-usage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjr4dh3y%2Fopencode-go-usage/lists"}