Notification when syncthing shares are inactives.
1.1K
Monitors Syncthing folder activity and sends notifications when a folder has been inactive for too long. Runs as a Docker container and exposes a web UI for configuration.
The application polls the Syncthing REST API at regular intervals (default: every 15 minutes) to detect the last modification time of each monitored folder. If a folder has not been modified for longer than a configurable threshold, a notification is sent at the scheduled time.
Supported notification channels:
services:
syncthing-monitor:
image: waazaafr/syncthing-inactivity-notification
container_name: syncthing-inactivity-notification
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./data:/data
environment:
# Secret key
- SECRET_KEY=changeme_secret_key_very_long_and_random
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
The web UI is available at http://localhost:8080.
| Variable | Required | Description |
|---|---|---|
SECRET_KEY | Yes | Flask session secret key. Use a long, random value. |
DB_PATH | No | Path to the SQLite database (default: /data/syncthing_monitor.db) |
SYNCTHING_URL | No | Syncthing instance URL, e.g. http://192.168.1.10:8384. Overrides the database value on every start. |
SYNCTHING_APIKEY | No | Syncthing API key. Overrides the database value on every start. |
SYNCTHING_URLandSYNCTHING_APIKEYare convenient for initial setup but override the stored config on every restart. Use the web UI instead if you don't want this behaviour.
The /data volume holds the SQLite database. Mount it to preserve configuration across restarts.
volumes:
- ./data:/data
admin / no password).Create one or more channels in the Channels section, then assign them to each folder in Folders.
Discord: create a webhook in your Discord server settings (Server Settings → Integrations → Webhooks) and paste the URL into the form.
For each folder, configure:
Content type
Image
Digest
sha256:85b594804…
Size
54.4 MB
Last updated
3 months ago
docker pull waazaafr/syncthing-inactivity-notification