Simulacrum

Docs template

A documentation site with search, versioned content, sidebar navigation, feedback scores, and usage analytics for API or product docs.

npx simulate docs my-docs

8 routes · 7 components · Docs admin

/
/docs
/docs/[...slug]
/search
/admin
/admin/pages

Generated project structure

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

my-docs/
  • -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
  • -docs-sidebar.tsx
  • -docs-pager.tsx
  • -search-dialog.tsx
  • -code-sample.tsx
  • -version-picker.tsx
  • -feedback-widget.tsx
  • -table-of-contents.tsx
  • -docs.ts
  • ... 29+ 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

ViewsSearch successFeedback scoresQuery analytics

Scaffold stats

Pages
7
Components
7
RBAC roles
2
Dashboard KPIs
4

Pages included

  • /
  • /docs
  • /docs/[...slug]
  • /search
  • /admin
  • /admin/pages
  • /admin/feedback

Key components

  • DocsSidebar
  • DocsPager
  • SearchDialog
  • CodeSample
  • VersionPicker
  • FeedbackWidget
  • TableOfContents

Admin dashboard

Template-native metrics powered by Recharts and TanStack Table

Views

---

Search success

---

Feedback scores

---

Query analytics

---

Default stack

Database
Prisma
Auth
GitHub, Credentials
Payments
none

RBAC roles

  • admin
  • editor

npx simulate docs my-docs