bextool
v2.0.2
Published
CLI for scaffolding apps, extensions, services, CLIs, and developer tooling
Maintainers
Readme
Overview
bextool helps developers bootstrap common project types quickly without juggling multiple generators, starter repos, or copy-paste setup steps.
The CLI provides:
- a category-first interactive flow powered by
@clack/prompts - a registry-driven architecture for adding new frameworks cleanly
- a Handlebars template system for flexible file generation
- optional dependency installation with
npm,pnpm, oryarn - smoke-tested generators across all currently registered scaffolds
Official website: https://www.bextool.tech/
Supported Project Types
- Frontend: React + Vite
- Backend: Node.js + Express
- Full-Stack: Next.js App Router
- Mobile: React Native with Expo
- Static Site: Hugo
- CLI Tool: Commander
- Game: Phaser
- Browser Extension: Chrome, Firefox, Edge, Safari
- Editor Extension: VS Code
- CMS: WordPress theme
- Data Science: Jupyter notebook starter
- Microservice: Docker Compose
- NPM Package: TypeScript library with Rollup and Vitest
- Desktop App: Electron
- Workflow Automation: n8n workflow starter
Why Use bextool
- One CLI for many project categories.
- Sensible defaults with minimal setup friction.
- Templates are easy to inspect, customize, and extend.
- Browser extensions remain first-class, with Chrome, Firefox, Edge, and Safari support.
- The codebase is structured for long-term growth under
src/config,src/generators, andtemplates.
Installation
Install globally:
npm install -g bextoolOr use it locally from this repository:
npm install
npm startQuick Start
Run the CLI:
bextoolScaffold apps, extensions, and developer tooling from one guided flow.
The flow will:
- Ask which project category you want to create.
- Ask which framework or starter you want inside that category.
- Collect project metadata such as name, description, version, and package manager.
- Ask framework-specific questions when needed.
- Generate the matching template files.
- Optionally install dependencies.
Example Workflows
Create a frontend app:
bextoolThen choose:
FrontendReact + Vite
Create a browser extension:
bextoolThen choose:
Browser Extension- target browser
- starter type
- permissions
Development
Install dependencies:
npm installRun the CLI locally:
npm startRun verification:
npm testThat test suite includes:
- syntax checks for all
src/**/*.jsfiles - scaffold smoke tests for every registered framework
- browser-extension matrix checks across all supported browsers and starter modes
Project Structure
src/
config/
generators/
utils/
templates/
frontend/
backend/
full-stack/
mobile/
static-site/
cli-tool/
game/
browser-extension/
editor-extension/
cms/
data-science/
microservice/
npm-package/
desktop/
workflow-automation/
scripts/
check.js
smoke-test.js
public/
logo.pngExtending bextool
To add a new scaffold:
- Add a template folder under
templates/. - Add a generator module under
src/generators/. - Register the new framework in
src/config/frameworks.js.
This keeps the CLI maintainable while making future expansion straightforward.
Package Metadata
- Package name:
bextool - Homepage:
https://www.bextool.tech/ - Node.js:
>=18 - Module type:
ESM
License
ISC
