{"id":17338843,"url":"https://github.com/tmiddlet2666/ghstats","last_synced_at":"2026-04-19T03:01:45.874Z","repository":{"id":65695722,"uuid":"441081692","full_name":"tmiddlet2666/ghstats","owner":"tmiddlet2666","description":"A command line tool to display download and repository metrics for GitHub repositories.","archived":false,"fork":false,"pushed_at":"2023-02-03T07:15:09.000Z","size":108,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T01:27:25.481Z","etag":null,"topics":["cli","github","statistics","stats"],"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/tmiddlet2666.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":"2021-12-23T06:14:36.000Z","updated_at":"2023-02-03T07:24:51.000Z","dependencies_parsed_at":"2023-02-18T04:31:06.895Z","dependency_job_id":null,"html_url":"https://github.com/tmiddlet2666/ghstats","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tmiddlet2666/ghstats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiddlet2666%2Fghstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiddlet2666%2Fghstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiddlet2666%2Fghstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiddlet2666%2Fghstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmiddlet2666","download_url":"https://codeload.github.com/tmiddlet2666/ghstats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiddlet2666%2Fghstats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31992822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","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":["cli","github","statistics","stats"],"created_at":"2024-10-15T15:39:54.389Z","updated_at":"2026-04-19T03:01:45.469Z","avatar_url":"https://github.com/tmiddlet2666.png","language":"Go","readme":"# GHSTATS\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/tmiddlet2666/ghstats)](https://goreportcard.com/report/github.com/tmiddlet2666/ghstats)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/tmiddlet2666/ghstats)\n\n## Overview\n\nA command line tool to display download and repository metrics for GitHub repositories.\n\n* [Usage](#usage)\n* [Installing](#installing)\n* [Building](#building)\n\n\n## Usage\n\n### Help\n\n```bash\n$ ghstats get --help\nThe 'get' command displays one or more resources.\n\nUsage:\n  ghstats get [command]\n\nAvailable Commands:\n  downloads   Display the downloads for assets for a user and repository\n  releases    Display the releases for a user and repository\n  repo        Display the repository details for a user and repository\n\nFlags:\n  -h, --help   help for get\n\nGlobal Flags:\n  -r, --repository string   GitHub repository\n  -u, --username string     GitHub username\n\nUse \"ghstats get [command] --help\" for more information about a command.\n```\n\n\n### 1. Get repository details\n\n```bash\n$ ghstats -u oracle -r coherence-visualvm get repo\n\nRepository URL: https://github.com/oracle/coherence-visualvm\nName:           coherence-visualvm\nFull Name:      oracle/coherence-visualvm\nDescription:    The Coherence-VisualVM Plugin provides management and monitoring of a single Coherence cluster using the VisualVM management utility.\nLanguage:       Java\nStars:          5\nSubscribers:    5\nForks:          1\n```\n\n### 2. Get all releases\n\n```bash\n$ ghstats -u oracle -r coherence-visualvm get releases\n\nRepository: https://github.com/oracle/coherence-visualvm\nTAG    Name                             Pre-release?  Published                 Assets   Downloads  \n1.2.0  Coherence VisualVM Plugin 1.2.0  false         2021-12-21T01:16:16Z           1         231  \n1.1.0  Coherence VisualVM Plugin 1.1.0  false         2021-07-13T07:12:09Z           1       1,792  \n1.0.1  Coherence VisualVM Plugin 1.0.1  false         2021-03-26T03:04:54Z           1       1,005  \n1.0.0  Coherence VisualVM Plugin 1.0.0  false         2020-12-03T04:27:34Z           1       1,256  \n                                                                                        ----------  \n                                                                            TOTAL            4,284 \n```\n\n### 3. Getting all downloads\n\n```bash\n$ ghstats -u oracle -r coherence-operator  get downloads\n\nRepository: https://github.com/oracle/coherence-operator\nTAG     Name                                       Created                       Size   Downloads  \nv3.2.4  coherence-dashboards.tar.gz                2021-09-30T17:53:54Z       49.21KB           3  \n        coherence-operator-manifests.tar.gz        2021-09-30T17:53:54Z       84.39KB           2  \n        coherence-operator.yaml                    2021-09-30T17:53:54Z        7.89KB          87  \n        coherence.oracle.com_coherence.yaml        2021-09-30T17:53:54Z      605.61KB           2  \nv3.2.3  coherence-dashboards.tar.gz                2021-09-24T13:42:30Z       49.21KB           4  \n        coherence-operator-manifests.tar.gz        2021-09-24T13:42:30Z       85.28KB           4  \n        coherence-operator.yaml                    2021-09-24T13:42:30Z        7.89KB           5  \n        coherence.oracle.com_coherence.yaml        2021-09-24T13:42:30Z      607.81KB           1  \nv3.2.2  coherence-dashboards.tar.gz                2021-09-03T09:48:55Z       49.19KB           1  \n        coherence-operator-manifests.tar.gz        2021-09-03T09:48:55Z       99.89KB           7  \n        coherence-operator.yaml                    2021-09-03T09:48:55Z        7.92KB          41  \n        coherence.oracle.com_coherence.yaml        2021-09-03T09:48:55Z      745.30KB           3  \nv3.2.1  coherence-operator-manifests.tar.gz        2021-07-27T13:31:35Z       98.33KB           1  \n        coherence-operator.yaml                    2021-07-27T13:31:35Z        7.96KB          24  \n        coherence.oracle.com_coherence.yaml        2021-07-27T13:31:35Z      737.07KB           2  \nv3.2.0  coherence-operator-manifests.tar.gz        2021-07-01T13:03:11Z       98.36KB           3  \n        coherence-operator.yaml                    2021-07-01T13:03:11Z        8.06KB          29  \nv3.1.5  coherence-operator-manifests.tar           2021-04-09T09:03:11Z        1.29MB           5  \n        coherence-operator.yaml                    2021-04-09T09:03:11Z        6.16KB          71  \nv3.1.4  coherence-operator-manifests.tar.gz        2021-03-04T21:40:14Z      160.97KB          13  \n        coherence-operator.yaml                    2021-03-04T21:40:14Z        5.44KB          27  \nv3.1.3  coherence-operator-manifests-3.1.3.tar.gz  2021-01-28T12:53:08Z        1.85KB           3  \nv3.1.1  coherence-operator-manifests-3.1.1.tar.gz  2020-10-13T07:59:53Z        1.85KB          10  \nv3.1.0  coherence-operator-manifests-3.1.0.tar.gz  2020-09-28T09:33:52Z        1.85KB           3  \nv3.0.0  converter-darwin-amd64                     2020-06-22T17:08:43Z       36.89MB           7  \n        converter-linux-amd64                      2020-06-22T17:08:43Z       37.23MB           6  \n        converter-windows-amd64                    2020-06-22T17:08:43Z       36.64MB           4  \n                                                                                       ----------  \n                                                                         TOTAL                368 \n```\n\n### 4. Getting all downloads for a specific tag\n\n```bash\n$ ghstats -u oracle -r coherence-operator -t v3.2.4 get downloads \n\nRepository: https://github.com/oracle/coherence-operator\nTAG     Name                                 Created                       Size   Downloads  \nv3.2.4  coherence-dashboards.tar.gz          2021-09-30T17:53:54Z       49.21KB           3  \n        coherence-operator-manifests.tar.gz  2021-09-30T17:53:54Z       84.39KB           2  \n        coherence-operator.yaml              2021-09-30T17:53:54Z        7.89KB          85  \n        coherence.oracle.com_coherence.yaml  2021-09-30T17:53:54Z      605.61KB           2  \n                                                                                 ----------  \n                                                                   TOTAL                 92  \n```\n\n### 5. Getting downloads for a repository for a specific file\n\n```bash\n$ ghstats -u oracle -r coherence-operator -f coherence-operator.yaml get downloads\n\nRepository: https://github.com/oracle/coherence-operator\nTAG     Name                     Created                       Size   Downloads  \nv3.2.4  coherence-operator.yaml  2021-09-30T17:53:54Z        7.89KB          85  \nv3.2.3  coherence-operator.yaml  2021-09-24T13:42:30Z        7.89KB           5  \nv3.2.2  coherence-operator.yaml  2021-09-03T09:48:55Z        7.92KB          41  \nv3.2.1  coherence-operator.yaml  2021-07-27T13:31:35Z        7.96KB          24  \nv3.2.0  coherence-operator.yaml  2021-07-01T13:03:11Z        8.06KB          29  \nv3.1.5  coherence-operator.yaml  2021-04-09T09:03:11Z        6.16KB          71  \nv3.1.4  coherence-operator.yaml  2021-03-04T21:40:14Z        5.44KB          27  \n                                                                     ----------  \n                                                       TOTAL                282  \n```\n\n\n## Installing\n\nDownload any release directly from https://github.com/tmiddlet2666/ghstats/releases.\n\n## Mac AMD\n\n```bash\ncurl -Lo ghstats \"https://github.com/tmiddlet2666/ghstats/releases/download/0.9.0/ghstats-0.9.0-darwin-amd64\"\nchmod u+x ./ghstats\n```\n\n## Mac ARM\n\n```bash\ncurl -Lo ghstats \"https://github.com/tmiddlet2666/ghstats/releases/download/0.9.0/ghstats-0.9.0-darwin-arm64\"\nchmod u+x ./ghstats\n```\n\n\u003e Note: For Mac downloads open Finder and locate the `ghstats` executable, right-click and choose `open`. You \n\u003e will be warned you are opening a file from an unknown developer, confirm this and you will be able to run on command line with no warndings.\n\n### Windows AMD\n\n```cmd\ncurl -Lo ghstats.exe \"https://github.com/tmiddlet2666/ghstats/releases/download/0.9.0/ghstats-0.9.0-windows-amd64.exe\"\n```\n\n### Windows ARM\n\n```cmd\ncurl -Lo ghstats.exe \"https://github.com/tmiddlet2666/ghstats/releases/download/0.9.0/ghstats-0.9.0-windows-arm.exe\"\n```\n\n### Linux AMD\n\n```bash\ncurl -Lo ghstats \"https://github.com/tmiddlet2666/ghstats/releases/download/0.9.0/ghstats-0.9.0-linux-amd64\"\nchmod u+x ./ghstats\n```\n\n### Linux ARM\n\n```bash\ncurl -Lo ghstats \"https://github.com/tmiddlet2666/ghstats/releases/download/0.9.0/ghstats-0.9.0-linux-arm64\"\nchmod u+x ./ghstats\n```\n\n\n## Building\n\n```bash\nmake ghstats\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmiddlet2666%2Fghstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmiddlet2666%2Fghstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmiddlet2666%2Fghstats/lists"}