Gotify
Notification server with Android and CLI clients (alternative to PushBullet).
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
Gotify is a simple server for sending and receiving messages. The project has three parts: the core server gotify/server, the Android client gotify/android, and the command-line push tool gotify/cli. Any program, script or device can push notifications to your own server with an HTTP request, and clients subscribed to the message stream receive them in real time.
Main Components
gotify/server
The server is the heart of the project and comes with a web admin interface. Its main features are:
- Sending messages through the REST API
- Subscribing to and receiving messages through a WebSocket connection
- Managing users, clients (Client) and applications (Application)
gotify/android
The Android client subscribes to the server's message stream and shows a push notification when a new message arrives. You can get it from Google Play or F-Droid, or download the installation package directly from GitHub Releases.
gotify/cli
A command-line client for pushing messages to the server. It is not required: any HTTP client (such as curl) can push messages.
Core Concepts
- Client: A device or program that receives messages. It can manage clients, applications and messages, but cannot send messages.
- Application: A device or program that can only send messages.
- User: Each user can only view, edit and delete the clients and applications they created, as well as the messages sent by those applications.
- Message: Consists of content, a title, a creation time, an application ID and a priority, and can also carry additional information (Message Extras).
Who It's For and Use Cases
It suits self-hosting enthusiasts, operations staff and developers. If you don't want to depend on third-party push platforms, you can use it to receive notifications such as server alerts, scheduled job results, home automation events and script run status.
Key Advantages
- Fully self-hosted: Message data stays on your own server
- Easy to integrate: A single HTTP request pushes a message, making it simple to integrate into any script or program
- Real-time delivery: Built on WebSocket push
- Multi-platform support: Multi-architecture Docker images and multi-platform binaries are provided
- Extensible: Supports plugins, and the official documentation has guides for writing and deploying them
- Additional features: The documentation covers OpenID Connect login, session elevation, AI Agent (MCP) integration, and reverse proxy configuration for Apache, Caddy, HAProxy, Nginx and Traefik
Installation and Deployment
Docker
docker run -p 80:80 -v /var/gotify/data:/app/data gotify/server
# Or use the GitHub container registry
docker run -p 80:80 -v /var/gotify/data:/app/data ghcr.io/gotify/server
The images support multiple architectures: amd64, i386, arm64, armv7 and riscv64. The /app/data directory holds the database file (when using SQLite), application images, and certificates (when Let's Encrypt is enabled), so it should be included in your backups. The container's time zone can be set with the TZ environment variable.
docker-compose example:
services:
gotify:
image: gotify/server
ports:
- 8080:80
environment:
GOTIFY_DEFAULTUSER_PASS: 'admin'
volumes:
- './gotify_data:/app/data'
Binaries
Download the archive for your platform from GitHub Releases, extract it, and grant it execute permission to run it. It listens on port 80 by default, so sudo privileges are required. Supported platforms:
- Linux: amd64, 386, arm-7 (e.g. Raspberry Pi), arm64, riscv64
- Windows: 386, amd64
You can also build from source, or set it up as a systemd service by following the documentation.
Worth Noting
- For settings such as the port and database, read the official Configuration documentation first
- The official REST API documentation is provided in Swagger format
- There is a migration guide for version 3.x; read it before upgrading from an older version
Discover more
AnyCable
Realtime server for reliable two-way communication over WebSockets, Server-sent events, etc.
Artalk
Comment system built in Golang, providing a lightweight and highly customizable solution for adding comments to your website.
Centrifugo
Language-agnostic real-time messaging (Websocket or SockJS) server.
Ergo
Modern IRCv3 server written in Go, combining the features of an ircd, a services framework, and a bouncer.
plugNmeet
Scalable, High Performance, Open source web conferencing system.
remark42
A lightweight and simple comment engine, which doesn't spy on users. It can be embedded into blogs, articles or any other place where readers add comments.