A CLI scaffolding tool for creating Foundry VTT modules.
Once published to npm, you can run the script via Bun:
bunx create-fvtt-moduleFor development purposes:
git clone https://github.com/MrVauxs/create-fvtt-module
cd create-fvtt-module
bun install
bun run dev# Install dependencies
bun install
# Run in development mode (requires Bun)
bun run dev
# Watch for TypeScript changes
bun run build:watchbun run build- Compile TypeScript to JavaScriptbun run build:watch- Watch TypeScript files and rebuild on changesbun run dev- Run the CLI in development mode (requires Bun)bun run prepublishOnly- Automatically run before publishing
Currently supports:
- dnd5e - Dungeons & Dragons 5th Edition
- pf2e - Pathfinder 2nd Edition
Additional systems can be added in src/options.ts.
MIT
Contributions are welcome! Please feel free to submit pull requests.
Found a bug? Please open an issue on GitHub.