{"id":32807107,"url":"https://github.com/tueduong05/trexanh","last_synced_at":"2026-05-09T20:12:02.300Z","repository":{"id":321141609,"uuid":"1083573259","full_name":"tueduong05/trexanh","owner":"tueduong05","description":"GitHub Contribution Graph TUI","archived":false,"fork":false,"pushed_at":"2025-10-28T01:07:27.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-28T03:09:40.691Z","etag":null,"topics":["contribution-graph","github","ratatui","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/tueduong05.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":"2025-10-26T09:57:25.000Z","updated_at":"2025-10-28T01:07:30.000Z","dependencies_parsed_at":"2025-10-28T03:09:42.920Z","dependency_job_id":"f8752514-8050-4ea8-8bd9-c8a33e3a5e04","html_url":"https://github.com/tueduong05/trexanh","commit_stats":null,"previous_names":["tueduong05/trexanh"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tueduong05/trexanh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueduong05%2Ftrexanh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueduong05%2Ftrexanh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueduong05%2Ftrexanh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueduong05%2Ftrexanh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tueduong05","download_url":"https://codeload.github.com/tueduong05/trexanh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueduong05%2Ftrexanh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283027924,"owners_count":26767085,"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-11-06T02:00:06.180Z","response_time":55,"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":["contribution-graph","github","ratatui","rust"],"created_at":"2025-11-06T15:01:18.600Z","updated_at":"2026-05-09T20:12:02.293Z","avatar_url":"https://github.com/tueduong05.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trexanh\n\n\u003e trexanh is a GitHub contribution graph TUI, written in 🦀 Rust :))\n\n\u003cimg src=\"assets/demo.jpg\"\u003e\n\n## Installation \u0026 Usage\n\n### 1. Download the binary\n\nDownload the latest release of `trexanh` for your platform\n\n### 2. Make it executable\n\n```bash\nchmod +x trexanh\n```\n\n### 3. Get a GitHub fine-grained personal access token\n\n1. Go to [GitHub Settings \u003e Developer settings \u003e Personal access tokens \u003e Fine-grained tokens]\n2. Click \"Generate new token\"\n3. Give your token a name and set an expiration date\n4. Under \"Repository access\", select **Public repositories**\n5. Click \"Generate token\" and copy it\n\n### 4. Run\n\n#### Basic usage\n\n```bash\n./trexanh\n```\nand input your GitHub username and token\n\n#### With flags\n\n```bash\n./trexanh --cached\n```\nthis flag will instantly display the cached contributions while fetching new data for the next run in the background\n\n```bash\n./trexanh --width \u003cCOLUMNS\u003e\n```\nthis flag will let you set custom width for single mode (Minimum: 30)\n\n```bash\n./trexanh --watch \u003cSECONDS\u003e\n```\nthis flag will continuously fetch and update contributions (**DO NOT** use very short intervals to avoid hammering the GitHub API)\n\n```bash\n./trexanh --reset\n```\nthis flag will prompt you to update your stored username and token\n\n\u003e You can optionally input a different username to see their contributions\n\n## Roadmap\n\n- [x] Add argument to get other username's contribution graph\n- [x] Add async cache with background fetch (fork) to display cached data instantly and refresh in the background (cached mode)\n- [x] Add watch mode to refresh graph at intervals\n- [x] Add TUI for username and token input\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueduong05%2Ftrexanh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftueduong05%2Ftrexanh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueduong05%2Ftrexanh/lists"}