项目作者: kaukas

项目描述 :
GitHub notifications in your terminal
高级语言: Awk
项目地址: git://github.com/kaukas/ghn.git
创建时间: 2020-04-28T20:57:23Z
项目社区:https://github.com/kaukas/ghn

开源协议:MIT License

下载


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:

  1. 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