95 lines
3.2 KiB
Markdown
95 lines
3.2 KiB
Markdown
---
|
|
title: Gotify
|
|
created: 2026-06-08
|
|
updated: 2026-06-08
|
|
type: app
|
|
tags: [catalogue, notifications, go, app-marathon-batch-rattrapage-3]
|
|
confidence: high
|
|
contested: false
|
|
sources: [https://selfh.st/apps/?tag=Notifications, https://gotify.net]
|
|
---
|
|
|
|
# 🔔 Gotify
|
|
|
|
> **Serveur de notifications push self-hosted** avec clients Android/iOS/desktop : recevez vos alertes sans dépendre du cloud.
|
|
|
|
## 📋 Informations Générales
|
|
|
|
| Champ | Valeur |
|
|
| :--- | :--- |
|
|
| **Site web** | [gotify.net](https://gotify.net) |
|
|
| **GitHub** | [gotify/server](https://github.com/gotify/server) |
|
|
| **License** | MIT |
|
|
| **Langage** | Go |
|
|
| **Étoiles GitHub** | 12k ⭐ |
|
|
| **Catégorie** | [[cat-notifications|Notifications]] |
|
|
|
|
## 📝 Description
|
|
|
|
**Gotify** est un serveur léger écrit en Go qui reçoit des messages via **API REST ou WebSocket** et les redistribue aux clients (Android, iOS, Linux, Windows, macOS, CLI, navigateurs). Idéal pour centraliser les alertes de vos scripts, cron, CI/CD, monitoring.
|
|
|
|
**Différence avec Ntfy** : Ntfy est plus minimaliste (topics publics, simple HTTP POST), Gotify offre une **gestion d'utilisateurs**, **priorités**, **plugins clients riches** (apps natives iOS/Android), et un **écosystème d'intégrations** plus large (Zabbix, Home Assistant, Apprise…).
|
|
|
|
**Pour qui** : homelabbers et sysadmins qui veulent **un push mobile privé** sans cloud tiers.
|
|
|
|
## 🚀 Installation
|
|
|
|
### Docker Compose (recommandé)
|
|
|
|
```yaml
|
|
version: '3.8'
|
|
services:
|
|
gotify:
|
|
image: gotify/server:latest
|
|
container_name: gotify
|
|
restart: unless-stopped
|
|
environment:
|
|
- GOTIFY_DEFAULT_USER_NAME=admin
|
|
- GOTIFY_DEFAULT_USER_PASS=changeme
|
|
volumes:
|
|
- gotify-data:/app/data
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.gotify.rule=Host(`gotify.example.com`)"
|
|
- "traefik.http.routers.gotify.entrypoints=websecure"
|
|
- "traefik.http.routers.gotify.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.gotify.middlewares=authelia@docker"
|
|
|
|
volumes:
|
|
gotify-data:
|
|
```
|
|
|
|
### Envoi d'une notification
|
|
|
|
```bash
|
|
curl -X POST "https://gotify.example.com/message?token=TOKEN" \
|
|
-F "title=Backup OK" -F "message=Backup de /data terminé à 03:00" -F "priority=5"
|
|
```
|
|
|
|
## 🔄 Alternatives
|
|
|
|
### Open Source
|
|
- [[app-ntfy]] — Plus minimaliste, sans auth obligatoire
|
|
- [[app-apprise]] — Client multi-services (envoie vers Gotify inclus)
|
|
- [[app-frigate-notify]] — Spécialisé caméras Frigate
|
|
|
|
### Propriétaires
|
|
- **Pushover** (5 USD) — Push mobile populaire
|
|
- **Pushbullet** — Multi-device push
|
|
|
|
## 🔐 Sécurité
|
|
- **Comptes utilisateurs** : chaque user a son token, isolation des flux.
|
|
- **HTTPS obligatoire** via Traefik (les tokens ne doivent pas transiter en clair).
|
|
- **Plugin Android FCM alternative** : possible d'utiliser UnifiedPush pour ne pas dépendre de Google.
|
|
|
|
## 📚 Ressources
|
|
- [Documentation](https://gotify.net/docs/)
|
|
- [Clients](https://gotify.net/docs/clients)
|
|
- [Intégrations](https://gotify.net/docs/integrations)
|
|
|
|
## Pages Liées
|
|
- [[cat-notifications]] — Catégorie Notifications
|
|
- [[app-ntfy]] — Concurrent
|
|
- [[app-apprise]] — Envoie vers Gotify
|
|
- [[recettes-docker-compose]] — Templates Docker
|