Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.14 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.14 KB

ghn is a quick and slick GitHub notifications app for your terminal. Pour some fzf over hub and freely mix with an assortment of other command line tools. Consume while hot.

Why?

Notifications should be quick. fzf is fantastic. Everyone should learn some awk.

Warning

A very early release, barely works!

Installation

For MacOS use Homebrew.

Configuration

ghn sources ~/.config/ghn/config.sh if present. At the moment you can override the command that is expected to display the issue or pull request (e.g. in the browser) upon receiving its URL. Default is open but you can specify something else:

GHN_OPEN_CMD="/Applications/Firefox.app/Contents/MacOS/firefox --private-window"

TODO

  • Mark notifications as read with some fzf shortcut
  • Show comments in preview window
  • Cache GitHub responses. Perhaps use sqlite3 (comes preinstalled) or gdbmtool from gdbm.
  • Use something like ansiwrap instead of fold.

License

MIT

Copyright (c) 2020 Linas Juškevičius