Skip to content

Repository files navigation

stackmint Logo

CINPM DownloadsNPM VersionNPM Unpacked SizeGitHub starsGitHub issuesGitHub last commitGitHub commit activityLicense: MIT

Scaffold any TypeScript full-stack project in seconds.

npx stackmint
# or
npm create stackmint@latest

Features

  • 34+ frameworks supported
  • 50+ integrations (ORMs, auth, AI, payments, etc.)
  • 13+ presets for common stacks
  • 11+ AI IDE configs (Claude Code, OpenCode, Cursor, Copilot, Windsurf, Continue.dev, Sourcegraph Cody, and more)
  • Conflict resolution with smart defaults

Quick Start

# Interactive mode
npx stackmint
# Use a preset
npx stackmint --preset t3-stack
# Skip dependency installation
npx stackmint --preset saas-nextjs --no-install
# List all presets
npx stackmint --list-presets

Available Presets

PresetFrameworkKey Add-ons
react-viteReact + ViteTailwind CSS + Vitest
vue-viteVue + ViteTailwind CSS + Vitest
svelte-viteSvelte + ViteTailwind CSS + Vitest
solid-viteSolid + ViteTailwind CSS + Vitest
api-honoHonoDrizzle + Zod + Tailwind
t3-stackNext.js 15tRPC + Drizzle + Tailwind + shadcn/ui + Zod + Better Auth
saas-nextjsNext.js 15Better Auth + Drizzle + Stripe + Resend + RHF
saas-supabaseNext.js 15Supabase + Stripe + Resend + shadcn/ui
ai-appNext.js 15Vercel AI SDK + Drizzle + Tailwind
edge-workerHonoTurso + Upstash + Cloudflare Workers
content-astroAstro SSGTailwind CSS + Vitest
docs-vitepressVitePressMinimal docs setup
realtime-convexNext.js 15Convex + shadcn/ui + TanStack Query

CLI Options

npx stackmint [project-name] [options]
Options:
--preset <name> Use a named preset (skip interactive questions)
--list-presets List all available presets and exit
--pm <manager> Package manager: npm | pnpm | bun | yarn
--no-install Scaffold files only, skip dependency installation
--yes Accept all defaults (non-interactive mode)
--output <dir> Output directory
--version, -v Show version
--help, -h Show help

Supported Frameworks

CategoryFrameworks
Full-stackNext.js, SvelteKit, Nuxt, React Router v7, Astro, Analog, TanStack Start
SPAReact + Vite, Vue + Vite, Solid + Vite, Svelte + Vite, Qwik, Angular
BackendHono, Elysia, Fastify, NestJS, Express, Nitro, H3, Bun Native
MobileExpo SDK 53, React Native CLI
ContentAstro, VitePress, Docusaurus, Eleventy

Supported Integrations

  • Database: PostgreSQL, MySQL, SQLite, MongoDB, Turso, Neon
  • ORM: Drizzle, Prisma
  • BaaS: Supabase, Convex, Firebase
  • Auth: Better Auth, Clerk, NextAuth
  • API: tRPC, oRPC, ts-rest, GraphQL
  • Validation: Zod, Valibot, ArkType
  • Styling: Tailwind CSS, Panda CSS, StyleX
  • UI: shadcn/ui, Radix UI, Ark UI
  • AI: Vercel AI SDK, LangChain.js, Mastra
  • Jobs: Inngest, BullMQ, Trigger.dev
  • Payments: Stripe
  • Email: Resend, Nodemailer

AI IDE Support

AI IDEConfig File
Claude Code / OpenCodeAGENTS.md (auto-generated)
Cursor.cursor/rules/stack.mdc
OpenCode.opencode/CLAUDE.md
Continue.dev.continue/config.json
Sourcegraph Cody.cody/commands.json
GitHub Copilot.github/copilot-instructions.md
Windsurf.windsurf/rules.md
Replit Agent.replit + REPLIT.md
Kotata.kotata/context.md
LLM Coding.claude/llm-conventions.md
Devin.devin/context.md

How It Works

┌─────────────┐ ┌─────────────────┐ ┌──────────────┐
│ Questions │ -> │ Conflict Check │ -> │ Generate │
│ (CLI) │ │ (21 rules) │ │ (Templates) │
└─────────────┘ └─────────────────┘ └──────────────┘
│
┌──────────┴──────────┐
│ Adapters │
│ (files + deps) │
└─────────────────────┘

Local Development

# Install dependencies
bun install
# Run in dev mode
bun run dev
# Build for production
bun run build
# Run tests
bun run test# Generate a project
node dist/stackmint.js --preset t3-stack

Contributing

See CONTRIBUTING.md for:

  • Adding new framework templates
  • Adding new adapters
  • Adding new presets
  • Local dev setup

License

MIT

About

Stackmint is a CLI tool that simplifies the creation of new TypeScript projects. Instead of manually configuring build tools, linting, and directory structures, Stackmint provides interactive prompts to help you choose your ideal stack.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages