create-addfox-app
Interactive scaffolder that generates a new Addfox-based browser extension project from a few prompts.
Usage
Use it as an addfox subcommand:
Or use the legacy package name:
Flow
- Select a framework:
vanilla,vue,react,preact,svelte, orsolid - Choose language: TypeScript or JavaScript
- Choose package manager:
pnpm,npm,yarn, orbun - Select entries to include (multi-select)
- Decide whether to install Addfox skills
The project is written to the current directory or to the directory you specify.
Output
The generated project includes:
addfox.config.ts(or.js) with minimal manifest and entry discovery- A scaffold matching your selected framework and entries
- No hard-coded entry paths in the manifest by default
Templates
Templates ship inside the package under templates/ (e.g. template-vanilla-ts, template-react-ts). The chosen folder is copied into your new project without remote downloads. The template's addfox.config is preserved; the CLI only merges Rsbuild Less/Sass plugins when those style engines are selected.

