About Gotify
Gotify is an MIT-licensed notification server written in Go. Each sending application gets its own token and posts messages with a title, body and priority over HTTP; clients such as the web UI and the Android app receive them in real time through a WebSocket stream.
A small CloudSat server collects messages from cron jobs, monitors and home automation around the clock, and they stay in your own database rather than with a third-party push service.
After deploy, Gotify listens on port 80 with the default admin / admin account.
What you get with Gotify
- REST API for sending, WebSocket stream for receiving
- Separate tokens per sending application and per client
- Message priorities and an Android app
- SQLite by default, MySQL or PostgreSQL optional
- Plugins written in Go
Gotify use cases
- Phone alerts from backups, cron jobs and CI
- An alert target for monitors such as Gatus that support Gotify
- A private replacement for third-party push services
After you deploy Gotify
- As soon as the server is Running, open
http://<server IP>and sign in asadmin/admin. - Change the admin password right away, then create an application to get its token.
- Send a test with
curl 'http://<server IP>/message?token=<app token>' -F title=Test -F message=Hello. - Put HTTPS in front with a reverse proxy that passes WebSocket upgrades, then log in from the Android app.
Gotify ports
Open these in your firewall if you use one: 80/tcp Gotify HTTP and WebSocket, 443/tcp HTTPS proxy.
Gotify FAQ
Is there an iPhone app?
Not an official one. Gotify ships a web UI, an Android app and a CLI; on iOS, use the web interface or a third-party client.
Where do I change the port or database?
In Gotify's configuration: version 3 reads settings such as GOTIFY_SERVER_PORT and GOTIFY_DATABASE_DIALECT from the environment, including /etc/gotify/server.env. Restart the service after changes.
Disclaimer. The Gotify project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.