{"id":13367724,"url":"https://github.com/oleander/git-fame-rb","last_synced_at":"2025-05-14T11:10:04.167Z","repository":{"id":3367205,"uuid":"4413706","full_name":"oleander/git-fame-rb","owner":"oleander","description":"A command-line tool that helps you summarize and pretty-print collaborators based on contributions","archived":false,"fork":false,"pushed_at":"2025-02-03T17:04:24.000Z","size":739,"stargazers_count":963,"open_issues_count":33,"forks_count":72,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-11T04:54:52.577Z","etag":null,"topics":["code-statistics","command-line-tool","contributor-analysis","git"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/oleander.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":"2012-05-22T23:04:49.000Z","updated_at":"2025-04-10T12:05:38.000Z","dependencies_parsed_at":"2024-02-01T00:27:50.062Z","dependency_job_id":"62d7d0e6-9fee-460e-bf59-0315baaf2f4d","html_url":"https://github.com/oleander/git-fame-rb","commit_stats":{"total_commits":271,"total_committers":18,"mean_commits":"15.055555555555555","dds":"0.30996309963099633","last_synced_commit":"9b3add290f57d8c197decc25c64d5191e57d3289"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fgit-fame-rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fgit-fame-rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fgit-fame-rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fgit-fame-rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleander","download_url":"https://codeload.github.com/oleander/git-fame-rb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129489,"owners_count":22019628,"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","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":["code-statistics","command-line-tool","contributor-analysis","git"],"created_at":"2024-07-30T00:02:04.625Z","updated_at":"2025-05-14T11:10:04.109Z","avatar_url":"https://github.com/oleander.png","language":"Ruby","funding_links":[],"categories":["Linux","Ruby","GitHub","Awesome Ruby CLIs"],"sub_categories":["JavaScript","Workflow"],"readme":"# git-fame [![git-fame](https://github.com/oleander/git-fame-rb/actions/workflows/main.yml/badge.svg)](https://github.com/oleander/git-fame-rb/actions/workflows/main.yml) [![Gem](https://img.shields.io/gem/v/git_fame)](https://rubygems.org/gems/git_fame) [![Test Coverage](https://api.codeclimate.com/v1/badges/2a0fd846e3a7482679ac/test_coverage)](https://codeclimate.com/github/oleander/git-fame-rb/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/2a0fd846e3a7482679ac/maintainability)](https://codeclimate.com/github/oleander/git-fame-rb/maintainability)\n\n![git-fame](resources/example.png)\n\n`git-fame` is a command-line tool that helps you summarize and pretty-print collaborators, based on the number of contributions.\n\nThe statistics are mostly based on the output of `git blame` on the current branch.\n`git fame` counts the total number of current lines of code (and files) that were last touched by each author, and prints out these totals, along with the number of commits per author, as a sorted table.\n\n## Installation\n\n`gem install git_fame`\n\n## Usage\n\n``` shell\nUsage: git fame [OPTIONS] [PATH]\n\nGitFame is a tool to generate a contributor list from git history\n\nArguments:\n  PATH  Path or sub path to the git repository\n\nOptions:\n  -A, --after [DATE]       Only changes made after this date\n  -B, --before [DATE]      Only changes made before this date\n      --branch [NAME]      Branch to be used as starting point (default\n                           \"HEAD\")\n  -E, --exclude [GLOB]     Exclude files matching the given glob pattern\n  -e, --extensions [EXT]   File extensions to be included starting with a\n                           period\n  -h, --help               Print usage\n  -I, --include [GLOB]     Include files matching the given glob pattern\n      --log-level [LEVEL]  Log level (permitted: debug,info,warn,error,fatal)\n\nExamples:\n  Include commits made since 2010\n  git fame --after 2010-01-01\n\n  Include commits made before 2015\n  git fame --before 2015-01-01\n\n  Include commits made since 2010 and before 2015\n  git fame --after 2010-01-01 --before 2015-01-01\n\n  Only changes made to the main branch\n  git fame --branch main\n\n  Only ruby and javascript files\n  git fame --extensions .rb .js\n\n  Exclude spec files and the README\n  git fame --exclude */**/*_spec.rb README.md\n\n  Only spec files and markdown files\n  git fame --include */**/*_spec.rb */**/*.md\n\n  A parent directory of the current directory\n  git fame ../other/git/repo\n```\n\n## Development\n\n1. `git clone https://github.com/oleander/git-fame-rb.git`\n2. `docker build -t git-fame -f .devcontainer/Dockerfile .`\n3. `docker run -it -v $(pwd):/workspace git-fame bundle exec rspec`\n\nHave a look at `.devcontainer/Dockerfile` and `.github/workflows/main.yml` for more information.\n\n## New release\n\n1. Update version in `lib/git_fame/version.rb`\n2. `bundle exec rake release`\n3. Done!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleander%2Fgit-fame-rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleander%2Fgit-fame-rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleander%2Fgit-fame-rb/lists"}