{"id":18208988,"url":"https://github.com/falkern/git_analytics","last_synced_at":"2026-02-07T06:02:30.537Z","repository":{"id":259059351,"uuid":"876220755","full_name":"Falkern/git_analytics","owner":"Falkern","description":"This CLI tool fetches and displays analytics for a GitHub user's repositories using the GitHub API. It collects data such as star counts, fork counts, and open issues.","archived":false,"fork":false,"pushed_at":"2024-10-21T15:48:22.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T08:48:26.118Z","etag":null,"topics":["analytics","cli","github","github-analytics","github-api","open-source","repository","ruby","tools"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Falkern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-10-21T15:44:31.000Z","updated_at":"2024-10-21T15:50:20.000Z","dependencies_parsed_at":"2024-10-22T23:07:04.312Z","dependency_job_id":null,"html_url":"https://github.com/Falkern/git_analytics","commit_stats":null,"previous_names":["falkern/github_cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Falkern%2Fgit_analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Falkern%2Fgit_analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Falkern%2Fgit_analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Falkern%2Fgit_analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Falkern","download_url":"https://codeload.github.com/Falkern/git_analytics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198846,"owners_count":21063626,"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":["analytics","cli","github","github-analytics","github-api","open-source","repository","ruby","tools"],"created_at":"2024-11-03T14:03:38.289Z","updated_at":"2026-02-07T06:02:30.474Z","avatar_url":"https://github.com/Falkern.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Analytics CLI\n\nThis is a simple command-line interface (CLI) tool to fetch and display analytics for a GitHub user's repositories. It uses the GitHub API to gather data about repositories, including star counts, fork counts, and open issues.\n\n## Features\n\n- Fetch all repositories for a specified GitHub user.\n- Display the number of stars, forks, and open issues for each repository.\n- Display summary statistics for all repositories.\n\n## Prerequisites\n\n- Ruby installed on your system.\n- A GitHub personal access token with the necessary permissions.\n- The `httparty` and `dotenv` gems.\n\n## Installation\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/Falkern/git_analytics.git\n   cd git_analytics\n   ```\n\n2. Install the required gems:\n\n   ```sh\n   bundle install\n   ```\n\n3. Create a `.env` file in the root directory and add your GitHub username and token:\n   ```sh\n   GITHUB_USERNAME=your_github_username\n   GITHUB_TOKEN=your_github_token\n   ```\n\n## Usage\n\nRun the script with the desired options:\n\n```sh\nruby app.rb [options]\n```\n\n### Options\n\n- `--stars`: Show star counts (default: true)\n- `--forks`: Show fork counts (default: true)\n- `--issues`: Show open issues count (default: true)\n- `--help`: Displays the help message\n\n### Example\n\n```sh\nruby app.rb --stars --forks --issues\n```\n\nThis will display the star counts, fork counts, and open issues for each repository of the specified GitHub user, along with summary statistics.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalkern%2Fgit_analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalkern%2Fgit_analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalkern%2Fgit_analytics/lists"}