Skip to content

About

PushCenter – Desktop Push Notifications. Read and dismiss your push notifications on the Linux desktop (unofficial Pushover Open Client, Rust + GTK4).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

PushCenter – Desktop Push Notifications

PushCenter

PushCenter

CI status

Read, search and dismiss your push notifications on the Linux desktop, without reaching for your phone.

Website and downloads: https://stancel.github.io/PushCenter/

Note

PushCenter is an unofficial Pushover Open Client. It is not released, endorsed or supported by Pushover. You need your own Pushover account and a Pushover for Desktop licence to use it; create an account and buy a licence at https://pushover.net/.

Status: early but usable on Ubuntu 24.04 / GNOME: desktop window, panel icon, native notifications and a command-line client. See TODO.rst.

PushCenter showing the message list and an emergency message waiting for acknowledgement (demo data)

Features

  • Native GNOME notifications with Mark Read, Open Link and (for emergencies) Acknowledge buttons. Pushover priorities are respected: lowest-priority messages never pop up, high ones stay on screen. More than three at once collapse into one summary.
  • Emergency messages open an alert you must answer; acknowledging stops the repeats on every device.
  • History window (GTK 4 + libadwaita): sidebar of views and sending apps with unread counts, messages grouped by day, search, full message view with links and Pushover's HTML formatting. Adapts to narrow windows. Follows your light/dark style.
  • Keyboard first: j/k move (and mark read), m toggles read, Shift+M marks the view read, o opens the link, c copies, a acknowledges, / searches, Ctrl+? lists them all.
  • Panel icon (needs the AppIndicator extension, on by default in Ubuntu): unread count beside the icon, newest unread in its menu, Mark All Read, Do Not Disturb.
  • Runs in the background: closing the window keeps it receiving; Start at Login in the menu starts it hidden when you log in.
  • Private by design: the session token lives in your keyring; your password is used once and never stored; history stays on your computer.

An HTML message with formatting, a link and a link button (demo data)

Overview

PushCenter registers your computer as a device on your Pushover account, listens for new messages in real time, and shows each one as a native desktop notification. Every message also goes into a searchable history window with per-app filtering, so you can read it, open its link, mark it read, or acknowledge an emergency alert from the keyboard.

It targets Ubuntu 24.04 LTS with GNOME first. Windows and macOS are welcome as contributions later.

How It Works

  1. First run: a sign-in dialog asks for your Pushover email, password and (if enabled) two-factor code, logs in once, registers a device, and stores only the session secret and device id in your desktop keyring. Your password is never saved.
  2. Catch-up: pending messages are downloaded into the local history (without a burst of popups) and deleted from Pushover's servers for this device.
  3. Listen: a WebSocket to wss://client.pushover.net/push signals new messages; PushCenter downloads them, raises a notification and updates the unread count on the tray icon.
  4. Act: mark read, open the URL, copy the text, or acknowledge an emergency-priority message (which stops the alert on all your devices).

Important

Marking a message read in PushCenter does not clear it from your phone. Pushover's public Open Client API only manages messages per device. Emergency-priority acknowledgements are the exception.

Key Scripts

Component Purpose
pushcenter The desktop app (run with no arguments), plus a command-line client (login, listen, list, show, read, ack ...)
pushcenter-core Library crate: Pushover API client, real-time WebSocket listener, SQLite history, keyring storage and the reconnecting engine
packaging/systemd/pushcenter.service Optional systemd user unit for the headless pushcenter listen (machines without the desktop app)
crates/pushcenter/data/ Launcher entry, app icon and stylesheet (embedded in the binary)

Install

Download a package from the Releases page:

Package Install
pushcenter_<version>-1_amd64.deb Ubuntu 24.04 or newer, Debian 13 or newer: sudo apt install ./pushcenter_*_amd64.deb
pushcenter-<version>-1.x86_64.rpm Fedora 42 or newer: sudo dnf install ./pushcenter-*.rpm
AUR package pushcenter Arch Linux and derivatives: yay -S pushcenter (or any AUR helper). Listing to follow.
PushCenter-<version>-x86_64.flatpak Any Linux with Flatpak, including releases too old for the .deb (Ubuntu 22.04, Debian 12): flatpak install ./PushCenter-*.flatpak. Not on Flathub (see TODO.rst).
PushCenter-<version>-windows-x64-setup.exe Windows 10/11. Experimental and untested; unsigned, so SmartScreen will warn. Portable .zip also provided.
PushCenter-<version>-macos-arm64.dmg macOS 13 or newer on Apple silicon. Experimental and untested; not notarized, so open it the first time with right-click > Open.

Older Linux releases (Ubuntu 22.04, Debian 12) ship GTK and libadwaita versions that are too old for the .deb; use the Flatpak there, which brings its own.

The Flatpak keeps its own sign-in, history and settings, separate from the .deb/.rpm install, so you sign in once more inside it.

The Windows and macOS builds have no panel/menu-bar icon yet and store the sign-in in Windows Credential Manager / the macOS Keychain. Reports from people who try them are very welcome.

Build from Source

Build with a current stable Rust toolchain and the GTK development packages:

sudo apt install libgtk-4-dev libadwaita-1-dev build-essential pkg-config
cargo install --path crates/pushcenter
pushcenter            # opens the window; sign in from there

