* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Wednesday, June 4, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Spotify & OpenAI: Will Gen AI ‘Hollow Out’ Entertainment? – Technology Magazine

    Will Generative AI Transform the Future of Entertainment

    Author Richard Russo Will Speak At Sandwich Town Hall – CapeNews.net

    Join Us for an Inspiring Evening with Author Richard Russo at Sandwich Town Hall!

    Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

    Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

    Salem’s Harborwalk Garden Cultivates Community with Entertainment, Food, and Events – 105.7 WROR

    Discover the Vibrant Community Spirit at Salem’s Harborwalk Garden: A Hub for Entertainment, Food, and Fun!

    Entertainment-Focused Narrative and Culture Change Practice – New America

    Transforming Culture Through Engaging Entertainment Narratives

    Rising stars: Young classical musicians surging on social media – Yahoo

    Meet the Next Generation of Classical Music Sensations Making Waves on Social Media!

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    The Isfahan Center for Nuclear Technology – UCF, ZPP, and IRR10 – Alma Research and Education Center

    Exploring the Isfahan Center for Nuclear Technology: Innovations and Insights from UCF, ZPP, and IRR10

    Inside the tedious effort to tally AI’s energy appetite – MIT Technology Review

    Inside the tedious effort to tally AI’s energy appetite – MIT Technology Review

    Finland Set to Lead EU Quantum Technology Defense Project – IoT World Today

    Finland Set to Lead EU Quantum Technology Defense Project – IoT World Today

    AI for lawyers: Win back your time using technology – nationaljurist.com

    Reclaim Your Time: How AI is Transforming the Legal Profession

    Prosecutors accuse men of exporting U.S. military technology to China – Milwaukee Journal Sentinel

    Men Charged with Illegally Exporting U.S. Military Technology to China

    ROLAND’S NEW WIRELESS TRIGGER TECHNOLOGY, PORTER & DAVIES ON TOUR, NEW 64 AUDIO ASPIRE UNIVERSAL IEM MODELS, WAVES FREE PLUGIN PACK – Modern Drummer Magazine

    ROLAND’S NEW WIRELESS TRIGGER TECHNOLOGY, PORTER & DAVIES ON TOUR, NEW 64 AUDIO ASPIRE UNIVERSAL IEM MODELS, WAVES FREE PLUGIN PACK – Modern Drummer Magazine

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Spotify & OpenAI: Will Gen AI ‘Hollow Out’ Entertainment? – Technology Magazine

    Will Generative AI Transform the Future of Entertainment

    Author Richard Russo Will Speak At Sandwich Town Hall – CapeNews.net

    Join Us for an Inspiring Evening with Author Richard Russo at Sandwich Town Hall!

    Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

    Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

    Salem’s Harborwalk Garden Cultivates Community with Entertainment, Food, and Events – 105.7 WROR

    Discover the Vibrant Community Spirit at Salem’s Harborwalk Garden: A Hub for Entertainment, Food, and Fun!

    Entertainment-Focused Narrative and Culture Change Practice – New America

    Transforming Culture Through Engaging Entertainment Narratives

    Rising stars: Young classical musicians surging on social media – Yahoo

    Meet the Next Generation of Classical Music Sensations Making Waves on Social Media!

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    The Isfahan Center for Nuclear Technology – UCF, ZPP, and IRR10 – Alma Research and Education Center

    Exploring the Isfahan Center for Nuclear Technology: Innovations and Insights from UCF, ZPP, and IRR10

    Inside the tedious effort to tally AI’s energy appetite – MIT Technology Review

    Inside the tedious effort to tally AI’s energy appetite – MIT Technology Review

    Finland Set to Lead EU Quantum Technology Defense Project – IoT World Today

    Finland Set to Lead EU Quantum Technology Defense Project – IoT World Today

    AI for lawyers: Win back your time using technology – nationaljurist.com

    Reclaim Your Time: How AI is Transforming the Legal Profession

    Prosecutors accuse men of exporting U.S. military technology to China – Milwaukee Journal Sentinel

    Men Charged with Illegally Exporting U.S. Military Technology to China

    ROLAND’S NEW WIRELESS TRIGGER TECHNOLOGY, PORTER & DAVIES ON TOUR, NEW 64 AUDIO ASPIRE UNIVERSAL IEM MODELS, WAVES FREE PLUGIN PACK – Modern Drummer Magazine

    ROLAND’S NEW WIRELESS TRIGGER TECHNOLOGY, PORTER & DAVIES ON TOUR, NEW 64 AUDIO ASPIRE UNIVERSAL IEM MODELS, WAVES FREE PLUGIN PACK – Modern Drummer Magazine

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub

