Skip to content

Desktop app

The gh-maintainer desktop app is a small Tauri tray app. It shows the status server’s widget in a 420×640 window, shows the overall state as a coloured tray icon, and fires native notifications when an approval or a critical finding arrives.

gh-maintainer desktop app window showing the live widget with approvals, repositories and activity

The Release workflow builds the app for Linux, macOS and Windows:

OS Package
Debian/Ubuntu gh-maintainer_<version>_amd64.deb
Any Linux gh-maintainer_<version>_amd64.AppImage
macOS (Intel and Apple Silicon) gh-maintainer_<version>_universal.dmg
Windows gh-maintainer_<version>_x64_en-US.msi or gh-maintainer_<version>_x64-setup.exe

Get them from either place:

  • Releases (recommended): attached to each GitHub release, with the release version in the file name, for example gh-maintainer_1.3.0_amd64.deb in v1.3.0.
  • Every push to main: the desktop-linux, desktop-macos and desktop-windows artifacts of the Release workflow run. Artifacts are kept for 30 days and you must be signed in to GitHub to download them.
Terminal window
cp gh-maintainer_<version>_amd64.deb /tmp/
sudo apt install /tmp/gh-maintainer_<version>_amd64.deb

Copying the file to /tmp first avoids a harmless notice from apt: it downloads local packages as the unprivileged _apt user, which cannot read files in your home directory.

Terminal window
chmod +x gh-maintainer_<version>_amd64.AppImage
./gh-maintainer_<version>_amd64.AppImage

Open the .dmg and drag gh-maintainer to Applications. The app is not code-signed, so Gatekeeper reports it as damaged or from an unidentified developer. Remove the quarantine flag once:

Terminal window
xattr -dr com.apple.quarantine /Applications/gh-maintainer.app

Run the .msi or the -setup.exe installer. The app is not code-signed, so SmartScreen warns on first start. Choose More info, then Run anyway.

The app talks to the status server over HTTPS and uses the system trust store. If your installation uses the private CA (the deploy/components/private-ca component in the example overlay), install that CA system-wide before you start the app, as described in Trust the private CA. Restart the app afterwards.

On first start, the window shows the Settings screen. Later you open it from the tray menu with Settings…; Cancel takes you back to the widget without changing anything.

gh-maintainer desktop Settings screen with server URL, username, password, test connection and behaviour switches

  • Server URL: the root of your status server, without credentials, for example https://gh-maintainer.example.com. Not a sub-path: the widget uses root-absolute paths such as /state.
  • Username and Password: the basic-auth user from your ingress. Special characters need no escaping. When you edit the settings later, an empty password field keeps the stored password, unless you change the server address: then the app asks for the password again, so it is never sent to a different host.
  • Test connection checks the address and credentials and says what is wrong: wrong username or password, not a gh-maintainer server, TLS certificate not trusted, host not found, connection refused, timeout or server error.
  • Notifications turns the native notifications on or off (the tray colour keeps updating either way).
  • Start at login registers the app as a login item on Linux, macOS and Windows. It then starts hidden in the tray.
  • Always on top keeps the window above others; the tray menu toggle is the same setting.
  • Forget server (two clicks) removes the stored address and credentials.

The app stores its settings in settings.json in its app data directory (on Linux, ~/.local/share/dev.pierrejochem.gh-maintainer/). Older versions stored the server as one URL with the credentials in it; those settings keep working.

The background task sends the credentials as an Authorization: Basic header and never logs them. The settings page itself never receives the stored password.

About gh-maintainer in the tray menu opens a small window with the app version, the connected server (without credentials), whether it is reachable, and the server’s version and commit (from its /info endpoint). Its links open the documentation and GitHub in your browser.

gh-maintainer desktop About window with app version, connected server status and links

The web widget has an About tab too, with the server version, commit, owner and uptime, and an Agent config tab that shows the live agent configuration read-only.

The tray icon shows the overall state. When several conditions apply, the first match in this table wins:

Icon Colour Meaning
Red gh-maintainer tray icon: critical finding or failed run Red An open finding with severity critical or high, or the last run ended with error or aborted
Amber gh-maintainer tray icon: approvals waiting Amber Approvals are waiting for you
Blue gh-maintainer tray icon: run in progress Blue A run is in progress
Green gh-maintainer tray icon: idle Green Idle, nothing needs attention
Grey gh-maintainer tray icon: disconnected Grey Disconnected: before the first successful connection, or after a failed one until the next success. The tooltip reads “gh-maintainer: disconnected”.

The app fires a native notification for:

  • approval.requested, titled “Approval needed (major)” or “Approval needed (ai-fix)”. Only a newly opened approval notifies. The agent re-requests open approvals on every run, and those re-requests stay silent. A request that stays rejected (see Approvals) never notifies.
  • finding.new with severity critical or high.

The notification body is repo: title, trimmed to 200 characters.

  • Tray menu: Show, Always on top (checkable), Settings…, About gh-maintainer and Quit.
  • Close to tray: closing the window hides it. The app keeps running in the tray. Use Quit to exit.
  • Single instance: starting the app a second time does not open a second copy. The running instance brings its window back.
  • Linux: clicking the tray icon only opens the menu (an AppIndicator limitation). Use Show to open the window.
  • Links: pull request and finding links open in your default browser. The window itself only ever shows the settings page or your server.

To start the app at login, turn on Start at login in Settings.

You need Rust (stable), Node 24 with corepack and the Tauri system libraries. On Debian/Ubuntu:

Terminal window
sudo apt install libwebkit2gtk-4.1-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev \
libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libxdo-dev \
build-essential pkg-config libssl-dev file

Then build:

Terminal window
git clone https://github.com/pierrejochem/gh-maintainer.git
cd gh-maintainer
corepack pnpm install
cd packages/widget-desktop
corepack pnpm test # cargo test in tray-core (no system libraries needed)
corepack pnpm tauri dev # run it
corepack pnpm tauri build # release bundles

The bundles land in release/bundle/ under your Cargo target directory, for example deb/gh-maintainer_<version>_amd64.deb and appimage/gh-maintainer_<version>_amd64.AppImage.

If cargo fails early with The system library gdk-3.0 required by crate gdk-sys was not found, a system library is missing. Install the packages listed above.