DEV Community

Cover image for I Built a CLI That Saves Developers 6 Hours on Every New TypeScript Project
AD
AD

Posted on

I Built a CLI That Saves Developers 6 Hours on Every New TypeScript Project

Last month, I tracked how much time I spent on project setup.

The result? 27 hours across 4 new projects.

That's almost a full work week just configuring tools instead of building features.

So I built Better-T-Stack CLI to solve this once and for all.

The Problem Every TypeScript Developer Faces

Starting a new project means making dozens of decisions:

  • Which frontend framework?
  • How to structure the backend?
  • Which database and ORM?
  • What auth solution?
  • How to ensure type safety across the stack?
  • Which deployment platform?

Then you spend hours:

  • Reading documentation
  • Configuring each tool
  • Making them work together
  • Debugging when they don't
  • Setting up best practices

By the time you're done, you've lost momentum and haven't written a single feature.

The Solution: One Command Setup

Better-T-Stack CLI eliminates all this friction:

npx create-better-t-stack@latest
Enter fullscreen mode Exit fullscreen mode

An interactive wizard walks you through choosing your stack, then generates a production-ready project with everything configured correctly.

What Makes It Different

Full Type Safety Every combination ensures types flow from your database schema to your UI components. No any types, no runtime surprises.
Proven Combinations
Instead of guessing which packages work well together, you get battle-tested stacks that thousands of developers use in production.
Best Practices Built-In

  • Proper folder structure
  • ESLint and Prettier configured
  • Git hooks with Husky
  • TypeScript paths set up correctly
  • Environment variable handling
  • Error boundaries and logging

46+ Package Options Mix and match from:

  • Frontend: Next.js, Astro, SvelteKit, Remix, Nuxt
  • Backend: Next.js, Express, Fastify, Hono
  • Database: PostgreSQL, MySQL, SQLite
  • ORM: Drizzle, Prisma
  • Auth: Better-auth

Try It Yourself

  1. Run npx create-better-t-stack@latest
  2. Choose your preferred technologies
  3. Start coding instantly

Check it out: better-t-stack.dev
The repository is open source: GitHub

What's Next?

I'm working on adding more frameworks and deployment options based on community feedback.
What stack combination would you want to see added? Let me know in the comments.

Building tools that save developers time is my passion. Follow me for more developer productivity tips and open source projects.

Top comments (0)