dappbooster
v3.1.5
Published
Agent-friendly dAppBooster installer that scaffolds Web3 dApps via TUI or non-interactive CLI/CI.
Readme
dAppBooster installer
Agent-friendly installer for dAppBooster that scaffolds Web3 dApps via TUI or non-interactive CLI/CI with JSON output.
Requirements
- Node >= 20
- pnpm
Usage
pnpm dlx dappboosterdAppBooster documentation: https://docs.dappbooster.dev/
Agent / CI quickstart
Use --info to discover features, then run a non-interactive install that returns JSON.
pnpm dlx dappbooster --info
pnpm dlx dappbooster --ni --name my_dapp --mode fullAgent / non-interactive / CI mode
The installer supports a non-interactive mode for CI pipelines and AI agents. It activates automatically when stdout is not a TTY, or explicitly with the --ni flag.
Discover available features
pnpm dlx dappbooster --info{
"features": {
"demo": {
"description": "Component demos and example pages",
"default": true
},
"subgraph": {
"description": "TheGraph subgraph integration",
"default": true,
"postInstall": [
"Provide your own API key for PUBLIC_SUBGRAPHS_API_KEY in .env.local",
"Run pnpm subgraph-codegen from the project folder"
]
},
"typedoc": {
"description": "TypeDoc API documentation generation",
"default": true
},
"vocs": {
"description": "Vocs documentation site",
"default": true
},
"husky": {
"description": "Git hooks with Husky, lint-staged, and commitlint",
"default": true
}
},
"modes": {
"full": "Install all features",
"custom": "Choose features individually"
}
}Full install
pnpm dlx dappbooster --ni --name my_dapp --mode full{
"success": true,
"projectName": "my_dapp",
"mode": "full",
"features": ["demo", "subgraph", "typedoc", "vocs", "husky"],
"path": "/absolute/path/to/my_dapp",
"postInstall": [
"Provide your own API key for PUBLIC_SUBGRAPHS_API_KEY in .env.local",
"Run pnpm subgraph-codegen from the project folder"
]
}Custom install with selected features
pnpm dlx dappbooster --ni --name my_dapp --mode custom --features demo,subgraph{
"success": true,
"projectName": "my_dapp",
"mode": "custom",
"features": ["demo", "subgraph"],
"path": "/absolute/path/to/my_dapp",
"postInstall": [
"Provide your own API key for PUBLIC_SUBGRAPHS_API_KEY in .env.local",
"Run pnpm subgraph-codegen from the project folder"
]
}Error handling
Errors return structured JSON with a non-zero exit code:
pnpm dlx dappbooster --ni --mode full{
"success": false,
"error": "Missing required flag: --name"
}Development
Clone the repo
git clone [email protected]:BootNodeDev/dAppBoosterInstallScript.gitMove into the folder you just created and install the dependencies
cd dAppBoosterInstallScript
pnpm iYou can run the script by doing
node cli.jsReleasing new versions to NPM
New releases are automatically uploaded to NPM using GitHub actions.
