Skip to content

pistoltaeja/Fountain-Plus

 
 

Repository files navigation

Fountain-Plus

Fountain-Plus implements the Mangaplay format with Fountain to extend screenplay functionality and add storyboard capabilities for comics, manga, and webtoons. It is a superset of Fountain that targets storyboards.

Storyboard Package

The Storyboard/ directory contains a standalone JavaScript parser package (@fountain-plus/storyboard) that handles:

  • Mangaplay format — panel-based storyboard scripts with layout tags, SFX, title cards
  • Fountain format — standard screenplay parsing and round-trip conversion
  • Superscript format — simplified plain-text storyboard notation
  • Format detection — automatic detection of input format

Usage

import { parseScript } from '@fountain-plus/storyboard';
import { detectFormat } from '@fountain-plus/storyboard';

const ast = parseScript(scriptText);
const format = detectFormat(scriptText);

Structure

Storyboard/
├── index.js              — Public API re-exports
├── package.json
├── core/
│   ├── types.js          — Parser type definitions (JSDoc)
│   ├── format-detector.js
│   └── parser/           — All parser implementations
├── sample/               — Sample .mangaplay and .fountain files
└── tests/                — Parser unit tests

Fountain

Fountain-Plus is built on Fountain, the plain-text screenplay format created by John August and Nima Yousefi. The original Objective-C parser in the Fountain/ directory is forked from nyousefi/Fountain and released under the MIT license.

For the full Fountain spec and ecosystem, see fountain.io.

About

An open source implementation of the Fountain screenplay formatting language plus features for storyboards

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Objective-C 60.5%
  • JavaScript 38.1%
  • Other 1.4%