Push notifications the server can’t read.

Send an alert from any script, server or CI job with one line: whsp pub "backup finished". It’s sealed on your machine, the relay carries only ciphertext, and only your devices can open it.

Source available · whsp-dev/whsp · PolyForm Strict

How it works

your machine cron · CI · NAS · laptop
# WHSP_PUB_KEY is set: this machine can send, not read
the relay sees whsp.dev
route
POST /v1/topics/…
topic_id
—
envelope
—

Holds no keys, no topic names, no plaintext.

your devices with your key
  • Nothing yet.

web app, Android, iPhone, iPad, whsp sub

Real encryption, simulated network: this page makes a P-256 topic key and seals each message with WebCrypto the way whsp does. Nothing leaves your browser.

Where it runs

Send from the machines that do the work. Read on the devices you carry.

  • app

    On mobile

    Notifications on Android, iPhone and iPad, decrypted on the device.

  • browser

    Web app

    Sign up, manage topics and read them in any modern browser, with notifications even when its tab is closed.

  • CLI

    On your desktop

    whsp login signs in through your browser; whsp sub streams every topic to your terminal. A server you sign in reads them too.

  • CLI

    On a server

    Cron, CI, a NAS. With one topic’s publish key alone, whsp pub can send and never read. Apps that only call a URL send through whsp bridge on your network.

Get started

Two minutes: an account, then the CLI on the machines that send.

Pick your platform.

  1. Make an account

    In the web app or the mobile app. Keep the recovery key it shows you: it’s shown once.

  2. Install the CLIpackages planned

    x86-64 and arm64, from the release archive: the first line picks yours.

    arch=$(uname -m | sed 's/x86_64/x64/;s/aarch64/arm64/')curl -fsSLO https://github.com/whsp-dev/whsp/releases/download/v1.0.1/whsp-1.0.1-linux-$arch.tar.gztar -xzf whsp-1.0.1-linux-$arch.tar.gzsudo install whsp-1.0.1-linux-$arch/bin/whsp /usr/local/bin/

    Or download the x86-64 or arm64 archive yourself, and check it against SHA256SUMS. apt, dnf and AUR packages are planned.

    Or with Homebrew on Linux:

    brew install whsp-dev/whsp/whsp
  3. Sign this machine in

    It prints a link. Open it in the web app, check the code and approve.

    whsp login
  4. Make a topic and send

    whsp topics add alertswhsp pub alerts "backup finished"

    It’s in your inbox in the web app and the mobile app, and arrives as a notification once you turn those on. In a terminal, whsp sub streams every topic.

  5. Give a server a send-only key

    On your machine, print the topic’s publish key. On the server, set it and send: no sign-in, no read access.

    whsp topics key alerts > publisher.env# on the server, with WHSP_PUB_KEY from publisher.envwhsp pub "backup finished"

Keys that do one job each

Accounts work like a password manager’s: keys are made on your device, and the server stores only what it can’t open.

  • Publish keys whsp_pub_…

    For machines. A key sends to one topic and nothing else: it can’t read past or future messages or touch your account. Remove the topic and the key stops working everywhere.

  • Sign in by approval

    whsp login prints a link; your signed-in browser approves it and seals the session to the CLI. No password typed in a terminal.

  • Recovery key whsp_rec_…

    Shown once at sign-up. Forget your password and you lose nothing; the server still can’t open your topics.

  • Nothing left in the browser

    The web app keeps its keys in the tab’s memory. Close it and nothing on disk opens your topics, unless you choose to let notifications show what a message says.

Pricing

Every plan runs the same whsp: messages are sealed on the machine that sends them, stored only as ciphertext and opened only on your devices. Paying buys more room, not more privacy.

  • available

    Free

    €0 · no card needed

    Topics
    5
    Messages a day
    250
    Messages kept for up to
    24 hours
    Devices with notifications
    3

    Every feature, hosted on whsp.dev. Enough for a home lab or a handful of servers.

  • coming soon

    Pro

    €3 a month

    Topics
    100
    Messages a day
    10,000
    Messages kept for up to
    7 days
    Devices with notifications
    20

    More room than Free, with none of the upkeep: we run the server, keep it updated and back it up every 5 minutes.

  • available

    Self-hosted

    Your time · plus the hardware

    For when you like getting your hands dirty: build whsp-server from the source, then keep it running, updated and backed up yourself. You set the limits, and nothing goes through whsp.dev. For personal and other noncommercial use.

    How to self-host

Source available

Read every line that touches your messages: the crypto, the relay, the CLI and this site live in one repository, and every client passes the same published test vectors.

whsp is free for people and noncommercial organisations, under the PolyForm Strict licence with two additions. Companies may use the official apps and CLI with whsp.dev. whsp doesn’t take pull requests; issues are welcome.

Run your own relay with the same binary that serves whsp.dev, and close sign-up once your account exists.

# build whsp-server from the repo, thenWHSP_ALLOW_SIGNUP=false whsp-server --port 8080# point the CLI at itwhsp login --server https://whsp.example.com