{"id":14069510,"url":"https://github.com/aaossa/git-activity","last_synced_at":"2025-07-30T05:32:26.421Z","repository":{"id":37043936,"uuid":"491334005","full_name":"aaossa/git-activity","owner":"aaossa","description":"Display an activity graph (like the contribution graph on GitHub) for the  current git repository and branch","archived":false,"fork":false,"pushed_at":"2022-06-30T14:39:08.000Z","size":11,"stargazers_count":149,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-12-04T10:39:48.821Z","etag":null,"topics":["bash-script","git"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/aaossa.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}},"created_at":"2022-05-12T02:12:19.000Z","updated_at":"2024-10-04T19:30:39.000Z","dependencies_parsed_at":"2022-08-18T00:50:34.087Z","dependency_job_id":null,"html_url":"https://github.com/aaossa/git-activity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaossa/git-activity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaossa%2Fgit-activity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaossa%2Fgit-activity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaossa%2Fgit-activity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaossa%2Fgit-activity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaossa","download_url":"https://codeload.github.com/aaossa/git-activity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaossa%2Fgit-activity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815187,"owners_count":24148356,"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-07-30T02:00:09.044Z","response_time":70,"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-script","git"],"created_at":"2024-08-13T07:07:00.524Z","updated_at":"2025-07-30T05:32:25.391Z","avatar_url":"https://github.com/aaossa.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# git-activity\n\nA custom git command to display an activity graph (like the contribution graph on GitHub) for the current git repository and branch. To add this custom git command to git, just place the file in a folder that's in your path (a.k.a `PATH`). You can [setup `git-activity` as custom command](https://github.com/aaossa/git-activity/wiki/Setup-'git-activity'-as-custom-command).\n\n### Usage\n\n```bash\n# Display activity for this branch\n$ git activity -h\nUsage: git-activity [-h] [-n] [-s style]\n\nDisplay an activity graph (like the contribution graph on GitHub) for the\ncurrent git repository and branch\n\nAvailable options:\n\n-h, --help      Print this help and exit\n-n, --no-space  Remove spaces between week columns\n-s, --style     Sets style of the graph: square (default), block, or plus\n```\n\nThe output of the command displays a colored graph similar to the one that you can find in any GitHub profile webpage:\n\n```bash\n# And... a sample output (of course, does not contain colors)\n$ git activity\n        Jun     Jul     Aug       Sep     Oct     Nov       Dec     Jan       Feb     Mar     Apr     May     \n    ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ \nMon ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■\n    ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ \nWed ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ \n    ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■\nFri ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■\n    ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■\n\n Less ■ ■ ■ ■ ■ More\n```\n\n![image](https://user-images.githubusercontent.com/10425834/170083409-9ac54a18-8de5-4a7d-8338-375d285e5547.png)\n\nThere are also a couple of different styles available (square, block, and plus), and spacing between columns can be disabled:\n\n```bash\n# Another example to highlay some of the available options\n$ git activity --no-space --style block\n      Jun Jul Aug  Sep Oct Nov  Dec Jan  Feb Mar Apr May \n    █████████████████████████████████████████████████████\nMon █████████████████████████████████████████████████████\n    █████████████████████████████████████████████████████\nWed ████████████████████████████████████████████████████\n    ████████████████████████████████████████████████████\nFri ████████████████████████████████████████████████████\n    ████████████████████████████████████████████████████\n\n Less █ █ █ █ █ More\n```\n\n![image](https://user-images.githubusercontent.com/10425834/170083883-6145a11f-b6d8-490e-a751-45c2d6552698.png)\n\n### Run On Mac\n\nYou need to install `coreutils`. If you have brew available, you can execute the command `brew install coreutils`.\n\n### License\n\nThis software is released under the [MIT License](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaossa%2Fgit-activity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaossa%2Fgit-activity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaossa%2Fgit-activity/lists"}