Final Draft-style screenwriting with automatic pagination, SmartType, index cards and Fountain/FDX files.
Alternativa de código abierto a Final Draft
Final Draft-style screenwriting with automatic pagination, SmartType, index cards and Fountain/FDX files. Opens/saves Fountain and supported FDX, exports PDF, and provides revision mode, locked pages, script comparison, character/scene production reports and local-network collaboration.
READMENoJuanNobody/scriptcraft en GitHub
.fdx / .fountain file.int. diner - night becomes a scene heading; Enter gives Action, Tab a Character, Enter again Dialogue. Names and headings capitalise themselves and SmartType offers what you used before..fdx) or Fountain, or export a PDF.Pre-built binaries for v0.5.0 are available on GitHub Releases:
scriptcraft-macos-universal.zip, extract, and open ScriptCraft.app (scriptcraft-cli is included alongside it).scriptcraft-windows-x64.zip, extract the ZIP, and run scriptcraft.exe (scriptcraft-cli.exe included). See docs/windows-setup.md for detailed instructions and troubleshooting.scriptcraft-linux-x86_64.tar.gz or the Debian/Ubuntu package scriptcraft-linux-x86_64.deb.scriptcraft-web.zip.Every screenshot is ScriptCraft itself, rendered offscreen by its own UI harness
(cargo run -p scriptcraft-ui-egui --example ui_shot).
unwrap/panic outside tests, hostile input is clamped, and
a test runs every command with junk parameters.| Area | Highlights |
|---|---|
| Writing | Eight elements (Scene Heading, Action, Character, Parenthetical, Dialogue, Transition, Shot, General); Enter/Tab/Shift+Tab element flow (docs/typing-parity.md) and an element list on Enter in an empty paragraph; per-script Element Settings (indents, spacing, alignment, capitals, Enter/Tab targets); bold, italic, underline; offline spelling with suggestions and a user dictionary; automatic capitals and parentheses; int. in Action becomes a heading; SmartType; dual dialogue; undo/redo (typing coalesced); copy and paste that keep elements; find and replace |
| Pages | Letter, Courier 12, 54 lines; Action 1.5"–7.5", Character 3.7", Dialogue 2.5"–6.0", Parenthetical 3.1"–5.6", Transition right-aligned at 7.5"; page numbers from page 2; (MORE)/(CONT'D) across dialogue breaks (split at sentence ends, never after a parenthetical); headings and cues kept with what follows; action split only with two lines each side; automatic character (CONT'D); scene numbers in both margins; title page |
| Structure | Navigator (scenes with summaries, colours and pages; acts, sequences and sections; characters; bookmarks), index cards with editable summaries, colours and tags, drag to reorder scenes, go to scene/page; Outline view to rearrange scenes under acts and sequences; story map scaled to pages; beat board with beats linked to scenes |
| Reports | Characters (speeches, words, scenes, first page), scenes (page, length in eighths, cast), locations (INT/EXT) |
| Files | .fdx open/save (incl. text styles, element settings, dual dialogue, scene numbers, card summaries/colours, title page, including free-form ones; Final Draft's own forms where known, see docs/fdx-format.md), .fountain open/save (the public fountain.io syntax incl. emphasis; Shot and General kept), PDF export; import from Word .docx, Celtx and PDF; print to a printer; autosave with crash recovery, backups on save, recent files, drag-and-drop to open |
| Window | Menu bar, toolbar with element picker and B/I/U, page view with page breaks or a continuous speed view, split screen with two views, blinking caret, status bar (element · page x of y · scene · words), light and dark themes, zoom (menus, Ctrl/⌘+wheel, pinch, fit width); unsaved-changes prompts on close, quit and open; runs natively and in the browser |
| Drafts and production | Revision mode with coloured pages, locked pages with A/B pages, omitted scenes, headers and footers, A4, script notes, alternate lines, production tagging and breakdown reports, print; track changes per author with accept/reject; Compare Drafts; templates for feature, TV single-camera, multi-camera and stage play |
| Together and aloud | Real-time collaboration on a local network with names and carets (docs/collaboration.md); read aloud with a system voice per character; dictation that turns spoken phrases into formatted script |
| Agents | scriptcraft-cli (convert, run, report, commands, parity), MCP server (headless or bridged to the window), keyed loopback control channel, headless screenshots |
The full Final Draft 13 comparison, including what's not done yet, is in docs/parity-checklist.md: 63 implemented · 0 partial · 5 not yet.
Requires Rust 1.95+ (edition 2024).
git clone https://github.com/NoJuanNobody/scriptcraft && cd scriptcraft
cargo run --release -p scriptcraft # opens the sample script
cargo run --release -p scriptcraft -- --new # blank script
cargo run --release -p scriptcraft -- my-script.fdx # open a Final Draft or Fountain file
Choose View → Language → Русский to switch the interface; English switches it back.
The desktop app saves the choice as [appearance] language = "ru" in config.toml.
The browser supports switching for the current session (its settings are not persisted).
Русский интерфейс: Вид → Язык → Русский. Кириллица, включая Ё/ё, поддерживается
в редакторе и при экспорте PDF во всех четырёх начертаниях Courier Badi — открытого шрифта
на основе сценарного Courier Prime. Устанавливать шрифты в систему не требуется.
Заголовки ИНТ. КУХНЯ - НОЧЬ и НАТ. ДВОР - ДЕНЬ распознаются при вводе и в Fountain;
русский текст сохраняется в FDX и Fountain. Язык интерфейса не меняет содержимое сценария.
Проверка орфографии пока только английская: русские слова пропускаются.
В FDX указан Courier Badi; для просмотра в других редакторах может потребоваться установить
этот шрифт или выбрать другой шрифт с кириллицей.
Технические сообщения движка/API и названия пользовательских наборов правок не переводятся.
crates/ui-egui/locales/en.json to <code>.json and translate its values, keeping keys and named placeholders ({page}, {name}, etc.).languages! in crates/ui-egui/src/i18n.rs, for example:
French, "fr", "Français", "../locales/fr.json";cargo test -p scriptcraft-ui-egui. Catalogue tests check keys and placeholders; the menu and settings automatically use the registry.Catalogues are embedded for offline desktop and browser builds. Missing translations fall back to the English source string. Values such as filenames and script text are never translated or parsed as templates. For scripts outside the bundled fonts' coverage, add and attribute appropriate fonts as well.
ScriptCraft stores settings like the other Craft apps, through
craft-settings: one
commented config.toml ([appearance], [editing], [files]), saved half a second after a
change, with a .bak, recovery of damaged files and hand edits preserved. The folder is the
first match of --config-dir <dir>, SCRIPTCRAFT_CONFIG_DIR (set but empty = isolated: nothing
read or written), a portable marker next to the app (settings in config/ beside it), then the
platform folder (~/Library/Application Support/scriptcraft, %APPDATA%\scriptcraft,
~/.config/scriptcraft). Autosave recovery, backups and the user dictionary are not settings:
they live in the data folder, so a settings reset never loses work. The first run imports an older
prefs.json and leaves it in place. Help › About shows the folders in use.
In the browser: cargo xtask web (needs rustup target add wasm32-unknown-unknown and
cargo install wasm-bindgen-cli at the version in Cargo.lock), then serve
apps/scriptcraft-web/dist/ with any static server, e.g. python3 -m http.server -d apps/scriptcraft-web/dist.
Writing a scene: type int. diner - night, Enter (Action), type the action, Tab
(Character), type margo, Enter (Dialogue), type the line, Tab for a parenthetical or
Enter to go back to Action. ⌘1–⌘8 (Ctrl on Windows/Linux) set an element directly.
scriptcraft-cli convert draft.fountain draft.pdf # also .fdx ↔ .fountain
scriptcraft-cli report draft.fdx # characters, scenes, locations
scriptcraft-cli commands # every command id, shortcut, params
scriptcraft-cli run --cmd 'text.insert={"text":"INT. DINER - NIGHT"}' --cmd text.enter \
--cmd 'text.insert={"text":"Rain on the glass."}' --cmd text.tab \
--cmd 'text.insert={"text":"MARGO"}' --cmd text.enter \
--cmd 'text.insert={"text":"Coffee?"}' --save scene.pdf
scriptcraft-cli mcp # MCP server on stdio (headless)
scriptcraft-cli mcp --connect 127.0.0.1:7990 # drive the running app (scriptcraft --control 7990)
list_commands, execute, batch, inspect_script,
get_fountain, set_fountain, reports, screenshot).ui_shot for headless screenshots.A Cargo workspace; lower layers never depend on higher ones (cargo xtask layers), and nothing
below the UI depends on egui.
| Layer | Crate | Job |
|---|---|---|
| L0 | scriptcraft-geom | Letter page and Courier metrics (10 cpi, 6 lpi, 54 lines) |
| L1 | scriptcraft-doc | screenplay model: element-typed paragraphs, title page, settings, clamped edit primitives |
| L1 | scriptcraft-fonts, scriptcraft-spell, scriptcraft-control-key | Courier Badi (OFL); offline English spelling (SCOWL); the control key file |
| L2 | scriptcraft-fountain, scriptcraft-fdx | Fountain and Final Draft XML import/export |
| L2 | scriptcraft-layout | pagination, (MORE)/(CONT'D), dual dialogue, caret and hit testing |
| L3 | scriptcraft-pdf | PDF export with krilla |
| L4 | scriptcraft-engine | Session, undo, command registry, typing flow, SmartType, reports, file I/O, Final Draft 13 catalog |
| L5 | scriptcraft-mcp | MCP server, headless or bridged to the app |
| L6 | scriptcraft-ui-egui | the egui window (swappable) and ui_shot |
| apps | scriptcraft, scriptcraft-cli, scriptcraft-web | desktop app (eframe + wgpu), command line, browser app (WebGL) |
Everything is a command: a CommandSpec (id, label, menu location, shortcut, params doc,
enabled, run) in crates/engine/src/cmd/*.rs, dispatched identically by menus, shortcuts, CLI,
control channel and MCP. Quality gate: cargo xtask ci (fmt, clippy -D warnings, tests, assets,
layers, parity doc up to date).
See ROADMAP.md; every gap is tracked as a GitHub issue under milestones. v0.2–v0.5 are done apart from the items that need Final Draft 13 itself: confirming its FDX form for tags, omitted scenes, alternates and locked pages (#42, #44) and checking the typing flow against it (#32).
Issues and pull requests are welcome. Read AGENTS.md for the rules (never crash,
clean room, everything is a command) and run cargo xtask ci before opening a PR.
MIT OR Apache-2.0 (LICENSE-MIT, LICENSE-APACHE). Typeface: Courier Badi (SIL Open Font License 1.1). Architecture patterns adapted from WordCraft (MIT OR Apache-2.0); see NOTICE and ATTRIBUTION.md.
ScriptCraft is a clean-room project: built from public file-format structure and widely documented screenwriting conventions. It contains no Final Draft code, icons, images, templates, sample scripts or fonts. Final Draft is a trademark of its owner; ScriptCraft is not affiliated with it.
Última actualización desde GitHub: hace 4 horas
Las cifras de GitHub se actualizan varias veces al día.
Inicia sesión o crea una cuenta para comentar.
Aún no hay comentarios. Escribe el primero.
Luce tu proyecto: una tarjeta en vivo con tu posición y tu valoración, que se actualiza sola.
¿Prefieres la pequeña? Añade ?style=flat