Simulacrum

Community template

A community forum with discussion threads, categories, user profiles, reputation/karma system, moderation tools, and engagement analytics.

npx simulate community my-forum

11 routes · 8 components · Moderation admin

/
/categories
/categories/[slug]
/threads/[id]
/new-thread
/members

Generated project structure

What you get when you run npx simulate community my-forum

my-community/
  • -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
  • -thread-card.tsx
  • -thread-content.tsx
  • -reply-editor.tsx
  • -user-profile-card.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

Active threadsMembersReplies/dayModeration queueTop contributors

Scaffold stats

Pages
11
Components
8
RBAC roles
4
Dashboard KPIs
5

Pages included

  • /
  • /categories
  • /categories/[slug]
  • /threads/[id]
  • /new-thread
  • /members
  • /members/[username]
  • /admin
  • /admin/threads
  • /admin/moderation
  • /admin/analytics

Key components

  • ThreadCard
  • ThreadContent
  • ReplyEditor
  • UserProfileCard
  • ReputationBadge
  • VoteButtons
  • ModerationPanel
  • NotificationBell

Admin dashboard

Template-native metrics powered by Recharts and TanStack Table

Active threads

---

Members

---

Replies/day

---

Moderation queue

---

Top contributors

---

Default stack

Database
Supabase
Auth
Google, GitHub, Credentials
Payments
none

RBAC roles

  • super_admin
  • admin
  • moderator
  • member

npx simulate community my-forum