{"id":15707040,"url":"https://github.com/cbrgm/gh-fused","last_synced_at":"2025-05-12T19:13:10.249Z","repository":{"id":115936848,"uuid":"584556701","full_name":"cbrgm/gh-fused","owner":"cbrgm","description":"Collection of powerful aliases to speed up interactions with GitHub issues, PRs and more!  🚀","archived":false,"fork":false,"pushed_at":"2023-01-27T14:56:56.000Z","size":31,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-12T19:13:01.239Z","etag":null,"topics":["bash","cli","gh","github","productivity","zsh","zsh-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbrgm.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-02T22:55:27.000Z","updated_at":"2024-01-04T12:48:36.000Z","dependencies_parsed_at":"2023-03-12T07:46:02.285Z","dependency_job_id":null,"html_url":"https://github.com/cbrgm/gh-fused","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fgh-fused","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fgh-fused/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fgh-fused/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fgh-fused/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbrgm","download_url":"https://codeload.github.com/cbrgm/gh-fused/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805847,"owners_count":21967053,"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":["bash","cli","gh","github","productivity","zsh","zsh-plugin"],"created_at":"2024-10-03T20:33:03.371Z","updated_at":"2025-05-12T19:13:10.231Z","avatar_url":"https://github.com/cbrgm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-fused\n\nCollection of powerful aliases combining `gh` and `fzf` to speed up interactions with GitHub. It's purpose is to be a CLI clone of [github.com/pulls](https://github.com/pulls) and [github.com/issues](https://github.com/issues) and it can be so much more!.\n\nTry them out and you won't live without them anymore 🚀\n\n## Prerequisites?\n\n* [fzf](https://github.com/junegunn/fzf)\n* [gh](https://github.com/cli/cli)\n* [gnu core utils](https://www.gnu.org/software/coreutils/)\n* [jq](https://stedolan.github.io/jq/)\n\n## Installation\n\nYou can directly download the [`ghfused.source`](https://raw.githubusercontent.com/cbrgm/gh-fused/main/ghfused.source)\nand save it in some directory.\n\nDownload:\n```bash\ncurl -LO https://raw.githubusercontent.com/cbrgm/gh-fused/main/ghfused.source\n```\n\nthen add to your .bashrc/.zshrc file:\n```bash\n[ -f \u003cpath-to\u003e/ghfused.source ] \u0026\u0026 source \u003cpath-to\u003e/ghfused.source\n```\n\nAlternatively you can install `ghfused` using the ZSH plugin manager of your\nchoice.\n\n## Usage\n\nUsage of `ghfused` aliases (you can check them by running `ghhelp` once installed)\n\n```\nUsage of ghfused aliases\n\nCollection of powerful aliases to speed up interactions with GitHub\nFind more information at https://github.com/cbrgm/ghfused\n\nUsage:\n# [ghspr] Fuzzy searches for pull requests and allows the user to open them in a web browser.\n# [ghpr] Search for open pull requests created by the current user.\n# [ghpra] Search for open pull requests assigned to the current user.\n# [ghprm] Search for open pull requests with mentions of the current user.\n# [ghrr] Search for open pull requests with review requests wanted from the current user.\n# [gshi] Fuzzy searches for issues and allows the user to open them in a browser\n# [ghi] Search for open issues created by the current user.\n# [ghia] Search for open issues assigned to the current user.\n# [ghim] Search for open issues with mentions of the current user.\n# [ghsr] Fuzzy searches for repositories and allows the user to open them in a browser\n# [ghhelp] show this help message\n```\n\n## Explanations\n\n### Github Search enchanced!\n\nThe three aliases\n\n* `ghspr` ([gh]ithub [s]earch [p]ull [r]equest)\n* `ghsi` ([gh]ithub [s]earch [i]ssue)\n* `ghsr` ([gh]ithub [s]earch [r]epository)\n\nare equal to the default search subcommands provided by the `gh` command, but combines them with fuzzy searching with `fzf`.\n\n### Fine-tuned defaults for PRs!\n\n* `ghpr` Search for open pull requests created by the current user.\n* `ghpra` Search for open pull requests assigned to the current user.\n* `ghprm` Search for open pull requests with mentions of the current user.\n* `ghrr` Search for open pull requests with review requests wanted from the current user.\n\n### Fine-tuned defaults for issues!\n\n* `ghi` Search for open issues created by the current user.\n* `ghia` Search for open issues assigned to the current user.\n* `ghim` Search for open issues with mentions of the current user.\n\n## Some handy examples\n\nFuzzy search open PRs which requested a review from you, approve.\n\n```bash\n # long\n ghspr --sort=updated --limit 100 --review-requested=@me --archived=false --state=open | xargs -I{} sh -c 'gh pr review --approve {}'\n # short\n ghrr | xargs -I{} sh -c 'gh pr review --approve {}'\n```\n\nFuzzy search open PRs which requested a review from you, approve and merge.\n\n```bash\n # long\n ghspr --sort=updated --limit 100 --review-requested=@me --archived=false --state=open | xargs -I{} sh -c 'gh pr review --approve {} \u0026\u0026 gh pr merge --squash {}'\n # short\n ghrr | xargs -I{} sh -c 'gh pr review --approve {} \u0026\u0026 gh pr merge --squash {}'\n```\n\n## Flags\n\nSupports all options that `gh search repos/issues/prs` supports, except for `--json` and `--template` which are being utilized by this extension.\n\n## Contributing \u0026 License\n\nFeel free to submit changes! See\nthe [Contributing Guide](https://github.com/cbrgm/contributing/blob/master/CONTRIBUTING.md). This project is open-source\nand is developed under the terms of the [Apache 2.0 License](https://github.com/cbrgm/gh-fused/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbrgm%2Fgh-fused","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbrgm%2Fgh-fused","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbrgm%2Fgh-fused/lists"}