{"id":30522978,"url":"https://github.com/tolluset/statusline","last_synced_at":"2026-04-18T12:03:35.315Z","repository":{"id":310726374,"uuid":"1040996164","full_name":"tolluset/statusline","owner":"tolluset","description":"Enhanced statusline for Claude Code with Git status, GitHub notifications, and smart path display.","archived":false,"fork":false,"pushed_at":"2025-08-19T21:03:23.000Z","size":41,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-31T06:35:45.793Z","etag":null,"topics":["claude-code","statusline"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tolluset.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}},"created_at":"2025-08-19T20:27:13.000Z","updated_at":"2026-01-17T22:22:15.000Z","dependencies_parsed_at":"2025-08-19T22:25:08.919Z","dependency_job_id":"cf2ec5ee-b72f-4e0d-9375-a030e89c99e3","html_url":"https://github.com/tolluset/statusline","commit_stats":null,"previous_names":["tolluset/statusline"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tolluset/statusline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolluset%2Fstatusline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolluset%2Fstatusline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolluset%2Fstatusline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolluset%2Fstatusline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tolluset","download_url":"https://codeload.github.com/tolluset/statusline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolluset%2Fstatusline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31967993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["claude-code","statusline"],"created_at":"2025-08-26T19:44:01.763Z","updated_at":"2026-04-18T12:03:35.297Z","avatar_url":"https://github.com/tolluset.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude Code git Statusline\n\nEnhanced statusline for [Claude Code](https://claude.ai/code) with Git status, GitHub notifications, and smart path display.\n\n## Examples\n\n![Example Screenshot](.github/example.png)\n\n**Format**: `[branch] [staged] [unstaged] [path]` (+ optional GitHub notifications)\n\n```bash\n~/project                                        # Clean, no git repo\nmain ~/project                                   # Clean, no changes\nmain ~1(1f+189-16) ~1(1f+242) ~/project          # Detailed git stats\nmain ~1(1f+189-16) ~1(1f+242) 🔔3 ~/project      # + GitHub notifications (optional)\n```\n\n## Installation\n\n**Required**: Go 1.25+\n\n1. **Place the file**\n\n   ```bash\n   cp statusline.go ~/.claude/\n   ```\n\n2. **Configure Claude Code** (edit `~/.claude/settings.json`)\n\n   ```json\n   {\n     \"statusLine\": {\n       \"type\": \"command\",\n       \"command\": \"go run ~/.claude/statusline.go\"\n     }\n   }\n   ```\n\n## GitHub Integration (Optional)\n\n1. **Create token**: [GitHub Settings](https://github.com/settings/tokens) → Generate → Select `notifications`\n\n2. **Create `~/.claude/.env` file**:\n\n   ```bash\n   # ~/.claude/.env\n   GITHUB_TOKEN=ghp_your_token_here\n   SHOW_GITHUB_NOTIFICATIONS=true\n   ```\n\n## Format\n\n| Symbol     | Meaning                     |\n| ---------- | --------------------------- |\n| `+N`       | N added files               |\n| `~N`       | N modified files            |\n| `-N`       | N deleted files             |\n| `(NfM+L-)` | N files, M+ lines, L- lines |\n| `🔔N`      | N GitHub notifications      |\n\n## Cache\n\nGitHub API calls cached in `~/.statusline_cache` for 5 minutes:\n\n```json\n{\n  \"timestamp\": \"2025-08-20T05:08:17+09:00\",\n  \"key\": \"github_notifications\",\n  \"content\": \"1\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftolluset%2Fstatusline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftolluset%2Fstatusline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftolluset%2Fstatusline/lists"}