Tools
Everything you need to write, check and ship an OSF story.
Write by hand in your editor or visually in LoreHub, check and convert with the osf CLI, and play the result in your game. Every tool here is free to start with.
- Command linev0.6.0osf CLIValidate, format, convert and play stories from the terminal.
- Editor1.0.1VS Code extensionSyntax highlighting and editing support for .osf files.
- Visual editorlorehub.appLoreHubThe first visual editor for OSF: dialogues as a node graph.
- Game enginev0.1.0Godot playerPlay LoreHub dialogue exports in Godot 4.3 and later.
One binary with no dependencies, for macOS, Linux and Windows. It checks a project against the spec, formats .osf files for clean diffs, converts between .osf, JSON and YAML, and plays a dialogue in the terminal.
osf validate: schema, references, variable types, unreachable nodes and translations, each problem with a stable codeosf fmt: the standard layout, so diffs stay smallosf convert:.osfto OSF JSON or YAML resources, and backosf play: play a dialogue in the terminal, or check every path
$ curl -fsSL https://openstoryfoundation.com/install.sh | shOpen Story Format for VS Code: syntax highlighting and editing support for .osf files, covering the whole language as of OSF 0.6.0.
- Highlighting for every block, field, reference and
{{ }}text reference - Long text with writer’s notes,
requireswithoralternatives, conditionalnext - Comment toggling, bracket matching, folding and auto-closing quotes and braces
- Two-space indentation by default, the layout
osf fmtwrites
$ code --install-extension lostwood.osfLoreHub, the first visual editor for OSF. Lay out dialogues as a node graph, with characters, documents, variables and translations next to them. Made by Lostwood Games, and one implementation of the standard, not its owner.
- Node editor for branching dialogue
- Characters, documents, variables and translations in one world
- Export JSON or YAML for your engine
LoreHub Dialogue Player for Godot 4.3 and later: plays dialogues in your game with a drop-in dialogue box, or drives your own UI. Pure GDScript, so it works in the standard and .NET builds and on every export target, web included.
- Nodes, options, conditional links, number and boolean variables, played and selected state
- Drop-in dialogue box, or signals for your own UI
- Save and load mid-dialogue
Reads LoreHub’s JSON export (Export Schema v2) today, not OSF resources.
Building a tool on OSF?
Tell us, and once its output passes osf validate it is listed on the members page.