GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lucasvidela94/github-notifier: GitHub pull request comment notifications in your system tray. Polls the GitHub API, delivers desktop alerts for comments and review requests on open PRs, and lets you open and resolve them directly from the taskbar icon.

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
icon
icon
 
 
internal
internal
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
SUPPORT.md
SUPPORT.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
install.sh
install.sh
 
 
install_test.sh
install_test.sh
 
 
main.go
main.go
 
 

Repository files navigation

github-notifier

Go Version License: MIT Release

A lightweight system tray application written in Go that surfaces GitHub pull request comments as desktop notifications. Lives in your taskbar next to the volume and bluetooth icons. Click any notification to open the exact comment in your browser and mark it as resolved.


Features

  • System tray integration with bell icon
  • Polls the GitHub Notifications API at a configurable interval
  • Filters for pull request activity: comments, mentions, review requests
  • Desktop notifications via notify-send
  • Click-to-open comment links + mark as resolved
  • SQLite local persistence
  • Systemd user service with autostart

Requirements

  • Go 1.21+
  • GTK3 + libayatana-appindicator3
  • notify-send

Supported distros: Arch, Ubuntu/Debian, Fedora, openSUSE.


Installation

git clone https://github.com/lucasvidela94/github-notifier
cd github-notifier
./install.sh

The installer handles everything:

  1. Installs system dependencies
  2. Runs the test suite
  3. Prompts for GitHub token
  4. Builds and installs the binary
  5. Registers systemd user service

GitHub Token

Create a token at https://github.com/settings/tokens/new with scopes:

Scope Purpose
notifications Read and mark notifications
repo Include private repo notifications

Token is stored in ~/.config/github-notifier/env with 600 permissions.


Usage

Systemd Service (recommended)

make enable        # Build, install, start
make logs          # Watch live logs
make disable       # Stop and disable

Manually

export GITHUB_TOKEN=ghp_xxx
make run

Tray Behavior

Icon State Meaning
Dark gray bell No unread notifications
Orange bell + red dot Unread notifications present

Activity Prefixes

Prefix Activity
comment Someone commented on a PR
mention You were mentioned with @handle
team_mention Your team was mentioned
review_requested You were asked to review
author Activity on a PR you opened

Configuration

Environment variables in ~/.config/github-notifier/env:

Variable Default Description
GITHUB_TOKEN required Personal access token
POLL_INTERVAL_SECONDS 60 Poll frequency
DB_PATH ~/.config/github-notifier/notifications.db SQLite path

Project Structure

github-notifier/
├── main.go                    # Entry point
├── icon/
│   └── icon.go                # Generated tray icons
├── internal/
│   ├── config/config.go       # Environment config
│   ├── db/db.go               # SQLite persistence
│   ├── github/client.go       # GitHub API client
│   ├── tray/tray.go           # Systray lifecycle
│   └── tray/ticker.go         # Poll interval
└── install.sh                 # Installer script

Development

make test    # Run tests
make build   # Compile binary
make run     # Build and run

Makefile Reference

Target Description
make build Compile binary
make run Build and run
make test Run tests
make enable Install and start service
make disable Stop and remove service
make logs Tail service logs
make clean Remove binary and service

Contributing

Contributions are welcome! See CONTRIBUTING.md.


Code of Conduct

Please read our Code of Conduct to keep our community approachable and respectable.


License

MIT


Support

  • Open an Issue
  • Check SUPPORT.md for common problems

About

GitHub pull request comment notifications in your system tray. Polls the GitHub API, delivers desktop alerts for comments and review requests on open PRs, and lets you open and resolve them directly from the taskbar icon.

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.