{"id":17918291,"url":"https://github.com/link-/gh-stars","last_synced_at":"2025-03-23T23:31:09.280Z","repository":{"id":164854585,"uuid":"595716081","full_name":"Link-/gh-stars","owner":"Link-","description":"Search your starred ★ repositories on GitHub from your terminal","archived":false,"fork":false,"pushed_at":"2024-01-06T00:18:38.000Z","size":45186,"stargazers_count":17,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-19T00:39:17.521Z","etag":null,"topics":["cli","cobra-cli","gh-extension","github","golang"],"latest_commit_sha":null,"homepage":"https://glich.stream","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/Link-.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Link-","patreon":"glich_stream"}},"created_at":"2023-01-31T17:03:14.000Z","updated_at":"2025-02-26T05:00:24.000Z","dependencies_parsed_at":"2024-08-17T08:04:45.250Z","dependency_job_id":"9eb3be55-912f-4503-ac4c-6377ba3332a7","html_url":"https://github.com/Link-/gh-stars","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link-%2Fgh-stars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link-%2Fgh-stars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link-%2Fgh-stars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link-%2Fgh-stars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Link-","download_url":"https://codeload.github.com/Link-/gh-stars/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186590,"owners_count":20574551,"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","cobra-cli","gh-extension","github","golang"],"created_at":"2024-10-28T20:10:38.171Z","updated_at":"2025-03-23T23:31:07.512Z","avatar_url":"https://github.com/Link-.png","language":"Go","funding_links":["https://github.com/sponsors/Link-","https://patreon.com/glich_stream"],"categories":[],"sub_categories":[],"readme":"```sh\n          *      $$\\                  *                 \n                 $$ |     *                     *        \n       $$$$$$$\\ $$$$$$\\    $$$$$$\\   $$$$$$\\   $$$$$$$\\ \n     $$  _____|\\_$$  _|   \\____$$\\ $$  __$$\\ $$  _____|\n  *  \\$$$$$$\\ *  $$ |     $$$$$$$ |$$ |  \\__|\\$$$$$$\\  \n      \\____$$\\   $$ |$$\\ $$  __$$ |$$ |       \\____$$\\     *\n     $$$$$$$  |  \\$$$$  |\\$$$$$$$ |$$ |  *   $$$$$$$  |\n     \\_______/ *  \\____/  \\_______|\\__|      \\_______/ \n```\n\n\u003e Search your starred ★ repositories on GitHub from your terminal\n\nYou know those repositories you like and star into the abyss? Yes those, this CLI tool will help you do a fuzzy search on them. You can search any GitHub user's starred repositories by providing their handle only.\n\nThis tool will cache the results locally so that you don't risk abusing the API requests limit.\n\n![Demo of how the extension works](./demo.gif)\n\n:warning: This project is still in `alpha` and the API might change without notice. Update only after reviewing the changelog for breaking changes.\n\n### For a more reliable search experience please use: https://github.com/Link-/starred_search\n\n## Installation\n\n### Setup\n\n```text\ngh extension install Link-/gh-stars\n```\n\n## Usage\n\n```text\nUsage: gh stars [OPTIONS] [ARGS]...\n\n  Search your or any other user's starred repositories on GitHub for a keyword.\n\nOptions:\n  -h, --help\n    Show this message and exit.\n\n  -u, --user \u003chandle\u003e\n    Any GitHub handle. Example: link-\n\n  -c, --cache-file \u003cfile path\u003e\n    File you want to store the cache in. File should exist and be writable. If not provided, the tool will generate one in $TMPDIR\n\n  -f, --find \u003ckeyword\u003e\n    The keyword you want to search for. Example: es6\n\n  -l, --limit \u003cnumber\u003e\n    Limit the search results to the specified number. Default is 10\n\n  -j, --json\n    Prints the output in JSON format\n\n  -v, --version\n    Outputs release version\n\n  -d, --debug\n    Outputs debugging log\n```\n\n### Examples\n\n#### Simple search\n\n```sh\n# Search for es6 in Link-'s starred repositories\ngh stars --user 'link-' --find 'macos'\n```\n\n```text\nName                       URL                                           Description                                                                                                        Stars  Rank\nianyh/Amethyst             https://github.com/ianyh/Amethyst             Automatic tiling window manager for macOS à la xmonad.                                                             12815  250\njakehilborn/displayplacer  https://github.com/jakehilborn/displayplacer  macOS command line utility to configure multi-display resolutions and arrangements. Essentially XRandR for macOS.  3067   250\nwailsapp/wails             https://github.com/wailsapp/wails             Create beautiful applications using Go                                                                             15933  25\nianyh/Amethyst             https://github.com/ianyh/Amethyst             Automatic tiling window manager for macOS à la xmonad.                                                             12815  25\nianyh/Amethyst             https://github.com/ianyh/Amethyst             Automatic tiling window manager for macOS à la xmonad.                                                             12815  25\nmassCodeIO/massCode        https://github.com/massCodeIO/massCode        A free and open source code snippets manager for developers                                                        4694   25\n```\n\n#### Override cache directory\n\n```sh\ngh stars --user 'link-' --cache-file '/tmp/.cache' --find 'markdown'\n```\n\n```text\nName                             URL                                                 Description                                                                                                                                                      Stars  Rank\nMacDownApp/macdown               https://github.com/MacDownApp/macdown               Open source Markdown editor for macOS.                                                                                                                           9232   1000\nevilstreak/markdown-js           https://github.com/evilstreak/markdown-js           A Markdown parser for javascript                                                                                                                                 7664   1000\ncharmbracelet/glamour            https://github.com/charmbracelet/glamour            Stylesheet-based markdown rendering for your CLI apps 💇🏻‍♀️                                                                                                     1620   250\nNaereen/badges                   https://github.com/Naereen/badges                   :pencil: Markdown code for lots of small badges :ribbon: :pushpin: (shields.io, forthebadge.com etc) :sunglasses:. Contributions are welcome! Please add yours!  3851   250\nmarkedjs/marked                  https://github.com/markedjs/marked                  A markdown parser and compiler. Built for speed.                                                                                                                 29694  250\nActionsDesk/report-action-usage  https://github.com/ActionsDesk/report-action-usage  Action to create a CSV or Markdown report of GitHub Actions used                                                                                                 8      250\nsyntax-tree/mdast                https://github.com/syntax-tree/mdast                Markdown Abstract Syntax Tree format                                                                                                                             831    250\nhonkit/honkit                    https://github.com/honkit/honkit                    :book: HonKit is building beautiful books using Markdown - Fork of GitBook                                                                                       2544   250\nhedgedoc/hedgedoc                https://github.com/hedgedoc/hedgedoc                HedgeDoc - The best platform to write and share markdown.                                                                                                        3866   250\nvalentjn/vscode-ltex             https://github.com/valentjn/vscode-ltex             LTeX: Grammar/spell checker :mag::heavy_check_mark: for VS Code using LanguageTool with support for LaTeX :mortar_board:, Markdown :pencil:, and others          644    250\n\n```\n\n#### Debug mode enabled\n\n```sh\ngh stars --user 'link-' --find 'programming language' --debug\n```\n\n```text\nINFO: 2023/05/13 21:44:42 root.go:91: Debug mode is enabled\nINFO: 2023/05/13 21:44:42 root.go:92: Parameters provided  --user link- --find programming language --debug\nINFO: 2023/05/13 21:44:42 root.go:239: Attempting to fetch the total number of starred repos for user link-\nINFO: 2023/05/13 21:44:42 root.go:269: CacheKey generated: d856442b086a3c61b6593f22bf91804c91cbb53bfb585aa9217550f8c0271a5c\nINFO: 2023/05/13 21:44:42 root.go:321: Cache file exists and is not empty, reading from the cache file: /var/folders/ld/5wnf1d_525q_ldl3kj9km5lh0000gn/T/stars_d856442b086a.json\nINFO: 2023/05/13 21:44:42 root.go:124: Rendering the results\nINFO: 2023/05/13 21:44:42 root.go:127: Results: 6 are higher than the limit: 10\nName                             URL                                                 Description                                                                                                                                                                  Stars  Rank\nbigscience-workshop/petals       https://github.com/bigscience-workshop/petals       🌸 Run 100B+ language models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading                                                           4657   250\nGoogleContainerTools/distroless  https://github.com/GoogleContainerTools/distroless  🥑  Language focused docker images, minus the operating system.                                                                                                              15549  250\nshyamsn97/mario-gpt              https://github.com/shyamsn97/mario-gpt              Generating Mario Levels with GPT2. Code for the paper \"MarioGPT: Open-Ended Text2Level Generation through Large Language Models\" https://arxiv.org/abs/2302.05981            964    250\ncarbon-language/carbon-lang      https://github.com/carbon-language/carbon-lang      Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)                                 30415  250\nslimtoolkit/slim                 https://github.com/slimtoolkit/slim                 Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)  16633  250\ncarbon-language/carbon-lang      https://github.com/carbon-language/carbon-lang      Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)                                 30415  25\n```\n\n#### Limit results\n\n```sh\ngh stars --user 'link-' --find 'a' --limit 5\n```\n\n```text\nName                      URL                                          Description                                                                                         Stars  Rank\nhashicorp/go-memdb        https://github.com/hashicorp/go-memdb        Golang in-memory database built on immutable radix trees                                            2805   1000\nmckaywrigley/chatbot-ui   https://github.com/mckaywrigley/chatbot-ui   An open source ChatGPT UI.                                                                          13459  1000\nandyfeller/gh-montage     https://github.com/andyfeller/gh-montage     GitHub CLI extension to generate montage from GitHub user avatars                                   28     1000\nactions/gh-actions-cache  https://github.com/actions/gh-actions-cache  A GitHub (gh) CLI extension to manage the GitHub Actions caches being used in a GitHub repository.  219    1000\nnadrad/h-m-m              https://github.com/nadrad/h-m-m              Hackers Mind Map                                                                                    1628   1000\n```\n\n#### JSON output\n\n```sh\ngh stars -u 'link-' -f 'rust server' --json | jq -r '.[].html_url'\n```\n\n```text\nhttps://github.com/google/comprehensive-rust\nhttps://github.com/TheAlgorithms/Rust\nhttps://github.com/mattermost/mattermost-server\nhttps://github.com/google/seesaw\nhttps://github.com/gm3dmo/the-power\nhttps://github.com/firecracker-microvm/firecracker\nhttps://github.com/caddyserver/caddy\nhttps://github.com/caddyserver/caddy\nhttps://github.com/simskij/awesome-software-architecture\nhttps://github.com/binwiederhier/ntfy\n```\n\n## Troubleshoot\n\nFound a problem? [Open an issue](https://github.com/Link-/gh-stars/issues/new).\n\n## How it's made?\n\nI've live streamed the entire process of building this tool:\n\n[![Watch the walkthrough](https://img.youtube.com/vi/sXa6UI8xyRg/hqdefault.jpg)](https://youtube.com/playlist?list=PLArH6NjfKsUgST7vRnQYwNzwc2fpDD7Vu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-%2Fgh-stars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink-%2Fgh-stars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-%2Fgh-stars/lists"}