attn
Local, read-only dashboard of the GitHub work waiting on you: pull requests that request your review, plus issues assigned to you or mentioning you, with their latest comments. It works against any GitHub host (public GitHub or a GitHub Enterprise deployment), configured entirely through environment variables (see Configuration).
attn builds its feed from gh search queries for @me. It does not read the GitHub notifications API, so it shows nothing for repos you only watch, and acknowledging an item never marks anything read on GitHub.
attn runs on macOS. The server and terminal UI need only Bun and gh, but the login service, the notification window, and the review terminal use launchd, Chrome, and open.
The app is built with SvelteKit, Tailwind CSS, and generated shadcn-svelte components. The GitHub integration remains read-only and uses your local gh CLI auth for the configured host.
Install with Homebrew (macOS)
The quickest way to run the dashboard, no clone required:
brew install kreek/tap/attn
gh auth login --hostname <your-host> # once; skip for github.com
attn init
brew services start attn
attn init asks for your GitHub (Enterprise) host and optional local checkout roots, writes ~/.config/attn/env, checks gh auth, and offers to install the login-time Chrome notification window. After brew services start, the server runs at http://127.0.0.1:8765 and starts at every login. Open the dashboard with attn open, which signs the browser in (see Signing in).
- Configuration lives in
~/.config/attn/env — the same KEY=value format as .env below, and never any secrets (auth stays in gh). Edit it, then brew services restart attn. Precedence: process environment > config file > default.
- State is kept under
~/.local/state/attn/; server logs under Homebrew's var/log/.
- Notifications:
attn install-window / attn uninstall-window manage the Chrome window login item (window logs under ~/Library/Logs/attn/); attn open signs in and opens the window right now; attn status shows the whole setup at a glance.
- A custom review-prompt template can be placed at
~/.config/attn/review.md (seeded by init).
Moving from ghe-notification-watch
attn was previously named ghe-notification-watch, with the command ghe-watch and GHE_WATCH_* settings. To keep an old config, rename each GHE_WATCH_ prefix to ATTN_ and move ~/.config/ghe-watch/env to ~/.config/attn/env. State under ~/.local/state/ghe-watch/ holds only acknowledgements and caches, so you can delete it. If you ran it as a login service from a clone, remove its LaunchAgents first, or the old server keeps port 8765 and attn cannot start:
launchctl bootout gui/$(id -u)/com.$(id -un).ghe-notification-watch
launchctl bootout gui/$(id -u)/com.$(id -un).ghe-notification-watch-window
rm ~/Library/LaunchAgents/com.$(id -un).ghe-notification-watch*.plist
Signing in
Every account on your Mac can reach 127.0.0.1, so the server refuses requests that do not carry your attn token. The token is a random value the server creates on first start, in agent.json beside the state file. Only your account can read it: the file is mode 0600 in a 0700 directory, and the state files beside it are 0600 too.
attn open asks the server for a one-time sign-in code and opens the dashboard with it, through a temporary owner-only file so the code never appears in a process listing. The page trades the code for a session cookie and drops it from the address bar. Codes work once, for 60 seconds. The window login item runs attn open at every login.
attn open --print prints a one-time sign-in link instead, for any browser.
- Opening
http://127.0.0.1:8765 without signing in shows a page that says to run attn open.
- Each sign-in gets its own random session. The server stores only a hash of it, sessions last 30 days and survive server restarts, and
attn signout ends all of them. To also replace the token, delete agent.json and restart the server.
attn mcp and attn open read the token from agent.json and send it as a bearer header. Before sending it, they check that the process on the port can prove it knows the token, so a different program listening on the port while attn is stopped does not receive it.
What sign-in does not cover