Folder Watch Daemon (with e-Mail Notification)
  • Go 97.6%
  • Dockerfile 2.4%
Find a file
Martin Riedl 4e709ab8bc
All checks were successful
Build and Release / Build and Release (push) Successful in 2m41s
feat: new exclude list option
2026-07-01 19:44:07 +02:00
.forgejo/workflows Merge pull request 'chore(deps): update docker/setup-buildx-action action to v4' (#13) from renovate/docker-setup-buildx-action-4.x into develop 2026-06-19 20:10:23 +00:00
.gitignore initial check in 2025-05-16 17:50:49 +02:00
.releaserc ci: new release configuration 2025-05-16 18:00:04 +02:00
Dockerfile Merge pull request 'chore(deps): update alpine docker tag to v3.24.1' (#17) from renovate/alpine-3.x into develop 2026-06-19 20:00:36 +00:00
go.mod chore(deps): update module github.com/wneessen/go-mail to v0.7.3 2026-06-19 20:36:47 +00:00
go.sum chore(deps): update module github.com/wneessen/go-mail to v0.7.3 2026-06-19 20:36:47 +00:00
mail.go fix: send same file multiple times 2026-06-23 18:06:21 +02:00
main.go initial check in 2025-05-16 17:50:49 +02:00
README.md feat: new exclude list option 2026-07-01 19:44:07 +02:00
renovate.json chore(config): migrate config renovate.json 2025-08-03 04:34:03 +00:00
settings.go feat: new exclude list option 2026-07-01 19:44:07 +02:00
watcher.go feat: new exclude list option 2026-07-01 19:44:07 +02:00

notify

Watch for file / folder changes and send a email notification.

Run notify

Environment Variables

Variable Name Default Value Description Example
FOLDER folder path to watch /data
EXCLUDE_LIST comma-separated file name patterns to exclude .log,temp
PERIODIC_INTERVAL 3600 full scan interval in seconds 1800
MAIL_FROM mail sender address sender@mail.xyz
MAIL_TO mail receiver address receiver@mail.xyz
MAIL_SUBJECT File Notification mail subject Something Changed...
MAIL_HOST mail server host name (SMTP) smtp.mail.xyz
MAIL_SMTP_USER mail SMTP user name sender123
MAIL_SMTP_PASSWORD mail SMTP password highs3cure

Docker Compose

Check Container Info for the latest version.

services:
  notify:
    image: git.martin-riedl.de/martinr92/notify:v1.0.1
    environment:
      - FOLDER=/data
      - ... (see Environment Variables)
    volumes:
      - /host/folder:/data