{"id":37095330,"url":"https://github.com/patrickhoefler/ghtop","last_synced_at":"2026-01-14T11:45:05.087Z","repository":{"id":37388062,"uuid":"298358096","full_name":"patrickhoefler/ghtop","owner":"patrickhoefler","description":"List the most starred GitHub repos and count their topics and default branches","archived":true,"fork":false,"pushed_at":"2023-02-11T00:14:56.000Z","size":204,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-20T00:28:16.528Z","etag":null,"topics":["cli","command-line","default-branches","github","go","golang","repositories","topics"],"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/patrickhoefler.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}},"created_at":"2020-09-24T18:09:13.000Z","updated_at":"2023-02-22T05:02:09.000Z","dependencies_parsed_at":"2023-02-16T15:45:33.088Z","dependency_job_id":null,"html_url":"https://github.com/patrickhoefler/ghtop","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/patrickhoefler/ghtop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhoefler%2Fghtop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhoefler%2Fghtop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhoefler%2Fghtop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhoefler%2Fghtop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickhoefler","download_url":"https://codeload.github.com/patrickhoefler/ghtop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhoefler%2Fghtop/sbom","scorecard":{"id":722294,"data":{"date":"2025-08-11","repo":{"name":"github.com/patrickhoefler/ghtop","commit":"dc3dc7e4083dc8d986b32e8033de32960f8b233c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yaml:1","Warn: no topLevel permission defined: .github/workflows/release.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:  10 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   3 third-party GitHubAction dependencies pinned","Info:   1 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.11 not signed: https://api.github.com/repos/patrickhoefler/ghtop/releases/73746845","Warn: release artifact v0.1.10 not signed: https://api.github.com/repos/patrickhoefler/ghtop/releases/64411752","Warn: release artifact v0.1.9 not signed: https://api.github.com/repos/patrickhoefler/ghtop/releases/52873416","Warn: release artifact v0.1.8 not signed: https://api.github.com/repos/patrickhoefler/ghtop/releases/51803142","Warn: release artifact v0.1.7 not signed: https://api.github.com/repos/patrickhoefler/ghtop/releases/48838882","Warn: release artifact v0.1.11 does not have provenance: https://api.github.com/repos/patrickhoefler/ghtop/releases/73746845","Warn: release artifact v0.1.10 does not have provenance: https://api.github.com/repos/patrickhoefler/ghtop/releases/64411752","Warn: release artifact v0.1.9 does not have provenance: https://api.github.com/repos/patrickhoefler/ghtop/releases/52873416","Warn: release artifact v0.1.8 does not have provenance: https://api.github.com/repos/patrickhoefler/ghtop/releases/51803142","Warn: release artifact v0.1.7 does not have provenance: https://api.github.com/repos/patrickhoefler/ghtop/releases/48838882"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T11:43:42.603Z","repository_id":37388062,"created_at":"2025-08-22T11:43:42.603Z","updated_at":"2025-08-22T11:43:42.603Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","command-line","default-branches","github","go","golang","repositories","topics"],"created_at":"2026-01-14T11:45:04.396Z","updated_at":"2026-01-14T11:45:05.083Z","avatar_url":"https://github.com/patrickhoefler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghtop\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/patrickhoefler/ghtop)](https://goreportcard.com/report/github.com/patrickhoefler/ghtop)\n\n`ghtop` lists the most starred GitHub repos and counts their topics and default branches.\n\n## Getting Started\n\n### Docker / [nerdctl](https://github.com/containerd/nerdctl)\n\n```text\ndocker run --rm ghcr.io/patrickhoefler/ghtop\n```\n\n### [Homebrew](https://brew.sh/)\n\n```text\nbrew install patrickhoefler/tap/ghtop\nghtop\n```\n\n### Build from Source\n\n```text\ngo build\n./ghtop\n```\n\n## Example Outputs\n\n```text\n❯ ghtop\nghtop displays information about the most starred GitHub repos.\n\nUsage:\n  ghtop [command]\n\nAvailable Commands:\n  completion      Generate the autocompletion script for the specified shell\n  defaultbranches Ranked list of default branch names based on the most starred repos\n  help            Help about any command\n  repos           Ranked list of the most starred repos\n  topics          Ranked list of topics based on the most starred repos\n\nFlags:\n  -f, --fetch-repos int   Number of repos to fetch, between 1 and 1000 (default 100)\n  -h, --help              help for ghtop\n  -t, --top int           Number of results to display, between 1 and 1000\n\nUse \"ghtop [command] --help\" for more information about a command.\n```\n\n### Repos\n\n```text\n❯ ghtop repos --fetch-repos 10\nRank   Stars    Repo                                     Description\n1      343825   freeCodeCamp/freeCodeCamp                freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.\n2      261722   996icu/996.ICU                           Repo for counting stars and contributing. Press F to pay respect to glorious developers.\n3      230502   EbookFoundation/free-programming-books   :books: Freely available programming books\n4      217074   jwasham/coding-interview-university      A complete computer science study plan to become a software engineer.\n5      196848   sindresorhus/awesome                     😎 Awesome lists about all kinds of interesting topics\n6      194912   vuejs/vue                                🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.\n7      191669   kamranahmedse/developer-roadmap          Roadmap to becoming a developer in 2022\n8      189239   public-apis/public-apis                  A collective list of free APIs\n9      186251   facebook/react                           A declarative, efficient, and flexible JavaScript library for building user interfaces.\n10     172937   donnemartin/system-design-primer         Learn how to design large-scale systems. Prep for the system design interview.  Includes Anki flashcards.\n```\n\n### Topics\n\n```text\n❯ ghtop topics --top 10 --fetch-repos 1000\nRank   Count   Topic\n1      155     javascript\n2      106     hacktoberfest\n3      87      python\n4      66      react\n5      52      go\n6      48      nodejs\n7      47      machine-learning\n8      45      java\n9      44      awesome\n10     42      android\n```\n\n### Default Branches\n\n```text\n❯ ghtop defaultbranches --top 10 --fetch-repos 1000\nRank   Count   Branch Name\n1      692     master\n2      195     main\n3      35      develop\n4      22      dev\n5      7       next\n6      3       devel\n6      3       gh-pages\n6      3       trunk\n6      3       v2\n10     2       3.x\n10     2       9.x\n10     2       canary\n10     2       development\n```\n\n## License\n\n[MIT](https://github.com/patrickhoefler/ghtop/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickhoefler%2Fghtop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickhoefler%2Fghtop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickhoefler%2Fghtop/lists"}