When run from a source build, PushCenter installs its launcher entry and icon into ~/.local/share on first start (GNOME only shows an app's notifications when its launcher entry exists). Turn on Start at Login in the main menu to have it start hidden each time you log in.

Use either the desktop app or pushcenter listen on one device, not both: Pushover allows one live connection per device and closes the older one. The systemd unit in packaging/systemd/ is only for the headless listener.

To build the packages yourself, see Packaging and Releases below.

Key Commands

pushcenter                  # desktop app
pushcenter --hidden         # desktop app, panel icon only (login autostart)
pushcenter --demo           # desktop app with sample data, no account
pushcenter login            # sign in from the terminal instead
pushcenter listen           # headless: stay connected, print arrivals
pushcenter list --unread    # unread messages, newest first
pushcenter show ID          # full message (marks it read)
pushcenter read --all       # mark everything read
pushcenter ack ID           # acknowledge an emergency message
pushcenter status           # sign-in state and unread count
pushcenter logout           # forget the session on this computer

Development:

cargo build
cargo test                                   # mock servers, offline
cargo test -p pushcenter-core --test live -- --ignored   # real servers, fake session
cargo clippy --all-targets -- -D warnings
systemctl --user status pushcenter.service
journalctl --user -u pushcenter.service -f

Packaging and Releases

GitHub Actions (.github/workflows/):

  • Website (changes under site/, images/ or docs/images/): publishes https://stancel.github.io/PushCenter/ to GitHub Pages. packaging/scripts/build-site.sh assembles it locally into _site/.
  • CI (every push and pull request): cargo fmt, clippy, tests, a check that packaging/flatpak/cargo-sources.json matches Cargo.lock, and rstcheck on the docs.
  • Packages (tag vX.Y.Z, or Run workflow in the Actions tab): builds the .deb on Ubuntu 24.04, the .rpm in a Fedora 42 container and the .flatpak in Flathub's GNOME 51 builder container, installs each and runs it; builds the Windows installer (MSYS2 + Inno Setup) and the macOS .dmg as experimental jobs that never block a release. A tag creates a draft release with all packages and SHA256SUMS for review before publishing.

To release: set version in the top-level Cargo.toml, update CHANGELOG.rst and the release entry in crates/pushcenter/data/io.github.stancel.PushCenter.metainfo.xml, commit, then git tag vX.Y.Z && git push origin vX.Y.Z. After publishing the draft release, bump pkgver and sha256sums in packaging/aur/PKGBUILD (and regenerate .SRCINFO), and the fallback download links in site/index.html.

Flatpak and Flathub:

  • packaging/flatpak/io.github.stancel.PushCenter.yml builds the current checkout (GNOME 51 runtime, offline Cargo build).
  • packaging/flatpak/cargo-sources.json lists every crate for the offline build. Regenerate it with packaging/flatpak/cargo-sources.py whenever Cargo.lock changes; CI fails if it is stale.
  • Flathub: not submitted. Flathub's policy forbids AI-generated manifests and AI-opened submissions and requires disclosure of AI-generated code; this manifest is for the release bundle only.

Arch Linux (AUR): packaging/aur/PKGBUILD builds pushcenter from the release source; packaging/aur/.SRCINFO is generated from it with makepkg --printsrcinfo. On each release, update pkgver and sha256sums there and push both files to the AUR repository.

Local package builds use the same scripts as CI:

packaging/scripts/build-deb.sh   # Ubuntu 24.04+, needs cargo-deb
packaging/scripts/build-rpm.sh   # Fedora 42+, needs cargo-generate-rpm

File Structure

PushCenter/
├── Cargo.toml              # workspace
├── LICENSE                 # GPL-3.0
├── README.rst
├── CHANGELOG.rst
├── TODO.rst
├── CLAUDE.md               # notes for Claude Code sessions
├── .gitignore
├── crates/
│   ├── pushcenter-core/    # library: api, push, store, secrets,
│   │   ├── src/            #   icons, engine
│   │   └── tests/          # api.rs, engine.rs (mock), live.rs (ignored)
│   └── pushcenter/         # binary
│       ├── data/           # .desktop, metainfo, icon SVG, style.css
│       └── src/
│           ├── main.rs     # CLI and entry point
│           └── gui/        # mod (app), window, setup, tray, markup,
│                           #   install, config, demo
├── images/                 # icon (SVG, 1024 px PNG), light and dark logos
├── .github/workflows/      # ci.yml, packages.yml, pages.yml
├── site/                   # website (HTML, CSS, JS, fonts, sitemap)
├── packaging/
│   ├── scripts/            # render-icons, build-deb, build-rpm,
│   │                       #   make-ico, build-site
│   ├── windows/            # bundle.sh, pushcenter.iss (Inno Setup)
│   ├── macos/              # bundle.sh (.app + .dmg)
│   ├── flatpak/            # manifest, cargo-sources.{py,json}
│   ├── aur/                # PKGBUILD, .SRCINFO, LICENSE (Arch Linux)
│   └── systemd/pushcenter.service
├── docs/
│   ├── architecture.rst
│   └── images/             # README screenshots (demo data)
└── screenshots/            # local only, git-ignored

Contributing

Issues and pull requests are welcome, especially Windows and macOS support. Never include real Pushover credentials, secrets, device ids or message content in issues, tests or screenshots.

License

Copyright (C) 2026 Brad Stancel. PushCenter is free software under the GNU General Public License, version 3 or (at your option) any later version. See LICENSE.

Related Projects

About

PushCenter – Desktop Push Notifications. Read and dismiss your push notifications on the Linux desktop (unofficial Pushover Open Client, Rust + GTK4).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages