Skip to content
camster91Public

About

Digital invitations and RSVP tracking with email/SMS, check-in and organizer workspaces. Next.js, TypeScript, PostgreSQL.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

470 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SealSend

Digital invitations with RSVP tracking, guest messaging and check-in, for one-off hosts and event planners.

SealSend lets a host design an invitation, send it by email or SMS, and watch responses come in. Guests RSVP from a public event page without creating an account. Planners who run events for clients get team workspaces, their own branding, client review links and webhooks into their other tools. It is a full-stack Next.js app backed by SQLite (Cloudflare D1 in production), with Stripe billing and Mailgun/Twilio delivery.

Features

Events and invitations

  • Step-by-step event wizard: details, design upload, customization, custom RSVP fields, guest list and preview
  • Optional AI draft: describe the event and get a structured draft for the host to review; the model is told not to invent venues, prices or dates, and every assumption is flagged for confirmation (OpenAI, with a non-AI fallback)
  • Event templates, one-click clone for repeat events, and a publish readiness check before invitations go out
  • Public event page with add-to-calendar (Google, Apple, Outlook / .ics), comments and a sign-up board

Guests and RSVPs

  • Guest list with CSV import (partial imports and duplicate detection), tags, plus-ones and custom questions
  • Response table, RSVP summary and analytics, CSV export
  • Email and SMS invitations, reminders (manual or automatic) and announcements with audience selection and SMS cost preview
  • Per-guest magic links and QR codes, plus a check-in screen for the door

For event organizers

  • Workspaces with owner, admin, planner and check-in roles
  • Brand kit: logo, colours, email sender name and SMS signature on every event
  • Clients: client records, read-only review links with live RSVP totals, recorded approvals and per-client history
  • Signed webhooks for RSVPs, check-ins, publishing and client approvals, for Zapier, Make or your own CRM (docs)

Accounts, billing and safety

  • Passwordless sign-in with 6-digit email or SMS codes, or password sign-in, with database-backed sessions. Which is offered depends on the configured providers (see Deploying)
  • Stripe billing for a free tier, one-time Event Pass, annual Pro and SMS top-ups. During the controlled beta (BETA_MODE in src/lib/constants.ts) paid checkout is turned off and every account gets the beta plan
  • Test-only switches for payments and outbound messages, plus opt-out and suppression handling for SMS and email
  • Account data export and deletion, rate limiting, upload quotas, and a Content Security Policy with HSTS and frame-ancestors 'none'
  • Web app manifest, so it can be added to a home screen

Tech stack

Area Technology
Framework Next.js 16 (App Router), React 19, TypeScript
Database SQLite with raw SQL: Cloudflare D1 in production, node:sqlite locally
Styling and UI Tailwind CSS 4, Radix UI Tooltip, Framer Motion, Lucide icons
Forms and validation React Hook Form, Zod
Email / SMS Mailgun or Cloudflare Email Service; Twilio
Payments Stripe
AI drafts OpenAI Responses API (structured JSON output)
Testing Node test runner with tsx, Playwright, axe-core
Hosting Cloudflare Workers (vinext build)

Getting started

Prerequisites: Node.js 22.13+. Mailgun, Twilio and Stripe are optional locally; features that need them stay off.

git clone https://github.com/camster91/SealSend.git
cd SealSend
npm install
cp .env.example .env.local   # fill in values; see comments in .env.example

Keep PAYMENTS_TEST_ONLY=true and COMMUNICATIONS_TEST_ONLY=true outside production.

The local database is a SQLite file at SQLITE_PATH (default .data/sealsend.db). Load the schema (idempotent) with:

npx tsx -e "import('./src/lib/db/migrate.ts').then((m) => m.runMigrations())"

Run it:

npm run dev      # http://localhost:3000
npm run build
npm run start

Dockerfile and docker-compose.yml are left over from the old VPS hosting and are not used in production.

Deploying (Cloudflare)

Production runs on Cloudflare Workers at https://sealsend.app and https://www.sealsend.app.

