Simulacrum

Newsletter template

A newsletter platform with subscriber management, paywall for premium content, archive browsing, email delivery integration, and subscriber analytics.

npx simulate newsletter my-newsletter

11 routes · 8 components · Writer admin

/
/archive
/archive/[slug]
/subscribe
/pricing
/writer

Generated project structure

What you get when you run npx simulate newsletter my-newsletter

my-newsletter/
  • -layout.tsx
  • -globals.css
  • +
  • +
  • +
  • +
  • -site.ts
  • -tailwind.config.ts
  • -package.json
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -issue-card.tsx
  • -paywall-gate.tsx
  • -subscribe-form.tsx
  • -archive-grid.tsx
  • ... 34+ files total

Available scripts

  • npm run dev
  • npm run build
  • npm run lint
  • npm run db:push
  • npm run db:studio
  • npm run test
  • npm run e2e
  • npm run typecheck

Admin dashboard metrics

SubscribersOpen rateClick rateRevenueChurn

Scaffold stats

Pages
11
Components
8
RBAC roles
5
Dashboard KPIs
5

Pages included

  • /
  • /archive
  • /archive/[slug]
  • /subscribe
  • /pricing
  • /writer
  • /writer/drafts
  • /admin
  • /admin/subscribers
  • /admin/issues
  • /admin/analytics

Key components

  • IssueCard
  • PaywallGate
  • SubscribeForm
  • ArchiveGrid
  • IssueReader
  • EmailPreview
  • WriterEditor
  • SubscriberChart

Admin dashboard

Template-native metrics powered by Recharts and TanStack Table

Subscribers

---

Open rate

---

Click rate

---

Revenue

---

Churn

---

Default stack

Database
Supabase
Auth
Magic Link, Credentials
Payments
Stripe

RBAC roles

  • super_admin
  • admin
  • writer
  • paid_subscriber
  • free_subscriber

npx simulate newsletter my-newsletter