create-feltdb
v0.6.6
Published
Create a new FeltDB application with one command
Maintainers
Readme
create-feltdb
Interactive CLI tool to scaffold new FeltDB applications.
Usage
One command scaffolds, installs, and starts the application, Studio, and local WebLLM agent (no global installation required):
npx --yes create-feltdb@latest my-appUse the interactive menu, or accept its defaults non-interactively:
npx --yes create-feltdb@latest my-app --yesOptions
--runtime <browser|node|self-hosted|managed>--managed— connect the app and Studio to a managed FeltDB endpoint--framework <react|vanilla>--no-distributed--no-agents--capabilities <search|vector|search,vector>--no-install— generate without installing dependencies--no-start— do not start services after generation--yesor-y— skip the interactive menu and use defaults--helpor-h--version
What Gets Generated
my-app/
├── feltdb/
│ ├── capabilities/
│ ├── workflows/
│ ├── agents/
│ └── schema/
├── src/
│ ├── App.tsx
│ ├── feltdb.ts
│ └── index.ts
├── public/
│ └── index.html
├── feltdb.config.json
├── package.json
├── tsconfig.json
└── README.mdRun It Again
cd my-app
npm run devThis starts the app and Studio together. Self-hosted projects also start the version-matched FeltDB server container and therefore require Docker.
Default Configuration
The generated project uses:
- Runtime: Browser
- Storage: OPFS (with IndexedDB fallback)
- Distributed: Enabled by default
- Capabilities: Search enabled, Vector disabled
- AI: Private WebLLM agent enabled; model loads lazily in the browser
- Studio: Installed and served alongside the application
License
MIT
