Skip to content
ronak parmar edited this page Mar 19, 2026 · 3 revisions

Foundation CLI

A dependency-aware, modular project composition engine. Not a template copier.

Foundation CLI resolves your full-stack architecture from a set of choices — frontend, backend, database, ORM, auth, UI, and deployment — then assembles a working, type-checked, dependency-complete project in under three minutes.


Why Foundation CLI?

Feature Foundation CLI Template copiers
Conflict-aware dependency graph
Deep config merging (package.json, tsconfig, .env)
Atomic writes — no partial scaffolds on failure
Composable plugin ecosystem
Archetype presets with per-choice override Limited
Add integrations to existing projects
ORM-aware code generation

Key Features

  • 33 built-in modules across 9 categories
  • Project archetypes — SaaS, AI App, E-commerce, API Backend, CRM, Dashboard, Internal Tool
  • Plugin system — install Stripe, Redis, OpenAI or any community plugin
  • Atomic file transactions — on failure your directory is left untouched
  • Type-aware config mergingpackage.json, tsconfig.json, .env, docker-compose.yml, requirements.txt
  • 14 lifecycle hooks — modules run logic before and after every pipeline stage
  • Isolated plugin sandbox — third-party hooks run in worker_threads Workers with no access to the parent process
  • ORM code generationfoundation generate model/crud outputs provider-correct schema files

Quick Start

npx @systemlabs/foundation-cli create my-app
 
# or install globally
npm install -g @systemlabs/foundation-cli
foundation create my-app

Wiki Pages

Page Description
[Getting Started](Getting-Started) How Foundation CLI works and the scaffolding model
[Installation](Installation) Install options, Node.js requirements, first run
[CLI Commands](CLI-Commands) Full command reference with flags and examples
[Modules](Modules) All built-in module categories and how they compose
[Plugins](Plugins) The plugin system — using and building integrations
[Architecture](Architecture) Internal subsystems, data flow, and pipeline stages
[Deployment](Deployment) Docker, Vercel, AWS, and Render configuration generation

Repository

GitHub: https://github.com/ronak-create/Foundation-Cli
License: MIT

Clone this wiki locally