DEV Community

Kavin Desi Valli
Kavin Desi Valli

Posted on • Originally published at livecode247.com on

2 2

I wrote a Github CLI extension to fuzzy find repos and run actions on them

I went ahead and created a Github CLI extension which fuzzy finds repos and you can choose an action you want to run on it.

gh-repo-fzf.gif

Requirements

  1. gh cli - minimum version (2.0.0)
  2. fzf

Installation

Via the Github CLI

gh extension install kavinvalli/gh-repo-fzf

Enter fullscreen mode Exit fullscreen mode

Manually

You can also install it manually by following these steps:

  1. Clone repo

  2. cd into it

  3. Install it locally

Usage

  • To list all directories you have access to, run:
gh repo-fzf

Enter fullscreen mode Exit fullscreen mode
  • To list directories of a particular user / organisation:
gh repo-fzf <username/organisation-name>

Enter fullscreen mode Exit fullscreen mode

After choosing a directory, you will be prompted to choose one of the following:

  • Clone - clones a repository to your local machine
  • View - opens the Github URL of the repository
  • Fork - forks the repository
  • Archive - archives the repository

Feel free to put up any issue you face on the Github Repository. Contributions are also welcome.

Don't forget to star the repo 😉

GitHub logo kavinvalli / gh-repo-fzf

A Github CLI extension to fuzzy search your repositories and do an action with it

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay