8000 GitHub - jrnxf/gh-eco: 🦎 gh cli extension to explore the ecosystem · GitHub
[go: up one dir, main page]

Skip to content
jrnxfPublic

About

🦎 gh cli extension to explore the ecosystem

Topics

Resources

Code of conduct

Stars

485 stars

Watchers

4 watching

Forks

Latest commit

 

History

58 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-eco

🦎 gh extension to explore the ecosystem

GitHub Go Workflow License Github Stars

demo

Installation

  1. Install the gh cli - see the installation

    Installation requires a minimum version (2.0.0) of the GitHub CLI that supports extensions.

  2. Install this extension:

    gh extension install jrnxf/gh-eco
Manual Installation

If you want to install this extension manually, follow these steps:

  1. clone the repo

    # git
    git clone https://github.com/jrnxf/gh-eco
    
    # GitHub CLI
    gh repo clone jrnxf/gh-eco
  2. cd into it

    cd gh-eco
  3. build it

    go build
  4. install it locally

    gh extension install .

Usage

to search for a user or organisation:

gh eco

to open one straight away:

gh eco <login>

Press / to search for another login; submitting it clears the backspace history, and esc leaves the search instead. Move to a user's followers or following count and press enter to list them, enter again to open someone's profile, and backspace to go back. Profiles with nothing pinned show their most-starred repositories instead.

gh-eco follows your terminal's light or dark background; if it guesses wrong, set GH_ECO_THEME=light or GH_ECO_THEME=dark.

to upgrade:

gh extension upgrade eco

Keys

Key Action
/ search, from anywhere (a readme closes)
enter search / open list / open profile
backspace close the readme, or go back to the previous page
j / ↓ move down
k / ↑ move up
ctrl+d page down (readme, list)
ctrl+u page up (readme, list)
r toggle readme
o open in github
s star repo
! star gh-eco
esc leave search, or close the top layer like backspace; quits from the top level
q / ctrl+c quit

Contributing

All contributions are greatly appreciated!

If you have a suggestion that would make gh-eco better, please fork the repo and create a pull request or open an issue.

See the open issues for a full list of proposed features (and known bugs).

Regenerate the gif with vhs and ffmpeg: ./demo.sh.

License

Distributed under the MIT License. See LICENSE.md for more information.

Acknowledgments

Check out these amazing projects that inspired gh-eco!

About

🦎 gh cli extension to explore the ecosystem

Topics

Resources

Code of conduct

Stars

485 stars

Watchers

4 watching

Forks

Releases

Used by

Contributors

Languages

0