May 28, 2024
in Technology
Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub
Share on FacebookShare on Twitter

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

Latest Release

🌅 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

Install the gh CLI – see the installation

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

Install this extension:

gh extension install dlvhdr/gh-dash

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:

Clone the repo

# git
git clone https://github.com/dlvhdr/gh-dash

# GitHub CLI
gh repo clone dlvhdr/gh-dash

Cd into it

Build it

Install it locally

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.

Run

Then press ? for help.

Run gh dash –help for more info:

Usage:
gh dash [flags]

Flags:
-c, –config string use this configuration file (default is $GH_DASH_CONFIG, or if not set, $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

A section is defined by a:

title – shown in the TUI
filters – how the repo’s PRs should be filtered – these are plain github filters

All configuration is provided within a config.yml file under the extension’s directory (either $XDG_CONFIG_HOME/gh-dash or ~/.config/gh-dash/ or your OS config dir) or $GH_DASH_CONFIG.

An example config.yml file contains:

prSections:
– title: My Pull Requests
filters: is:open author:@me
layout:
author:
hidden: true
# width:
# grow: this will make the column grow in size
– title: Needs My Review
filters: is:open review-requested:@me
– title: Subscribed
filters: is:open -author:@me repo:cli/cli repo:dlvhdr/gh-dash
limit: 50 # optional limit of rows fetched for this section
issuesSections:
– title: Created
filters: is:open author:@me
– title: Assigned
filters: is:open assignee:@me
– title: Subscribed
filters: is:open -author:@me repo:microsoft/vscode repo:dlvhdr/gh-dash
defaults:
layout:
prs:
repo:
grow: true,
width: 10
hidden: false
# issues: same structure as prs
prsLimit: 20 # global limit
issuesLimit: 20 # global limit
preview:
open: true # whether to have the preview pane open by default
width: 60 # width in columns
refetchIntervalMinutes: 30 # will refetch all sections every 30 minutes
repoPaths: # configure where to locate repos when checking out PRs
:owner/:repo: ~/src/github.com/:owner/:repo # template if you always clone github repos in a consistent location
dlvhdr/*: ~/code/repos/dlvhdr/* # will match dlvhdr/repo-name to ~/code/repos/dlvhdr/repo-name
dlvhdr/gh-dash: ~/code/gh-dash # will not match wildcard and map to specified path
keybindings: # optional, define custom keybindings – see more info below
theme: # optional, see more info below
pager:
diff: less # or delta for example
confirmQuit: false # show prompt on quit or not

🗃 Running with a different config file

You can run gh dash –config to run gh-dash against another config file.

This lets you easily define multiple dashboards with different sections.
It can be useful if you want to have a 🧳 work and 👩‍💻 personal dashboards, or if you want to view multiple dashboards at the same time.

Define your own custom keybindings to run bash commands using Go Templates.
This is available for both PRs and Issues.

For PRs, the available arguments are:

Argument
Description

RepoName
The full name of the repo (e.g. dlvhdr/gh-dash)

RepoPath
The path to the Repo, using the config.yml repoPaths key to get the mapping

PrNumber
The PR number

HeadRefName
The PR’s remote branch name

BaseRefName
The PR’s base branch name

For Issues, the available arguments are:

Argument
Description

RepoName
The full name of the repo (e.g. dlvhdr/gh-dash)

RepoPath
The path to the Repo, using the config.yml repoPaths key to get the mapping

IssueNumber
The Issue number

To review a PR with either Neovim or VSCode include the following in your config.yml file:

repoPaths:
dlvhdr/gh-dash: ~/code/gh-dash

keybindings:
prs:
– key: c
command:>
tmux new-window -c {{.RepoPath}} ‘
gh pr checkout {{.PrNumber}} &&
nvim -c “:DiffviewOpen master…{{.HeadRefName}}”
‘
– key: v
command:>
cd {{.RepoPath}} &&
code . &&
gh pr checkout {{.PrNumber}}

To pin an issue include the following in your config.yml file:

keybindings:
issues:
– key: P
command: gh issue pin {{.IssueNumber}} –repo {{.RepoName}}

Repo name to path mappings can be exact match (full name, full path) or wildcard matched using the owner and partial path.

An exact match for the full repo name to a full path takes priority over a matching wildcard, and wildcard matches must match to a wildcard path.

An :owner/:repo template can be specified as a generic fallback.

repoPaths:
:owner/:repo: ~/src/github.com/:owner/:repo # template if you always clone github repos in a consistent location
dlvhdr/*: ~/code/repos/dlvhdr/* # will match dlvhdr/repo-name to ~/code/repos/dlvhdr/repo-name
dlvhdr/gh-dash: ~/code/gh-dash # will not match wildcard and map to specified path

The RepoName and RepoPath keybinding arguments are fully expanded when sent to the command.

To override the default set of terminal colors and instead create your own color scheme, you can define one in your config.yml file.
If you choose to go this route, you need to specify all of the following keys as colors in hex format (#RRGGBB), otherwise validation will fail.

theme:
ui:
table:
showSeparator: true
colors:
text:
primary: “#E2E1ED”
secondary: “#666CA6”
inverted: “#242347”
faint: “#3E4057”
warning: “#F23D5C”
success: “#3DF294”
background:
selected: “#39386B”
border:
primary: “#383B5B”
secondary: “#39386B”
faint: “#2B2B40”

You can customize each section’s layout as well as the global layout.

For example, to hide the author column for all PR sections, include the following in your config.yml.

defaults:
layout:
prs:
author:
hidden: true

For prs the column names are: updatedAt, repo, author, title, reviewStatus, state, ci, lines, assignees, base.
For issues the column names are: updatedAt, state, repo, title, creator, assignees, comments, reactions.
The available properties to control are: grow (false, true), width (number of cells), and hidden (false, true).

Dolev Hadar [email protected]

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://github.com/dlvhdr/gh-dash

Tags: Dlvhdrgh-dashtechnology
Previous Post

Truth, Math, and Models (Part 8 in a series on the scientific method)

Next Post

WP21

Experimental ecology and the balance between realism and feasibility in aquatic ecosystems – Nature

Experimental ecology and the balance between realism and feasibility in aquatic ecosystems – Nature

June 4, 2025
The Science of Scent: How Israeli Innovation is Redefining Perfume and Wellness – The Jerusalem Post

Unlocking the Power of Scent: How Israeli Innovations are Transforming Perfume and Wellness

June 4, 2025
Accidental discovery at New York planetarium unlocks secret into universe’s inner workings – PBS

Serendipitous Find at New York Planetarium Reveals Secrets of the Universe!

June 4, 2025
Lifestyle choices at 60 linked to dementia risk decades later, study shows – ABC News

How Your Lifestyle Choices at 60 Could Impact Dementia Risk Later in Life

June 4, 2025
GBH layoffs hit 45 staffers less than a month after World cuts – Current – For people in public media

GBH Cuts Deep: 45 Staff Members Laid Off Just Weeks After Major Restructuring

June 4, 2025
Washington state gets a $918M lift from international students – Axios

Washington State Reaps $918 Million Boost from International Students!

June 4, 2025
Spotify & OpenAI: Will Gen AI ‘Hollow Out’ Entertainment? – Technology Magazine

Will Generative AI Transform the Future of Entertainment

June 4, 2025
In a first, Minnesota doctors walk their own picket line, then hustle to see patients – Star Tribune

Doctors in Minnesota Take a Stand: Walking the Picket Line Before Caring for Patients

June 4, 2025
Mein Kampf found with gun case at USF and FSU shooter idolized Hitler — there’s time, and a need, for lawmakers to act – Florida Politics

Uncovering Dark Ideologies: The Alarming Connection Between Recent Shootings and Extremist Influences

June 4, 2025
The Isfahan Center for Nuclear Technology – UCF, ZPP, and IRR10 – Alma Research and Education Center

Exploring the Isfahan Center for Nuclear Technology: Innovations and Insights from UCF, ZPP, and IRR10

June 4, 2025

Categories

Archives

June 2025
MTWTFSS
 1
2345678
9101112131415
16171819202122
23242526272829
30 
« May    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (665)
  • Economy (679)
  • Entertainment (21,585)
  • General (15,262)
  • Health (9,721)
  • Lifestyle (682)
  • News (22,149)
  • People (680)
  • Politics (688)
  • Science (15,899)
  • Sports (21,183)
  • Technology (15,665)
  • World (666)

Recent News

Experimental ecology and the balance between realism and feasibility in aquatic ecosystems – Nature

Experimental ecology and the balance between realism and feasibility in aquatic ecosystems – Nature

June 4, 2025
The Science of Scent: How Israeli Innovation is Redefining Perfume and Wellness – The Jerusalem Post

Unlocking the Power of Scent: How Israeli Innovations are Transforming Perfume and Wellness

June 4, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version