This is a simple python package that integrates Taskwarrior with Github notifications. It uses the Github API to fetch notifications and creates a task for each one of them.
For more information about the gh api, please refer to the official documentation.
$ git clone https://github.com/Jimmy2027/gh_taskw.git
$ cd gh_taskw
$ pip install .
The package is made available in a portage overlay.
root@host $ emerge gh_taskw
Github CLI needs to be installed and configured.
gh_taskw can be configered to use tasknote. If you choose to use tasknote, you will need to install it and configure it.
The configuation file is located at ~/.config/gh_taskw.toml
.
# ~/.config/gh_taskw.toml
tasknote_config = "~/.config/tasknote.toml" # Use tasknote
# ignore notifications from ci runs for example
ignore_notification_reasons = ["ci_activity"]
* * * * * /usr/bin/gh_taskw
#!/bin/bash
session="gh_taskw"
tmux new-session -d -s $session
window=1
tmux send-keys -t $session:$window 'watch -n 60 gh_taskw' C-m