{"id":51445057,"url":"https://github.com/raphaelbleier/ccusage-panel","last_synced_at":"2026-07-05T15:30:31.287Z","repository":{"id":369322772,"uuid":"1289362180","full_name":"raphaelbleier/ccusage-panel","owner":"raphaelbleier","description":"GNOME Shell top bar indicator for Claude Code and Codex usage powered by ccusage","archived":false,"fork":false,"pushed_at":"2026-07-04T17:04:10.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-04T18:12:43.178Z","etag":null,"topics":["ccusage","claude-code","codex","gnome-shell","gnome-shell-extension"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphaelbleier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-04T16:46:37.000Z","updated_at":"2026-07-04T17:04:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/raphaelbleier/ccusage-panel","commit_stats":null,"previous_names":["raphaelbleier/ccusage-panel"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/raphaelbleier/ccusage-panel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbleier%2Fccusage-panel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbleier%2Fccusage-panel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbleier%2Fccusage-panel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbleier%2Fccusage-panel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphaelbleier","download_url":"https://codeload.github.com/raphaelbleier/ccusage-panel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbleier%2Fccusage-panel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35160046,"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-07-05T02:00:06.290Z","response_time":100,"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":["ccusage","claude-code","codex","gnome-shell","gnome-shell-extension"],"created_at":"2026-07-05T15:30:30.712Z","updated_at":"2026-07-05T15:30:31.283Z","avatar_url":"https://github.com/raphaelbleier.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ccusage Panel\n\nGNOME Shell top bar indicator for Claude Code and Codex usage, powered by [`ccusage`](https://www.npmjs.com/package/ccusage).\n\nIt shows a compact top bar label such as `AI $12.34` and a dropdown with today's Claude/Codex usage, Claude billing-block reset time when `ccusage` exposes it, weekly total, monthly total, last refresh time, a manual refresh action, and error details when `ccusage` cannot return usable data.\n\n## Requirements\n\n- GNOME Shell 45 or newer\n- Linux desktop session with GNOME Shell extensions enabled\n- Node.js, npm, and npx\n- `ccusage` data from Claude Code and/or Codex\n\nNo Electron app, background daemon, API key prompt, or long-running service is used. The extension calls:\n\n```sh\nnpx -y ccusage@latest claude daily --json\nnpx -y ccusage@latest codex daily --json\nnpx -y ccusage@latest weekly --json\nnpx -y ccusage@latest monthly --json\nnpx -y ccusage@latest claude blocks --json\n```\n\nEach command is run asynchronously through `Gio.Subprocess` with a 15 second timeout, so GNOME Shell should not freeze.\n\n## Install\n\nClone the repository and run:\n\n```sh\n./install.sh\n```\n\nThen enable the extension:\n\n```sh\ngnome-extensions enable ccusage-panel@raphael.local\n```\n\nIf GNOME does not see it immediately:\n\n- X11: press `Alt+F2`, type `r`, press Enter\n- Wayland: log out and log back in\n\n## Manual Install\n\n```sh\nEXT_DIR=\"$HOME/.local/share/gnome-shell/extensions/ccusage-panel@raphael.local\"\nmkdir -p \"$EXT_DIR\"\ncp metadata.json extension.js ccusage-panel-helper.sh README.md \"$EXT_DIR/\"\ncp stylesheet.css \"$EXT_DIR/\"\nchmod +x \"$EXT_DIR/ccusage-panel-helper.sh\"\ngnome-extensions enable ccusage-panel@raphael.local\n```\n\n## Debugging\n\n```sh\ngnome-extensions list | grep ccusage\ngnome-extensions info ccusage-panel@raphael.local\njournalctl /usr/bin/gnome-shell -f\nnpx -y ccusage@latest daily --json\n```\n\nIf the JSON structure returned by `ccusage` cannot be parsed, the extension writes the last raw response to:\n\n```sh\n~/.cache/ccusage-panel/last-raw.json\n```\n\n## Uninstall\n\n```sh\ngnome-extensions disable ccusage-panel@raphael.local\nrm -rf \"$HOME/.local/share/gnome-shell/extensions/ccusage-panel@raphael.local\"\nrm -rf \"$HOME/.cache/ccusage-panel\"\n```\n\nOn Wayland, log out and log back in after uninstalling if the old panel item remains visible until the shell reloads.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelbleier%2Fccusage-panel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphaelbleier%2Fccusage-panel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelbleier%2Fccusage-panel/lists"}