{"id":16767456,"url":"https://github.com/mfridman/bestgo","last_synced_at":"2025-04-10T19:13:23.289Z","repository":{"id":57645457,"uuid":"396181694","full_name":"mfridman/bestgo","owner":"mfridman","description":"CLI to output stargazer ⭐️ histogram for a GitHub repository","archived":false,"fork":false,"pushed_at":"2025-01-07T14:19:20.000Z","size":83,"stargazers_count":11,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T15:53:36.483Z","etag":null,"topics":["cli","go","golang","stars"],"latest_commit_sha":null,"homepage":"https://bestofgo.dev","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/mfridman.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":"2021-08-15T01:35:02.000Z","updated_at":"2025-02-01T18:58:12.000Z","dependencies_parsed_at":"2024-03-29T00:20:50.987Z","dependency_job_id":"8ea8a596-c2b3-49ab-92f6-f8ae7fd15e08","html_url":"https://github.com/mfridman/bestgo","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfridman%2Fbestgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfridman%2Fbestgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfridman%2Fbestgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfridman%2Fbestgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfridman","download_url":"https://codeload.github.com/mfridman/bestgo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248280190,"owners_count":21077412,"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":["cli","go","golang","stars"],"created_at":"2024-10-13T06:09:12.319Z","updated_at":"2025-04-10T19:13:23.264Z","avatar_url":"https://github.com/mfridman.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bestgo\n\n`bestgo` is a CLI that fetches aggregated star counts from the Best of Go API — a website that\nregularly tracks GitHub stars, refreshing every hour for repositories with 50 stars or more ⭐️.\n\nThe Best of Go API is implemented with [Connect](https://connectrpc.com/), an RPC framework that\nallows you to build APIs with Protobuf. The definitions are published to Buf Schema Registry:\n\nhttps://buf.build/mf192/bestofgo/docs/main:api\n\n## Usage\n\n```bash\ngo install github.com/mfridman/bestgo@latest\n```\n\n```\nUsage of bestgo:\n  -i string\n        grouping interval. Supported: year, quarter, month, day (default \"year\")\n  -repo string\n        full repository name. Example: pressly/goose (mandatory)\n```\n\nExample:\n\n```bash\n$ bestgo -repo golang/go -i year\n2014 [4360] |■■■■■■■■\n2015 [7275] |■■■■■■■■■■■■■■\n2016 [8944] |■■■■■■■■■■■■■■■■■\n2017 [11910]|■■■■■■■■■■■■■■■■■■■■■■\n2018 [14851]|■■■■■■■■■■■■■■■■■■■■■■■■■■■■\n2019 [15944]|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■\n2020 [13464]|■■■■■■■■■■■■■■■■■■■■■■■■■\n2021 [14115]|■■■■■■■■■■■■■■■■■■■■■■■■■■■\n2022 [14596]|■■■■■■■■■■■■■■■■■■■■■■■■■■■\n2023 [10973]|■■■■■■■■■■■■■■■■■■■■■\n\nRepository: golang/go has 116432 ⭐️ stars total\n```\n\n### Bonus\n\nSince the API is implemented with an RPC framework and the Protobuf definitions are published to\n[Buf Schema Registry](https://buf.build), **anyone can pull an SDK client and just start using it.**\n\nHuh?! Don't I need to pull the Protobuf files, install plugins and generate the stubs locally?\n\n**Nope!**\n\nThe Buf Schema Registry implements a Go module proxy that exposes Generated SDKs.\n\nThis is really cool because you can now pull an SDK client for any supported language and start\nusing it without having to install any plugins or generate code locally. This is all done for you by\nthe Buf Schema Registry.\n\nWith just 2 commands:\n\n```bash\ngo get buf.build/gen/go/mf192/bestofgo/protocolbuffers/go\ngo get buf.build/gen/go/mf192/bestofgo/connectrpc/go\n```\n\nWe can now import the SDK client and start using it:\n\n```go\nimport (\n      \"buf.build/gen/go/mf192/bestofgo/connectrpc/go/api/apiconnect\"\n      \"buf.build/gen/go/mf192/bestofgo/protocolbuffers/go/api\"\n      \"buf.build/gen/go/mf192/bestofgo/protocolbuffers/go/datapb\"\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfridman%2Fbestgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfridman%2Fbestgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfridman%2Fbestgo/lists"}