A tool for working with screenplay file formats (e.g. fdx, fountain, osf, FadeIn).
Convert from screenplay.fdx to screenplay.fountain
scripttool fdx2fountain screenplay.fdx screenplay.fountainConvert from screenplay.fadein to screenplay.fountain
scripttool fadein2fountain screenplay.fadein screenplay.fountainConvert from screenplay.osf to screenplay.fountain
scripttool osf2fountain screenplay.osf screenplay.fountainPretty print fountain files
scripttool fountainfmt screenplay.fountainRender a fountain file as JSON
scripttool fountain2json screenplay.fountainConvert from screenplay.fountain to screenplay.fdx
scripttool fountain2fdx screenplay.fountain screenplay.fdxConvert from screenplay.fountain to screenplay.fadein
scripttool fountain2fadein screenplay.fountain screenplay.fadeinConvert from screenplay.fountain to screenplay.osf
scripttool fountain2osf screenplay.fountain screenplay.osfNOTE: Currently only fountain documents are supported for reporting. Currently the character list report is implemented as a proof of concept.
List the characters in screenplay.fountain
scripttool characters screenplay.fountainGet a release from GitHub, or see INSTALL.md, which also covers installing from source.
You need Go 1.26.4 or later. Pandoc and GNU Make are only needed for the man page and the website, and cmt (CMTools) only to regenerate version.go, about.md and CITATION.cff from codemeta.json.
make # build scripttool into bin/ and the man page into man/
make test # go test ./...
make check # gofmt -l and go vet; rewrites nothing