
MagicInvite is a serverless web application that generates custom invitation pages for weddings and birthdays — either from handcrafted templates or via AI-powered generation.
Key Features
- Dual Generation Modes — Choose from pre-designed templates or let AI create a unique page from your details
- OTP Authentication — Secure access with one-time passwords and JWT session management
- Draft & Publish Workflow — Preview pages with private tokens before publishing publicly
- Image Uploads — Personalize invitations with custom images stored in Cloudflare KV
- Analytics — Track generation metrics including mode, model, token usage, and render time
- Slug-Based Routing — Each invitation gets a unique slug served at
share.magicinvite.app/{slug}
Example Pages
Check out these beautiful invitation pages created with MagicInvite (best viewed on mobile):
Note
New AI-powered generations are currently disabled behind a secret link to prevent abuse. Template-based invitation creation remains open for all users.
Tech Stack
- Cloudflare Workers + Hono for the serverless API
- Cloudflare D1 (SQLite) for metadata, OTPs, and analytics
- Cloudflare KV for HTML content and image storage
- Cerebras AI API for AI-powered page generation
- TailwindCSS for responsive styling