{"id":13509801,"url":"https://github.com/gkze/gh-stars","last_synced_at":"2025-12-30T14:04:40.439Z","repository":{"id":50321287,"uuid":"133700208","full_name":"gkze/gh-stars","owner":"gkze","description":":star: Keep your Github Stars fresh!","archived":false,"fork":false,"pushed_at":"2023-03-06T22:35:04.000Z","size":5892,"stargazers_count":122,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T15:10:47.825Z","etag":null,"topics":["automation","cli","github","go","golang","star","tool"],"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/gkze.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}},"created_at":"2018-05-16T17:15:58.000Z","updated_at":"2024-02-02T17:28:43.000Z","dependencies_parsed_at":"2023-07-14T05:20:04.965Z","dependency_job_id":null,"html_url":"https://github.com/gkze/gh-stars","commit_stats":null,"previous_names":["gkze/stars"],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkze%2Fgh-stars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkze%2Fgh-stars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkze%2Fgh-stars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkze%2Fgh-stars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkze","download_url":"https://codeload.github.com/gkze/gh-stars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246332212,"owners_count":20760440,"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":["automation","cli","github","go","golang","star","tool"],"created_at":"2024-08-01T02:01:13.431Z","updated_at":"2025-12-30T14:04:40.408Z","avatar_url":"https://github.com/gkze.png","language":"Go","funding_links":[],"categories":["Go","cli"],"sub_categories":[],"readme":"# stars\n\n[![Actions Test Workflow Widget]][Actions Test Workflow Status]\n[![GoReport Widget]][GoReport Status]\n[![GoDocWidget]][GoDocReference]\n\n[Actions Test Workflow Status]: https://github.com/gkze/gh-stars/actions?query=workflow%3Aci\n[Actions Test Workflow Widget]: https://github.com/gkze/gh-stars/workflows/ci/badge.svg\n\n[GoReport Status]: https://goreportcard.com/report/github.com/gkze/gh-stars\n[GoReport Widget]: https://goreportcard.com/badge/github.com/gkze/gh-stars\n\n[GoDocWidget]: https://godoc.org/github.com/gkze/gh-stars?status.svg\n[GoDocReference]:https://godoc.org/github.com/gkze/gh-stars\n\nA command-line interface to your Github Stars. Some useful features:\n\n* Downloads metadata about all of your starred projects and saves it to disk\n* Unstars projects older than `n` months (by default, 2)\n  * Also unstars projects that have been archived (by default - you can opt out).\n* Can let you display starred projects by criteria:\n  * Language\n  * Topics (labels)\n  * Randomly\n* Can limit displayed results as specified\n* Can open queried starred projects in your browser for viewing\n\nMy personal workflow is to save all of my stars, prune old and archived ones,\nand display several random stars in my browser for me to view / explore. This\nis a type of [Spaced Repetation Learning](https://en.wikipedia.org/wiki/Spaced_repetition)\n(think flash cards), that way I can stay relatively up-to-date on what my starred\nprojects are. This is useful to me when I build software and need to know if\nthere is a project already out there that solves my problems / fits my needs.\n\n## Development\n\nTo get started, you will need [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\nand [Go](https://golang.org/doc/install) on your system. Then, you can run the\nfollowing commands to build the binary:\n\n```bash\ngit clone git@github.com:gkze/gh-stars.git\ncd stars\ngo build # need Golang 1.11+\n```\n\n**_NOTE:_** As mentioned in the comment above, you will need to have Go 1.11\ninstalled at minimum. This project utilizes [Go modules](https://github.com/golang/go/wiki/Modules),\nwhich are only supported in Go 1.11 and above.\n\n## Installation\n\nThere are various methods availabel to install `stars` on your system:\n\n### Homebrew\n\n```bash\nbrew install gkze/gkze/gh-stars\n```\n\n### Go\n\n```bash\ngo get -u github.com/gkze/gh-stars/cmd/stars\n```\n\nBinaries are also available on the releases page.\n\n## Configuration\n\nYou will need a `~/.netrc` with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) configured:\n\n```bash\n$ cat ~/.netrc\nmachine api.github.com\n    login [your github username here]\n    password [your github token here]\n```\n\n## Usage\n\n```\nA CLI written in Golang to facilitate efficient management of a user's\nGitHub starred projects / repositories, a.k.a. \"Stars\"\n\nUsage:\n  stars [flags]\n  stars [command]\n\nAvailable Commands:\n  add         Add (star) repositories\n  cleanup     Clean up old stars\n  clear       Clear local stars cache\n  completion  Generate shell completion script\n  help        Help about any command\n  save        Save starred repositories\n  show        Show stars\n  topics      List all topics of all stars\n  version     Show version of stars\n\nFlags:\n  -w, --concurrency int    Limit goroutines for network I/O operations (default 10)\n  -h, --help               help for stars\n  -o, --log-level string   Log level (default \"info\")\n\nUse \"stars [command] --help\" for more information about a command.\n```\n\n# License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkze%2Fgh-stars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkze%2Fgh-stars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkze%2Fgh-stars/lists"}