Gotify — Self-Hosted Push Notification Server
Gotify is a simple, self-hosted push notification server with a REST API, real-time WebSocket delivery, and a web UI plus Android app for receiving alerts.
Staging seguro para este activo
Este activo primero queda en staging. El prompt copiado pide inspeccionar los archivos staged antes de activar scripts, config MCP o config global.
npx -y tokrepo@latest install cfc426e7-39c1-11f1-9bc6-00163e2b0d79 --target codexPrimero deja archivos en staging; la activación requiere revisar el README y el plan staged.
What it is
Gotify is a self-hosted push notification server written in Go. It provides a REST API for sending notifications, real-time WebSocket delivery for receiving them, a web UI for management, and an Android app for mobile alerts. It is MIT licensed and designed to be simple to deploy and operate.
Gotify serves developers and sysadmins who need a private notification channel for server alerts, CI/CD events, cron job results, or any automated messaging without relying on third-party services.
How it saves time or tokens
Gotify replaces complex notification setups (email servers, Slack webhooks, SMS gateways) with a single self-hosted service and a one-line curl command. No external accounts, no API quotas, no per-message costs.
How to use
- Deploy with Docker:
docker run -d --name gotify -p 8080:80 \
-v gotify-data:/app/data \
gotify/server
- Open
http://localhost:8080, log in with default credentials, and create an application token. - Send a notification:
curl -X POST 'http://localhost:8080/message?token=YOUR_TOKEN' \
-F 'title=Alert' \
-F 'message=Deployment complete' \
-F 'priority=5'
Example
# Deploy Gotify
docker run -d --name gotify -p 8080:80 \
-v gotify-data:/app/data gotify/server
# Send a notification via REST
curl -X POST 'http://localhost:8080/message?token=APP_TOKEN' \
-F 'title=Build Status' \
-F 'message=Build #42 passed' \
-F 'priority=5'
Related on TokRepo
- Self-Hosted Tools — More self-hosted infrastructure and services
- DevOps Tools — DevOps workflows that integrate with notification systems
Key considerations
When evaluating Gotify for your workflow, consider the following factors. First, assess whether your team has the technical prerequisites to adopt this tool effectively. Second, evaluate the maintenance burden against the productivity gains. Third, check community activity and documentation quality to ensure long-term viability. Integration with your existing toolchain matters more than feature count alone. Start with a small pilot project before rolling out across the organization. Monitor resource usage during the initial adoption phase to identify bottlenecks early. Document your configuration decisions so team members can onboard independently.
Common pitfalls
- The default admin password should be changed immediately after first login; leaving it exposes your notification server.
- WebSocket connections through reverse proxies (Nginx, Caddy) require proper upgrade headers; misconfiguration causes dropped connections.
- The Android app is not on Google Play; install it from F-Droid or the GitHub releases page.
Preguntas frecuentes
There is no official iOS app. iOS push notifications require Apple Push Notification Service, which complicates self-hosted solutions. Community workarounds include using the web UI or third-party bridging apps.
Yes. Tools like Prometheus Alertmanager, Grafana, and custom scripts can send alerts to Gotify via its REST API. Any system that can make HTTP POST requests can push notifications.
Put Gotify behind a reverse proxy (Nginx or Caddy) with HTTPS. Use strong application tokens and change the default admin password. Optionally restrict access by IP or add HTTP basic auth at the proxy level.
Gotify supports Markdown formatting in messages when the content type is set to 'text/markdown'. The web UI and Android app render formatted text, links, and basic styling.
Gotify uses SQLite by default, stored in the data volume. This is sufficient for most personal and small-team use cases. There is no built-in support for external databases like PostgreSQL.
Referencias (3)
- Gotify GitHub— Self-hosted push notification server with REST API and WebSocket
- Gotify Documentation— Docker deployment and web UI management
- Gotify Docs— Android app available on F-Droid
Relacionados en TokRepo
Discusión
Activos relacionados
Homarr — Customizable Self-Hosted Server Dashboard
Homarr is a sleek, modern dashboard for your self-hosted server that integrates with dozens of services. It provides real-time monitoring widgets, application shortcuts, and Docker container management in one unified interface.
Cosmos Server — Secure Self-Hosted Home Server Platform
A secure self-hosted home server platform with built-in reverse proxy, authentication, anti-DDoS protection, and a container management UI for running self-hosted applications safely.
Owncast — Self-Hosted Live Streaming Server
An open source, self-hosted, decentralized live video streaming and chat server that gives you full control over your broadcasts.
Navidrome — Self-Hosted Music Server & Streamer
Navidrome is a lightweight, self-hosted music server compatible with Subsonic clients, letting you stream your entire music collection from anywhere.