Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Gotify

Gotify

Gotify is a self-hosted push notification server. Send a message from any script with one curl call and receive it over WebSocket in the web UI or the Android app. 15,700+ GitHub stars.

At a glance

License MIT Version Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

Access

  1. Open the Gotify web interface: http://<SERVER-IP>
  2. The admin credentials are stored in: /root/gotify/.env
  3. Change the admin password from the web UI after the first login.

Sending Messages

Create an Application

  1. Open the Gotify web interface.
  2. Create an Application.
  3. Copy the generated application token.

Send a Message

curl -X POST 'http://<SERVER-IP>/message?token=<APP_TOKEN>' \
     -F 'title=Hello' \
     -F 'message=world' \
     -F 'priority=5'

Clients can subscribe to live notifications through: /stream

Important Files & Directories

  • Install Path: /root/gotify
  • Compose File: /root/gotify/docker-compose.yml
  • Environment File: /root/gotify/.env
  • Docker Data Volume: /var/lib/docker/volumes/gotify_gotify_data

Docker Management

View status:

cd /root/gotify
docker compose ps

View logs:

cd /root/gotify
docker compose logs -f

Restart Gotify:

cd /root/gotify
docker compose restart

Stop Gotify:

cd /root/gotify
docker compose down

Start Gotify:

cd /root/gotify
docker compose up -d

More in Self Hosted

Related apps.

Deploy Gotify now. From $2.48/mo.