Piece Cloudflare resource
App Worker sealsend (vinext build of the Next.js app, static files served as Worker assets)
Database D1 sealsend-db (binding DB), schema in src/lib/db/schema.sql
Uploads R2 bucket sealsend-uploads (binding UPLOADS)
Image resizing Cloudflare Images (binding IMAGES)
Email Mailgun if configured, else Cloudflare Email Service (binding EMAIL) once FROM_EMAIL is set
Cron jobs Cron Triggers in cloudflare.config.ts, routed in worker/index.ts

How a deploy happens. Push (or merge) to main. Cloudflare Workers Builds is connected to this repo and runs:

npm ci && npm run build:vinext   # build: writes .cloudflare/output
node scripts/cloudflare/deploy.mjs  # deploy: turns the build output into a wrangler.json, runs wrangler deploy

Watch builds in the Cloudflare dashboard: Workers & Pages → sealsend → Deployments. Changes only to *.md, docs/ or apps/mobile/ don't trigger a build.

Config. Bindings and plain settings live in cloudflare.config.ts. Secrets are set on the Worker (dashboard → Settings → Variables and Secrets, or cf secret put <NAME>). The names are in SECRET_NAMES; a feature whose provider secrets are missing stays off.

Email. With no email provider, hosts sign up and sign in with an email and password (/api/auth/signup-password, /api/auth/login-password), and invitations/reminders can't be emailed. To turn email on with Cloudflare: onboard sealsend.app in Email Service (dashboard → Compute → Email Service → Email Sending), then set the FROM_EMAIL secret (for example SealSend <hello@sealsend.app>). Sign-up then switches back to email codes. Decide on COMMUNICATIONS_TEST_ONLY first: while it is "true", only addresses in COMMUNICATIONS_ALLOWED_RECIPIENTS can get a code, so turning email on would stop everyone else signing up.

Database changes. D1 has no automatic migrations here. Apply new SQL with npx wrangler d1 execute sealsend-db --remote --file <file.sql> (or the D1 console in the dashboard). schema.sql is idempotent. It does not add columns to existing tables: before deploying, run any new file in src/lib/db/migrations/ once.

Manual deploy (with CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID set, or after npx wrangler login): npm run build:vinext && node scripts/cloudflare/deploy.mjs. (cf deploy refuses to update a Worker that was first created through the API, which is how this one started, so the script uses Wrangler.)

More detail: docs/cloudflare-migration.md and docs/d1-port.md.

Testing

npm run typecheck
npm run lint          # zero warnings allowed
npm test              # unit and readiness tests
npm run test:e2e      # Playwright end-to-end, accessibility and visual tests
npm run test:config   # check provider configuration
npm run test:email    # send a test email
npm run test:sms      # send a test SMS

Project structure

src/
  app/
    (marketing)/   public site: home, pricing, use cases, legal
    (auth)/        sign-in, sign-up, password reset
    (dashboard)/   events, guests, responses, check-in, settings
    e/[slug]/      public event and RSVP page
    client/        client review links
    api/           route handlers (events, RSVPs, billing, webhooks, cron)
  components/      UI, wizard, dashboard and public-event components
  lib/             auth, db, email/SMS, billing, AI, webhooks, validation
tests/             unit tests and Playwright specs (tests/e2e)
scripts/           admin, beta and test utilities, Cloudflare deploy script
worker/            Cloudflare Worker entry and Cron Trigger routing
ops/               scripts for the retired VPS
apps/mobile/       native app (see apps/mobile and docs/mobile)
docs/              feature and operations docs

Documentation

License

GNU Affero General Public License v3.0 only (AGPL-3.0-only). See LICENSE. Copyright (c) 2026 Cameron Ashley.

You can use, modify and self-host SealSend. If you run a modified version as a network service, you must offer every user who interacts with it the complete source of your version under the same licence. The app shows that offer through SourceCodeLink (marketing footer, dashboard and sign-in pages); set NEXT_PUBLIC_SOURCE_CODE_URL to your own repository, and add the link to guest-facing pages (/e/[slug], invitations, /client/[token]) too if your version changes them.

Code published before the switch to AGPL on 2026-09-26 (up to commit 7361786) was released under MIT, and copies obtained under that licence keep it.


Built by Cameron Ashley (Ashbi Design).

About

Digital invitations and RSVP tracking with email/SMS, check-in and organizer workspaces. Next.js, TypeScript, PostgreSQL.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages