Async daily check-ins, digests, and kudos for Slack — open source, self-hosted, free.
Your team's data lives in your infrastructure. No per-seat pricing, ever.
Runs on Cloudflare Workers (free tier) or plain Node — your call.
- ☀️ Async check-ins — at a time you choose, sunup DMs each participant a prompt. They answer a short form (configurable questions) whenever suits them — each person is prompted at the chosen hour in their own timezone.
- 📰 Channel digest — at digest time, one tidy message summarizes everyone's answers in the team channel.
- 🚧 Blocker tracking — blockers aren't a one-day mention; they're tracked until resolved. The next morning's prompt asks "still blocked?" with one-tap Resolved / Still blocked buttons, the digest shows every open blocker with its age ("blocked 3 days") — including ones whose owner went silent — and the App Home has a live blocker board.
- ⏰ Nudges — non-responders get one friendly reminder before the digest posts. Check in late anyway? The posted digest updates in place to include you.
- 😴 Vacation mode —
/sunup snooze 5pauses prompts and keeps you out of "waiting on" lists. - 🎉 Kudos —
/kudos @teammate for shipping the thingposts a celebration and feeds a 30-day leaderboard (workspace-wide in App Home; per channel in reports and the weekly retro). - 📈 Mood pulse — an optional 1–5 mood question, shown in the digest only as a team average (and only with 3+ responses).
- 🌇
/sundown— an optional evening checkout twin: what shipped, what's carrying over, wins worth celebrating. Same engine, sunset tone — a channel can run both a morning check-in and an evening checkout. - 📆 Weekly retro — on the week's last scheduled day, a summary posts after the digest: participation by day, mood trend, the week's blockers (up to eight), kudos totals, and streak leaders.
- 📄 CSV export —
/sunup exportgives a 15-minute signed download link for the channel's history (most recent 10,000 check-ins). No extra Slack scopes; your own Worker serves it. - 📊 Report pages —
/sunup reportmints a 24-hour signed link to a charted, printable team report: participation and mood trends (inline SVG, no external anything), blocker aging stats, streak and kudos leaderboards. Dark-mode aware, share-in-channel withreport share. - 🏠 Dashboard — click sunup in your sidebar: today's status, streaks, team participation history, and the kudos leaderboard, right in Slack's App Home.
Privacy by design: sunup requests no message-reading scopes. It only ever sees what people type into its own forms. Scopes: chat:write, commands, im:write, users:read (the last one for timezones and display names).
The /sunup report page — served by your own instance behind a 24-hour signed link.
You'll deploy your own instance: your Slack app, your Cloudflare account, your database.
- A Cloudflare account (the free tier is far more than enough)
- Node 22+ (24+ if you use the Node adapter instead of Cloudflare) and
npm - Permission to install a custom app in your Slack workspace
git clone https://github.com/briancorbin/sunup.git
cd sunup
npm install # prints ~15 audit advisories — all in dev-only tooling (the wrangler/vitest/tsx toolchain); nothing ships to the Worker or the Node server
npx wrangler login
# Create the database, then paste its id into apps/cloudflare/wrangler.jsonc
npx wrangler d1 create sunup --cwd apps/cloudflare
npm run db:migrate --workspace apps/cloudflare # wrangler lists the migrations and asks you to confirm (type y)
npm run deployNote the Worker URL printed at the end (e.g. https://sunup.<you>.workers.dev).
- Open slack-app-manifest.yml and replace
YOUR-WORKER-URLwith your Worker URL. - Go to api.slack.com/apps → Create New App → From a manifest → paste it in.
- Optional but nice: under Basic Information → Display Information, upload assets/icon-1024.png as the app icon.
- On the app page: Install to Workspace.
- Grab two values:
- Bot User OAuth Token (
xoxb-…) from OAuth & Permissions - Signing Secret from Basic Information
- Bot User OAuth Token (
cd apps/cloudflare
npx wrangler secret put SLACK_BOT_TOKEN # paste the xoxb- token
npx wrangler secret put SLACK_SIGNING_SECRET # paste the signing secretOptional: export and report links are HMAC-signed. By default the signing key is derived from your Slack signing secret; to use an independent key, set LINK_SECRET (npx wrangler secret put LINK_SECRET, or the LINK_SECRET env var on Node).
(If Slack showed a
In your team channel:
/invite @Sunup ← so it can post the digest
/sunup setup ← creates the check-in with sensible defaults
Teammates run /sunup join. That's it. /sunup help shows everything else:
| Command | What it does |
|---|---|
/sunup |
Submit (or edit) today's check-in |
/sunup setup [name] |
Create a check-in for the current channel |
/sunup join / leave |
Manage your participation |
/sunup status |
Show the channel's check-in config |
/sunup config |
Open the settings editor — a modal with timepickers, day checkboxes, and question editing |
/sunup config <field> <value> |
Quick edits: prompt 08:30, digest 12:00, days mon,wed,fri, tz Europe/London, reminder 30 (0 = off, otherwise at least 10 — the scheduler ticks every 10 minutes), mood off, name Standup |
/sunup questions Q1 | Q2 | Q3 |
Set custom questions (the last is the blockers question) |
/sunup snooze 5 / snooze off |
Vacation mode — pause your prompts, skip "waiting on" |
/sunup export |
CSV of the channel's check-in history (most recent 10,000 check-ins) (15-min signed link) |
/sunup report [week|month|quarter] |
Charted report page — participation & mood trends, blocker stats, leaderboards (24h signed link; add share to post it in the channel) |
/sunup remove |
Delete the channel's check-in and its history (asks to confirm) |
/sundown … |
Evening checkout — all the same subcommands as /sunup |
/kudos @user <message> |
Celebrate a teammate |
/sunup remove, /sunup config (the modal and the quick edits) and /sunup questions are allowed for the person who ran /sunup setup (stored as created_by) or any Slack workspace admin or owner (checked live via users.info). Everyone else gets a polite refusal. Check-ins created before migration 0006 have no recorded creator, so those remain manageable by anyone in the channel. Removals are logged (who removed what) in the Worker/Node logs.
join, leave, snooze, status, export, report, and checking in stay open to every channel member.
Set RETENTION_DAYS in apps/cloudflare/wrangler.jsonc (e.g. "90") to automatically purge runs and responses, kudos, and resolved blockers older than that. Open blockers are kept. Both adapters honor it (on Node, it's the RETENTION_DAYS env var).
sunup is deliberately split so the bot logic is portable and the platform is a plugin:
packages/core the entire bot — scheduling, check-in flow, digests,
kudos, Block Kit UI. Pure TypeScript + Web APIs (fetch,
Intl, WebCrypto). Zero platform imports. Talks to
persistence only through the Storage interface
(src/ports.ts).
packages/slack-app the Slack-facing application (slash command router,
modals, actions, App Home) on slack-edge — shared
verbatim by every adapter.
apps/cloudflare Workers adapter: HTTP entry, D1 Storage, cron trigger.
apps/node Node adapter: plain Node server (node:sqlite storage —
no database server to run), setInterval trigger, Dockerfile.
migrations/ one migration set, applied by wrangler (D1) and the
Node adapter's built-in runner alike.
The scheduler tick (runCron) is idempotent — every send is guarded by a persisted marker — so it's safe on any at-least-once trigger.
No Cloudflare account? Run the same bot as a plain Node (>= 24) process:
cd apps/node
SLACK_BOT_TOKEN=xoxb-… SLACK_SIGNING_SECRET=… BASE_URL=https://your-public-url npm startMigrations apply automatically on boot to DB_PATH (default ./sunup.db). Point your Slack app's request URLs at the public URL (a reverse proxy or cloudflared tunnel --url http://localhost:8787 for testing). Env vars: PORT, DB_PATH, BASE_URL, CRON_INTERVAL_MINUTES, RETENTION_DAYS, LINK_SECRET (optional, see below).
Or containerized: docker compose -f apps/node/docker-compose.yml up -d (see apps/node/docker-compose.yml).
Want sunup on AWS Lambda, Deno, or Bun? An adapter provides three things (see apps/node — it's a ~100-line entry plus a Storage implementation — the node:sqlite one is ~400 lines):
- An HTTP entry that hands Slack requests to the shared
@sunup/slack-app(built on slack-edge, runs on anything Web-standard) - A
Storageimplementation (packages/core/src/ports.ts; the D1 and node:sqlite versions are references) - A trigger that calls
runCron(deps, new Date())every 5–15 minutes
Core never imports platform code — PRs adding adapters are very welcome.
npm run typecheck # all workspaces
npm test # core unit tests (vitest)
npm run dev --workspace apps/cloudflare # local Worker (pair with a tunnel for Slack callbacks)Demo data: want the dashboard and digests to look lived-in without waiting three weeks? apps/cloudflare/scripts/seed-demo.mjs generates a fake 4-engineer team with realistic check-in history, blockers, moods, and kudos around your real standup (see its header for usage; --cleanup emits the SQL to remove it all).
Deploying your own instance from a clone you also hack on: wrangler.jsonc ships a placeholder database_id so your real one never lands in a diff. Copy it to apps/cloudflare/wrangler.local.jsonc (gitignored), paste your id there, and use npm run deploy:mine / npm run db:migrate:mine --workspace apps/cloudflare instead of deploy / db:migrate. It's a full copy, not an overlay — when wrangler.jsonc changes, update it too.
For live Slack callbacks against a dev instance, either deploy a second Worker (e.g. sunup-dev) or run wrangler dev behind a tunnel (cloudflared tunnel --url http://localhost:8787) and point a dev Slack app's URLs at it.
