Self-host Gotify
v3.1.1Real-time push notification server with REST API and web UI
docker run -p 80:80 -v /var/gotify/data:/app/data gotify/server- Stars
- 16 207
- Ports
- 80 (HTTP server listener), 443 (HTTPS listener when SSL is enabled)
gotify/serverWhat is Gotify?
Gotify is a notification server you run on your own hardware: applications push messages to it through an HTTP REST API while clients subscribe to the message stream over WebSocket, so a push shows up right away in the built-in web UI or in the companion Android app. It handles three kinds of accounts itself — users, client tokens for readers and application tokens for senders — all created and managed from the web interface, with optional public registration for new accounts. Every message carries a priority (0 to 10) that clients use to decide how intrusive the notification is, and an extras field can switch rendering to Markdown, attach a click URL or tune notification behaviour. Login can be delegated to an OpenID Connect provider (PKCE required) with local passwords switchable off, and sensitive actions such as deleting an application or changing a password need a re-authenticated session. TLS is served by the app itself, from your own certificate files or via Let's Encrypt. The Go server ships as a multi-arch container image and as binaries for Linux and Windows, uses SQLite out of the box and can talk to MySQL or PostgreSQL instead. Optional plugins (Linux and macOS only) add custom HTTP handlers, webhook receivers or polling feeds, and an optional MCP endpoint at /mcp lets AI agents push a notification to you with an application token.
Gotify alternatives
NotifoOpen-source, self-hosted notification service with a REST API and management UI that fans events out over email, SMS, mobile push, web push and webhooks.CompareNotifo with Gotify
gowaOpen-source, self-hosted WhatsApp gateway in Go: a REST API plus web dashboard, multi-account support, signed webhooks, scheduled sends, and an MCP endpoint.Comparegowa with Gotify
notifkitSelf-hosted notification engine sending across channels with user preferences, timing rules, retries, fallback, scheduling, workflows, dashboard, and delivery tracking.Comparenotifkit with Gotify
GogsA lightweight, open-source, self-hosted Git service written in Go: repos, issues, pull requests, wikis and LDAP login, run from one binary or a Docker image.CompareGogs with Gotify
GokapiAn open-source, self-hosted Firefox Send alternative: expiring download links, end-to-end encryption, user roles, file requests and optional S3-compatible storage.CompareGokapi with Gotify
mollysocketMollySocket is a self-hosted, open-source server that relays Signal notifications to Android via UnifiedPush distributors like ntfy.Comparemollysocket with Gotify
TinodeA self-hosted, open-source instant messaging platform: Go server plus Android, iOS, web and command-line clients, group chat, WebRTC calls and chatbots.CompareTinode with Gotify
AppwriteThe open-source cloud for agents & devs. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime, WAF and moreCompareAppwrite with Gotify
Should you self-host Gotify?
Gotify scores 73/100 on selfhost.directory (how scoring works) and ranks #3 of 20 in Notifications. It has 16 207 GitHub stars, +158 in the last 30 days.
It shipped 6 stable releases in the past year. The latest, v3.1.1, came out on 15 September 2026. New versions land roughly every 6 weeks.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is ntfy (85/100, 35 536 stars). It scores higher overall, so compare the two before you pick. See Gotify vs ntfy side by side.
Features
- Built-in HTTPS with Let's Encrypt
- MCP endpoint for AI agents
- Message extras (Markdown, click URL)
- Message priorities
- OpenID Connect single sign-on
- Optional public user registration
- Plugin SystemLinux and macOS only
- Push messages via REST API
- Real-time delivery over WebSocket
- Session elevation for sensitive actions
- User, client and application management
- Web UI
Gotify README
We wanted a simple server for sending and receiving messages (in real time per WebSocket). For this, not many open source projects existed and most of the existing ones were abandoned. Also, a requirement was that it can be self-hosted. We know there are many free and commercial push services out there.
More in Notifications
iGotify-Notification-AssistentSelf-hosted bridge forwarding Gotify notifications to iOS via Apple's push service and SecNtfy, with end-to-end encryption and a native iOS app.
laudspeakerSelf-hosted, open-source customer engagement platform for building visual onboarding journeys and sending event-triggered email, SMS, push and webhook messages.
MagicPushA self-hosted, open-source push notification platform for developers to send, schedule, and track notifications across web, Android, and iOS.
mailriseMailrise is a self-hosted, open-source SMTP server that transforms emails into Apprise notifications for 60+ services like Matrix, Nextcloud, and mobile push.
mattermost-push-proxySelf-hosted push notification proxy that relays APNs and FCM notifications to Mattermost mobile apps on iOS and Android.
MINDMIND is a self-hosted, open-source reminder app sending push notifications via 100+ Apprise platforms with mobile-friendly UI and REST API.
mollysocketMollySocket is a self-hosted, open-source server that relays Signal notifications to Android via UnifiedPush distributors like ntfy.
naaradNaarad is a self-hosted ntfy.sh instance for IIT Kharagpur community with Heimdall auth, message caching, attachments, web push, and iOS notifications via Docker Compose.
nitropingNitroPing is a self-hosted, open-core feedback platform for product teams to collect and manage user feedback across web, iOS, and Android apps.
NotifiarrSelf-hosted notification agent that connects *Arr apps, Plex, Jellyfin, and other services to Discord with rich formatting, health checks, and media request automation.
notifkitSelf-hosted notification engine sending across channels with user preferences, timing rules, retries, fallback, scheduling, workflows, dashboard, and delivery tracking.
NotifoOpen-source, self-hosted notification service with a REST API and management UI that fans events out over email, SMS, mobile push, web push and webhooks.

0 comments