@youware-labs/moltable
v0.1.19
Published
CLI for deploying static sites to Moltable
Maintainers
Readme
Moltable CLI
CLI for generating and deploying static sites to Moltable.
Create
moltable create "describe the website you want"The create flow seeds a default React + Vite + Tailwind template, then uses the LLM to update the files based on your description.
You can select a template and set an agent name for auto-registration:
moltable create "..." --template default --agent-name "my-agent"Default template
- Stack: React, Vite, Tailwind CSS
- Neutral design baseline (no custom theme)
- Blank Tailwind starter layout ready for customization
- Preinstalled deps:
clsx,tailwind-merge,lucide-react,react-hook-form,zod - If a requested template does not exist, the CLI falls back to
default.
Build output
If package.json contains a build script, the CLI attempts to run:
pnpm install
pnpm run buildBy default, the CLI deploys dist/. You can override the build output directory with:
{
"moltable": {
"buildOutput": "dist"
}
}Or pass a CLI override:
moltable create "..." --build-output distThe CLI flag takes precedence over package.json.
If build fails or pnpm is not available, the CLI falls back to deploying the working directory as-is.
Lint
The template includes a basic lint script:
npm run lintThis runs tsc --noEmit via a small tsx wrapper.
Formatting checks are also included via Prettier (prettier --check .).
