{"id":14155385,"url":"https://github.com/gh640/gh-repo-list","last_synced_at":"2025-04-11T19:42:11.562Z","repository":{"id":56735255,"uuid":"523924023","full_name":"gh640/gh-repo-list","owner":"gh640","description":"⚙️ Simple GitHub CLI extension to list all (own|starred) repositories.","archived":false,"fork":false,"pushed_at":"2024-07-15T23:27:06.000Z","size":24,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T15:49:01.140Z","etag":null,"topics":["gh-extension","github","github-cli"],"latest_commit_sha":null,"homepage":"","language":"Python","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/gh640.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":"2022-08-12T01:54:06.000Z","updated_at":"2025-02-01T18:59:14.000Z","dependencies_parsed_at":"2024-07-16T03:12:33.668Z","dependency_job_id":null,"html_url":"https://github.com/gh640/gh-repo-list","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/gh640%2Fgh-repo-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2Fgh-repo-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2Fgh-repo-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2Fgh-repo-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gh640","download_url":"https://codeload.github.com/gh640/gh-repo-list/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248468493,"owners_count":21108829,"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":["gh-extension","github","github-cli"],"created_at":"2024-08-17T08:03:00.624Z","updated_at":"2025-04-11T19:42:11.527Z","avatar_url":"https://github.com/gh640.png","language":"Python","funding_links":[],"categories":["Python","github"],"sub_categories":[],"readme":"⚙️ Simple [GitHub CLI](https://cli.github.com/) extension to list all (own|starred) repositories.\n\n## Requirements\n\n- Python 3 (`python3`)\n    - supported versions: `3.12`, `3.11`, `3.10`, `3.9` and `3.8`\n\n## Installation\n\nInstall:\n\n```zsh\ngh ext install gh640/gh-repo-list\n```\n\nOutput sample:\n\n```text\nCloning into '/xxx/.local/share/gh/extensions/gh-repo-list'...\nremote: Enumerating objects: 41, done.\nremote: Counting objects: 100% (41/41), done.\nremote: Compressing objects: 100% (27/27), done.\nremote: Total 41 (delta 15), reused 30 (delta 8), pack-reused 0\nReceiving objects: 100% (41/41), 7.79 KiB | 2.60 MiB/s, done.\nResolving deltas: 100% (15/15), done.\n✓ Installed extension gh640/gh-repo-list\n```\n\nUninstall:\n\n```zsh\ngh ext remove gh640/gh-repo-list\n```\n\n## Usage\n\n```zsh\ngh repo-list --help\nusage: List up all repositories. [-h] --type {viewer-status,own,starred}\n\noptions:\n  -h, --help            show this help message and exit\n  --type {viewer-status,own,starred}\n```\n\nThe option `--type` is required.\n\nList up own repositories:\n\n```zsh\ngh repo-list --type=own\n```\n\nList up starred repositories:\n\n```zsh\ngh repo-list --type=starred\n```\n\n## Examples\n\nSearch and open a repo in browser:\n\n```zsh\ngh repo view -w $(gh repo-list --type=own | fzf | rg -o '^\\S+')\n```\n\nSearch and view the README:\n\n```zsh\ngh repo view $(gh repo-list --type=own | fzf | rg -o '^\\S+')\n```\n\nArchive multiple repositories which starts with `prefix-` (Check the target repositories before running the command):\n\n```zsh\nfor repo in $(gh repo-list --type=own | rg -o '^username/prefix-\\S+'); do\n  gh repo archive -y $repo\ndone\n```\n\n## Reference\n\n- [GitHub CLI | Take GitHub to the command line](https://cli.github.com/)\n- [gh extension | GitHub CLI](https://cli.github.com/manual/gh_extension)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh640%2Fgh-repo-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgh640%2Fgh-repo-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh640%2Fgh-repo-list/lists"}