Skip to content

Latest commit

 

History

History
149 lines (101 loc) · 4.53 KB

README.md

File metadata and controls

149 lines (101 loc) · 4.53 KB

gh-dash

✨ A GitHub (gh) CLI extension to display a dashboard with pull requests and issues by filters you care about.

Latest Release

📃 Docs

See the docs site at dlvhdr.github.io/gh-dash to get started.

❓ Why use gh-dash

Check out this 10/10 video by charm.sh ✨ explaining how gh-dash can help you manage your GitHub experience.

Manage open source like a boss (in the terminal)

✨ Features

  • 🌅 fully configurable - define sections using GitHub filters
  • 🔍 search for both prs and issues
  • 📝 customize columns with hidden, width and grow props
  • ⚡️ act on prs and issues with checkout, comment, open, merge, diff, etc...
  • ⌨️ set custom actions with new keybindings
  • 💅 use custom themes
  • 🔭 view details about a pr/issue with a detailed sidebar
  • 🪟 write multiple configuration files to easily switch between completely different dashboards
  • ♻️ set an interval for auto refreshing the dashboard

📦 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 dlvhdr/gh-dash
  3. To get the icons to render properly you should download and install a Nerd font from https://www.nerdfonts.com/. Then, select that font as your font for the terminal.

Installing Manually

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

  1. Clone the repo

    # git
    git clone https://github.com/dlvhdr/gh-dash
    # GitHub CLI
    gh repo clone dlvhdr/gh-dash
  2. Cd into it

    cd gh-dash
  3. Build it

    go build
  4. Install it locally

    gh extension install .
Updating from an older version
gh extension upgrade dlvhdr/gh-dash
How do I get these exact colors and font?

I'm using Alacritty with the tokyonight theme and the Fira Code Nerd Font. For my full setup check out my dotfiles.

⚡️ Usage

Run

gh dash

Then press ? for help.

Run gh dash --help for more info:

Usage:
  gh dash [flags]

Flags:
  -c, --config string   use this configuration file
                        (default lookup:
                          1. a .gh-dash.yml file if inside a git repo
                          2. $GH_DASH_CONFIG env var
                          3. $XDG_CONFIG_HOME/gh-dash/config.yml
                        )
      --debug           passing this flag will allow writing debug output to debug.log
  -h, --help            help for gh-dash

⚙️ Configuring

You can find all the details in the docs site under gh-dash/configuration.

Example configurations can be found on GitHub:

🛞 Under the hood

gh-dash uses:

Author

Dolev Hadar [email protected]