Monorepo for the Words To Film By package ecosystem
| Package | Version | Description |
|---|---|---|
| @wtfb/cli | 1.0.3 | CLI tools for validation, export, and project init |
npm install -g @wtfb/cli# Navigate to your WTFB project
cd my-screenplay
# Validate all files
wtfb validate
# Export to PDF
wtfb export-pdfwtfb validate # Validate Fountain, Markdown, spelling
wtfb export-pdf # Export screenplay to PDF
wtfb export-fdx # Export to Final Draft XML
wtfb export-html # Export to HTML preview
wtfb init-readme # Generate IMDb-style project README
wtfb info # Show CLI informationgit clone https://github.com/bybren-llc/wtfb-packages.git
cd wtfb-packages
npm installwtfb-packages/
├── packages/
│ ├── cli/ # @wtfb/cli - Command line tools
│ └── core/ # @wtfb/core - Shared logic (future)
├── package.json # Workspace root
└── .npmrc # npm configuration
# Link CLI for local development
cd packages/cli
npm link
# Now use `wtfb` anywhere
wtfb validate# From packages/cli
npm publish --access publicThis monorepo uses npm workspaces for package management:
- Shared dependencies are hoisted to the root
- Package-specific dependencies stay in each package
- Scoped packages (
@wtfb/*) ensure namespace consistency
Export formats use the Strategy Pattern for extensibility:
BaseExporter (abstract)
├── PdfExporter
├── FdxExporter
└── HtmlExporter
Adding new formats requires only implementing the generate() method.
- story-systems-template - Project template with multi-AI harness
- wtfb-claude-marketplace - Claude Code plugins
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE for details.