skirl

Changelog

What changes for people who run Skirl, release by release. The upgrade notes for every release are in docs/help/upgrading.md.

1.0.0#

The first release. Skirl is a self-hosted notification server: anything that can send to ntfy can send to Skirl by changing the address, and Skirl adds what ntfy leaves to config files and the command line.

Setting it up

  • One container or one binary, no config file. Open the address, create the admin, and a five-step wizard checks the rest: the public address, HTTPS, your reverse proxy (with the exact lines to fix nginx, Caddy or Traefik when something is wrong), push keys, and a test notification to this browser.
  • SKIRL_SETUP_TOKEN keeps a server reachable from the internet safe until the admin exists.

Using it

  • An inbox for all your topics, with read state that follows you from the laptop to the phone, search, and filters for unread and urgent messages.

  • Notifications on phones and desktops through the browser's web push, including the iPhone and iPad as a Home Screen web app, without an app from a store.

  • Proof of delivery: for each message, which device got it and when, or why not (muted, quiet hours, the browser closed, the subscription gone).

  • iPhone and iPad Home Screen apps (iOS 18.4 and later) and Safari 18.5 and later confirm the notifications they get. Skirl's code on the device used to fail before it could (it asked to show the notification itself, which they refuse there), so those deliveries stayed at "sent".

  • A device confirms a notification as soon as it arrives, before anything else, and says which build of Skirl's code it runs. When a step of that code fails (showing it, its buttons or picture, the badge, closing old notifications, a tap), the device tells your server which step and the error: a message's deliveries, the delivery log and Diagnostics → Devices show it, and the Devices check warns for 24 hours. A notification a browser refuses with its buttons or picture is shown without them.

  • Check this device in Settings → Notifications goes through each step on the device in front of you (notifications allowed, the subscription, Skirl's code and its build, a test sent, arrived, handled without an error) and says which fails and what to do. The admin's Send a test follows its test the same way.

  • A device whose Skirl code is older than the server says "Needs to open Skirl once to update"; opening Skirl there updates it at once.

  • Quiet hours, muting, and "notify me from priority" per topic.

  • Every page updates by itself: a change made in one browser shows in the others within seconds, admin pages included.

  • Connect a system: from "what is sending?" to its first message arriving, step by step, with what to check when nothing comes.

  • Help inside the app that covers everything: the same pages as docs/help/ on GitHub, grouped under Using Skirl, Connecting things and Running Skirl, with a page for each sender, every setting, every Diagnostics check, every delivery status, every error message, every command and every start-up variable. A search box finds a setting by its label, a sender by name or an error by its text, in the browser; every heading has a link to copy; and each setup, settings page, admin page, check, delivery status and error in the app has a "Learn more" to its entry. A test keeps Help complete: a sender, template, event, setting, command, variable or check added without a help entry fails it.

  • Attachments, scheduled messages, buttons (open a link, copy, call a URL), and updates that replace an earlier message instead of piling up.

  • Opening a message by any route, a notification and a message link included, marks it read on all your devices.

  • Delete in an opened message's More menu, for whoever may send to the topic: it asks first, then removes every version for everyone, as ntfy's delete by sequence id does.

  • A deleted message's notification is taken away from the devices it went to, and so is a message's after a clear or delete through the ntfy API: at once in Chrome, Edge and Firefox (where closing it would cost the browser's allowance for pushes, one silent line takes its place); in Safari and on an iPhone or iPad, when the next notification arrives or Skirl is opened. Opening Skirl closes the notifications of messages that are gone. Notifications of two topics that use the same sequence id no longer replace each other.

  • A search longer than the server takes (8 words, 200 bytes) says so under the search box instead of sending it.

Running it

  • An admin console in the browser for people, topics, tokens, settings, the delivery log and diagnostics: nothing needs the command line. The server checks run by themselves, so what they show is never hours old.
  • Pages load fast behind any proxy: the web app goes out compressed (brotli or gzip), about 60% fewer bytes on a first visit.
  • An installation guide with one complete path per setup (at home, a Cloudflare Tunnel, Traefik, Caddy, nginx, systemd), a check after every step, and what to do when it works on the server but not in the browser.
  • Tokens that may only publish to one topic, made from the topic's "Send to this topic" tab with the snippet already filled in.
  • Ready-made setups for curl, shell scripts, Python, Apprise, Home Assistant, Uptime Kuma, Grafana, Prometheus Alertmanager, GitHub, Gitea and Forgejo, GitLab, Wazuh, and anything that posts to a Slack or Discord webhook. Each is run in CI: against the real tool, or for GitHub, GitLab and Uptime Kuma, which cannot run there, with their recorded or reproduced requests. Message templates (ntfy's language) turn any webhook's JSON into a readable message; admins write their own in the browser.
  • Any webhook, with no template written: the generic template finds the title, the text, the priority and the link in what a tool sends. To do better, "Listen for a real message" catches what your tool sends and builds a template from it as you click its parts.
  • Notifications about your Docker containers, with the optional Docker companion (ghcr.io/homelabza/skirl-docker): a message when a container crashes, runs out of memory, fails its health check or keeps restarting, replaced by "resolved" when it recovers. A stop you asked for, taking a Compose project down, an update or Docker restarting says nothing unless you turn on its Activity events (stopped, started, restarted, recreated from a different image), which come at the lowest priority; a restart is one message, not a stop and a start. It only reads from Docker, and a socket proxy in front lets it do nothing else.
  • Every setup on the Send tab shows its commands only once there is a token to put in them, so a placeholder is never copied.
  • A script with a bad token no longer locks everyone out: bad tokens pause only token requests from that address, and passwords still sign in. Wrong passwords are counted per address and user name, so one account under attack does not block another person at the same address; a wrong password still pauses that address's tokens, as ntfy does, and 100 failures from one address pause all its passwords.
  • Diagnostics has a card for every server check (Devices and Deliveries too), and its headline, Overview's line and the Admin count come from the same verdict, so they cannot disagree. Deliveries counts test notifications, says plainly when nothing was published, and warns when any notification of the last 24 hours failed, naming the devices and their people, with a link to those deliveries (the delivery log, Status set to Failed, and the device when it is one); the delivery log lists test notifications.
  • An address the app has no page for says which, and links to the nearest page that exists; under /admin/ it stays in the admin console and lists its sections. A test follows every link a Diagnostics check, a delivery status, an error message or a help page can give to a page the app has, with only the settings in the address that page reads.
  • Turning proxy mode off, or no longer trusting a proxy address, asks first and says how many people are signed in and will have to sign in again.
  • Deleting a person keeps the files they sent with their messages until they expire, and the delete asks first, saying what goes and what stays. It ends at once everything they have open: the app's live updates, and ntfy apps and scripts using their password or tokens (after skirl user delete, within 45 seconds).
  • An id is never given twice: a person, topic, token, device or message added after a delete gets a new number, so nothing recorded against the old one (a page still open on it, rate limits, read state, a push waiting to be tried again) passes to the new one. The next message after the newest one was deleted or expired arrives unread; ntfy apps reconnecting with since= get the delete of the newest message, and, given a deleted message's id, what came after it, as from ntfy (it used to be everything again). The upgrade rebuilds eight tables in place, after the usual copy, keeping every row and id.
  • Every skirl command and subcommand takes -h and --help. skirl user add follows "New people may create topics" (--can-create-topics overrides it), and skirl topic set --retention-days 0 is refused.
  • The setups say what works with the defaults: GitHub's steps no longer say to tick Stars (Optional, with New star), Uptime Kuma's make only Down messages high, and the Shell snippet works as copied.
  • Any webhook: a title, priority, tags, link, text or sequence id the sender gives in a header or the address wins over what the generic template works out (other templates keep their own parts, as in ntfy). A customised generic takes plain text; ?template=auto and ?template=forgejo always mean generic and gitea, this server's copy included. A template saved under one of those names before is renamed on upgrade (auto-saved, forgejo-saved) with everything kept; the log says so once, and Admin → Templates until an admin dismisses it.
  • Listen for a real message keeps the five most recent messages while it listens. Save as template and New template ask before saving over a name in use, saying whether it replaces a built-in, this server's copy of one or a template saved here.
  • Long Slack- and Discord-style posts arrive shortened instead of refused. Wherever Skirl shortens text it cuts at a character and ends with "…" (built-in templates, long file names, which keep their ending, notifications); saved templates have a shorten function.
  • The help page's Docker restore gives the container the backup file alone, so it works from a home folder on Linux; CI runs it.
  • skirl backup and skirl restore, a copy of the database before every upgrade, and a refusal to start on a database a newer release has used.
  • Images for amd64, arm64 and arm/v7 (Raspberry Pi), binaries for Linux, macOS and Windows, with checksums, build provenance and an SBOM.

Compatible with ntfy

  • The publish and subscribe API, its parameters, limits and error codes, checked against ntfy itself in CI. Where Skirl differs on purpose (topics are private until you share them, for one) it is listed in docs/ntfy-compat.md.
  • ntfy's phone apps work as clients: see docs/coming-from-ntfy.md for what works and what does not.

Privacy

  • No telemetry and no update check. A running Skirl contacts only the push service of each browser you subscribe (that is how web push works). Its server checks, which run by themselves every 30 minutes, open a connection only to the push services those browsers use; when an admin runs the checks, they try Google's, Mozilla's and Apple's all (no data is sent). The web app's fonts and scripts are its own; pictures a sender links to from other sites load only if an admin turns on Load images from other sites.
  • The server's log names a file by the first 6 characters of its id, never the whole link (a file link needs no sign-in).
  • With each receipt a device sends your server the build of Skirl's code it runs and, when a step fails, the step and the error; never anything from the message, and nothing goes anywhere else.

Not in this release

  • The hosted cloud and PostgreSQL (1.1). E-mail, SMS and phone calls. UnifiedPush. Importing users or history from ntfy.

This page on GitHub