Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

brink play

Play an ink story interactively in the terminal.

brink play [OPTIONS] <FILE>

Accepts a compiled story (.inkb, .ink.json, or .inkt) or raw .ink source — .ink files are compiled in-memory via the native pipeline, so brink play story.ink works without a separate brink compile step.

Options

FlagDefaultDescription
--speed <N> / -s30Typewriter speed in characters per second (0 = instant)
--input <FILE> / -iRead choice inputs from a file (batch mode)
--locale <FILE>Locale overlay (.inkl) to make available; repeatable. Switch at runtime with the l key.
--save-transcript <FILE>Write the playthrough’s .brkt transcript after the session ends.

A saved .brkt can be re-rendered later (in any locale) with brink replay <TRANSCRIPT> --story <FILE> [--locale <FILE>].

Interactive mode

When run in a terminal, brink play launches a TUI with typewriter text reveal and arrow-key choice selection.

Key bindings

KeyStory panelChoice panel
SpaceSkip typewriterSkip typewriter
Up/DownScroll historySelect choice
EnterConfirm choice
TabFocus choicesFocus story
qQuitQuit

Batch mode

When stdin is piped or --input is provided, the TUI is bypassed and choices are read as line-delimited 1-indexed integers.

# Pipe choices
printf "1\n3\n" | brink play story.inkb

# Read choices from a file
brink play story.inkb -i choices.txt

In batch mode, story text and choices are printed to stdout as plain text.