whommohit

ForgeCLI

A batteries-included scaffolding CLI for spinning up production-ready TypeScript services in seconds.

TypeScriptNode.jsCommander.jsDocker
ForgeCLI screenshotForgeCLI screenshot

ForgeCLI grew out of frustration with re-writing the same Express + Postgres boilerplate for every side project. It asks a handful of questions, then generates a fully wired service — routes, migrations, tests, and a GitHub Actions pipeline — in under thirty seconds.

Why I built it

Every new prototype meant an hour of copy-pasting config from the last one. ForgeCLI turns that hour into a pnpm dlx forgecli new command.

Architecture

The CLI resolves a template graph at runtime so plugins can extend or override any generated file without forking the core templates.

Key features

  • Interactive prompts for service type, database, and auth strategy
  • Generates CI/CD workflows for GitHub Actions out of the box
  • Plugin system for custom templates

Related projects