Areas we serve

Self-Hosted Notifo: Notify Your Users, Then Stop Once They Have Seen It

Your app already emails people. Then someone asks for a bell icon in the corner, then a phone push, then “don’t email me if I already saw it on the site.” That is three providers, three templates, and a bug where the receipt email still goes out after they clicked the order in the browser.

Notifo (notifo-io/notifo) is a MIT-licensed notification service for that problem. About 900 GitHub stars. It came out of the Squidex CMS and is meant for products: shops, collaboration tools, news, anything with users who subscribe to some topics and not others. You can try the hosted app at app.notifo.io, or run the squidex/notifo image yourself. This is not Gotify. Gotify is a pipe from your server to your phone. Notifo is the system your product uses to tell its users, on the channels they actually asked for.

Topics, not a blast list

Users subscribe to paths. A shop might use clothes/shoes/nike. Your backend posts an event on a more specific path, such as one model of shoe. Notifo matches parent subscriptions, so “everything Nike” and “only this task” can live in the same tree. Each subscription has its own channel preference. Project-wide updates stay in the web inbox. The one task someone starred also sends mail.

The useful trick is confirmation. A notification can be “send until they explicitly confirm,” “send until they have seen it,” or just send. Unconfirmed items go through the queue, with a delay, and retries. If they already opened the order in the app, the email does not have to follow them home. You also get a record of delivered, seen, and confirmed, which is what a support desk asks for when a customer says they were never told.

Channels in the box include email (SMTP, SES, and a couple of ESPs), SMS, Firebase mobile push, Telegram, Discord, web sockets with polling as a fallback, web push, and a plain webhook. Email templates are MJML plus Liquid. There is a small JavaScript widget if you want the overlay in your own site instead of building the inbox.

What you run

The container is ASP.NET. It holds the API, the management UI, and the workers. You still need a database. MongoDB is what the bundled Compose file uses. PostgreSQL, MySQL, and SQL Server work too, but the job queue has to match: SQL storage cannot keep the Mongo-only scheduler, and Notifo refuses to boot if you mix them. Redis is only for more than one app instance. Uploaded images need a disk or object storage.

TLS is not a nice-to-have. Web push and the embeddable widget need a secure context, so plain HTTP on an IP address will look “up” and still fail in the browser. The Compose setup puts Caddy in front and asks Let’s Encrypt for the domain in .env. Point DNS at the host before you start it, or the certificate step just sits there.

Replace the keys that shipped in the repo

The default web-push VAPID key pair is in the public source tree. Anyone can read that private key. Generate your own pair before the first browser subscribes. Subscriptions are tied to the public key, so changing it later silently kills every existing push. The sample GitHub and Google login credentials belong to notifo.io and will not match your domain. The Compose file leaves those empty, which hides the buttons. Leave them empty or register your own apps. Do not “fix” login by pasting their client secret into your server.

Then create the first administrator and decide whether password login stays on. Back up the database and the asset volume. The notification history is the audit trail. A container rebuild that forgets the Mongo directory is how you learn that queues lived in the database, not in the image.

Good fit / skip it

Good fit: a product that notifies its own users, with topics, preferences, and a need to not double-send. Canadian shops that would rather keep order alerts and customer addresses on a host they operate.

Skip it: you want one push when a disk fills up. That is Gotify or a webhook. Notifo is a user system, a database, and a TLS name. It is the wrong tool for a single admin ping.

Bottom line

Notifo is the notification backend for an app: subscribe by topic, send on the channels that still make sense, and stop once the person has seen it. Self-host it when those messages are customer data. Give it a real database, a real certificate, and keys that are not the ones published on GitHub.

Talk with Swift Host if you want that stack on a Canadian VPS with the disk for Mongo and a name that can hold a certificate. The bell icon is the easy part. The queue behind it is what you have to operate.

Tags:
  • Notifo
  • Notifications
  • Email
  • Web Push
  • Self-Hosted

Need Help With Your Hosting?

Tell us about your application — we respond within 1 hour with honest recommendations.