scn-stack
2025 - 2026An open-source CLI (npx create-scn-stack) that spins up a production-ready shadcn component registry in under a minute. It wires together a framework, registry config, documentation site, starter components, and live previews so developers can distribute custom components, hooks, blocks, and themes that anyone can install with a single shadcn command. Supports Next.js, Vite, React Router, and TanStack Start, with Fumadocs or Starlight for docs.
problem
The shadcn ecosystem lets anyone run their own component registry, but setting one up from scratch means hand-wiring a framework, registry config, documentation site, and example components. The boilerplate is the barrier.
approach
Built an interactive CLI that scaffolds the entire stack with sensible defaults — framework choice, docs engine, starter components, namespaces, private registry auth, component previews, v0 integration, and llms.txt generation. Also supports GitHub source registries that need no build, host, or server, plus init into existing projects.
outcome
Published as create-scn-stack on npm with 10 releases. Open source under MIT license. Lets developers go from zero to a deployable shadcn registry in a single command.