nyousefi/Fountain — Issue #1: Fountain.js - A JavaScript Fountain parser
Author: mattdaly
Created: 2012-03-04 00:44:26+00:00
State: open

Firstly, apologies for using the issues feature to do this but it seemed like the best place to notify watchers of Fountain.

I've been working on a JavaScript parser for Fountain that some users might be interested in. The parser and code itself are available on my GitHub page (http://github.com/mattdaly/Fountain.js) and a small converter application is set up on a GitHub Pages page to try it out (http://mattdaly.github.com/Fountain.js/). The parser itself is being optimized, and the css styling for the formatted HTML needs some tweaking.

Because it's JavaScript based you can use it locally/offline (although the HTML 5 File API won't work with file:// files in Chrome without some tweaking), alternatively, it's small, doesn't upload anything (File API uses local files so no real bandwidth costs) and is pretty simple to use, so shouldn't be too difficult to get up and running elsewhere.

Right now, it's just the parser and HTML formatter/converter. I have an analyser in the works that'll pump out a bunch of character, scene and time of day (and more) information. I'm also working on better page rendering.

Further down the line (I have already tried it to some degree of success) I plan on expanding the converter application to provide text editing with 'live preview' (you type some Fountain text/syntax and once you drop down a line it'll format itself). I'm also aiming to back this editor onto Dropbox, so that you can edit in the browser and sync it down to your Dropbox devices.

If anyone wants to contribute please feel free or pass on any suggestions or problems you encounter.