Invite-Only Beta
Redeem invite codes into a Redis/memory allowlist and gate a demo beta surface.
Run this experiment yourself
Demos are not embedded on this site. Deploy a standalone copy on Vercel or run the experiment app locally.
Local development
cd apps/experiments/invite-only-beta pnpm install pnpm dev
Then open http://localhost:3010.
This is an experimental demo. Use it as a starting point for your own projects.
Invite-Only Beta is a Wave 3 Batch H composition lab. Pure helpers live in logic.ts; missing providers or stores degrade honestly (never fabricate AI output).
Features
- Seed + redeem invite codes
- Allowlist membership check
- Redis/memory store
API Reference
POST /api/invite · GET /api/invite
{ "code": "BETA-ACME", "email": "a@b.co" }| Status | Cause |
|---|---|
200 | Success |
400 | Invalid / already used |
Implementation Details
Validate
Inputs are length-capped in logic.ts; APIs return 400 for missing fields.
Run
Route Handlers compose AI SDK, Redis/Neon, or ImageResponse as documented. Fallbacks include honest notes.
Limitations
- Fixed seed codes.
- No email invites.
- Demo-scale only.
Use in your project
Copy the Route Handler(s) and logic.ts from apps/experiments/invite-only-beta/.
Deployment
Local Development
cd apps/experiments/invite-only-beta
pnpm install
pnpm devConfiguration
| Variable | Required | Purpose |
|---|---|---|
UPSTASH_REDIS_REST_* | No | Durable allowlist |