Tiny localhost cron daemon for humans and AI agents. Single Go binary, JSON file storage, HTTP API. Schedule shell commands (recurring or one-shot), get notified via ntfy, fire webhooks on completion.
go build -o vaemon .
cp vaemon /opt/homebrew/bin/Run as a proper daemon (auto-start, kept alive):
cp com.vaemon.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.vaemon.plistOr just run it in a terminal: vaemon serve. Listens on 127.0.0.1:8686, data lives in ~/.vaemon/.
Run vaemon ui (aliases: dashboard, open) or visit http://127.0.0.1:3307 — a web dashboard embedded in the binary (no extra process; port via VAEMON_UI_ADDR). The API port (8686) stays JSON-only for agents. Job list with humanized schedules, live next-run countdowns, last-run status; click a job for full details, run history with output, run-now and delete. Auto light/dark, polls every 5s.
Rebuild it after changing web/: cd web && bun install && bun run build, then go build (output is embedded via go:embed).
# recurring — standard cron or @every / @hourly / @daily
vaemon add "*/15 * * * *" --cmd "backup.sh" --name backup --ntfy my-topic --when failure
# one-shot — RFC3339, +duration, or HH:MM
vaemon at +30m --cmd "say 'tea is ready'" --name tea
vaemon at 09:00 --cmd "open -a Mail" --ntfy my-topic --title "morning"
vaemon list
vaemon run backup # trigger now
vaemon runs --job backup # history: status, exit code, output
vaemon rm backup
# send an ntfy notification directly, no job involved
vaemon notify "deploy finished" --topic my-topic --tags tada- Jobs run under the daemon's environment (launchd), not your login shell. The bundled plist sets a sane
PATHincluding Homebrew; anything else, pass with--env KEY=VALUE(repeatable) or use absolute paths. - CLI-added jobs run in the directory where you ran
vaemon add(override with--cwd). API-added jobs default to$HOMEunless"dir"is set.
Notification body defaults to the command's output. Customize with --message "{{name}} exited {{exit_code}}: {{output}}". Failures auto-tag ❌ + high priority; successes tag ✅.
- Pick a topic name (it's the password — make it unguessable):
my-alerts-x7k2m9 - Subscribe in the ntfy phone app or
ntfy subscribe <topic> - Set it once:
export VAEMON_NTFY_TOPIC=dudu-alerts-x7k2m9(or in the launchd plist) — then--ntfyflags andnotifyneed no topic - Self-hosted server:
VAEMON_NTFY_SERVER=https://ntfy.example.com, auth viaVAEMON_NTFY_TOKEN
Base URL http://127.0.0.1:8686. All JSON.
| Method | Path | What |
|---|---|---|
| POST | /jobs |
create job |
| GET | /jobs |
list jobs |
| DELETE | /jobs/{id} |
delete (accepts name too) |
| POST | /jobs/{id}/run |
trigger now |
| GET | /runs?job=&limit= |
run history |
| GET | /health |
liveness |
Create a job:
curl -s localhost:8686/jobs -d '{
"name": "nightly-report",
"schedule": "0 22 * * *",
"command": "python3 ~/scripts/report.py",
"dir": "/Users/me/scripts",
"env": ["API_KEY=xyz"],
"timeout": "10m",
"notify": {"topic": "my-topic", "when": "always", "template": "{{output}}"},
"webhook": "http://localhost:9000/hooks/report-done"
}'One-shot: use "run_at": "2026-07-15T09:00:00-03:00" instead of schedule. The webhook receives the full run record (job, status, exit code, output) as JSON POST when the job completes — point it at anything that should react, e.g. an agent hook.
Missed one-shots (daemon was down at trigger time) run immediately on next start.
| Var | Default | |
|---|---|---|
VAEMON_ADDR |
127.0.0.1:8686 |
daemon bind address |
VAEMON_DIR |
~/.vaemon |
jobs.json + runs.jsonl |
VAEMON_UI_ADDR |
127.0.0.1:3307 |
dashboard bind address |
VAEMON_NTFY_SERVER |
https://ntfy.sh |
ntfy server |
VAEMON_NTFY_TOPIC |
— | default topic |
VAEMON_NTFY_TOKEN |
— | Bearer token for auth'd servers |