Try it now → https://dtsykunov.github.io/inky-web/
Inky Web is a free, browser-based editor for ink — inkle's open-source scripting language for interactive fiction and narrative games. Write, preview, and download your ink stories entirely in the browser with no installation required.
This is a fork of the official inkle/inky desktop editor, rebuilt to run fully client-side as a progressive web app. Your work is auto-saved to browser storage and never leaves your device.
- Live story preview — the play pane updates as you type and replays your choices automatically after every recompile
- Syntax highlighting for ink markup
- As-you-type error and warning highlighting — errors are underlined in the editor the moment you make them
- Issue browser — lists errors, warnings, and TODOs with one-click jump to the exact line
- Jump to definition — alt-click any divert target (e.g.
-> theKnot) to navigate to its definition - Multi-file project support — open multiple
.inkfiles at once;INCLUDEdirectives are shown in the file browser; add new include files from the sidebar with the "+" button - File browser — sidebar shows all open files; click to switch between them; double-click to rename
- Rename files — double-click any file in the sidebar;
INCLUDEreferences in other files are updated automatically - Open / Save / New — open any
.inkfile (or multiple files) from your computer; save as a single.inkfile or a.ziparchive for multi-file projects; supports Ctrl+S / Cmd+S - Export as web player — one click generates a self-contained zip you can host anywhere; opening
index.htmlinside it runs the finished story in any browser, no server required - Drag-and-drop — drag one or more
.inkfiles onto the window to open them instantly - Auto-save — your project is continuously saved to
localStorageand restored on your next visit - Works offline — once loaded, the editor requires no network connection
- Free and open source — MIT licensed, runs entirely in your browser
- Open https://dtsykunov.github.io/inky-web/ in any modern browser
- A sample story loads automatically — start editing right away
- Open your own
.inkfile(s) via File → Open…, or drag them onto the window - The right pane plays your story live; click choices to advance
- Save your work with File → Save / Download or Ctrl+S / Cmd+S
Select multiple .ink files with the Open button (or drag them all at once). The file that contains INCLUDE lines referencing the others is automatically set as the main file. The sidebar shows all open files and lets you switch between them.
When saving a multi-file project, all files are packaged into a .zip archive that preserves the relative path structure — unzip it to get a folder you can open directly in the desktop version of Inky.
Use the "Add new include" button ("+") at the bottom of the sidebar to create a new blank file and optionally add an INCLUDE line to your main ink file.
Go to File → Export for web… to compile your story and download a standalone zip. Extract it and open index.html to play the finished story in any browser — no server, no dependencies.
Use File → Export to JSON… (Ctrl+Shift+S) to download just the compiled story JSON, for use with your own runtime or Unity integration.
The exported player includes:
- Save / load progress (via
localStorage) - Light / dark theme toggle
- Support for ink tags:
# title:,# author:,# theme:,IMAGE:,AUDIO:,CLASS:,CLEAR:,RESTART:
The story title in the player is taken from a # title: My Story tag at the top of your main ink file, falling back to the filename.
| Shortcut | Action |
|---|---|
| Ctrl+S / Cmd+S | Save / download current project |
| Ctrl+Shift+S | Export compiled story JSON |
| Ctrl+Shift+C | Story statistics (word count, knots, choices…) |
| Ctrl+P / Cmd+P | Go to anything (file, knot, line number, text) |
| Ctrl+. | Jump to next issue (error / warning / TODO) |
| Alt+click | Jump to divert / knot definition |
| Ctrl+F | Find in editor |
| Ctrl+H | Find and replace in editor |
| Ctrl+= / Ctrl+− | Zoom editor and player pane in / out |
| Ctrl+0 | Reset zoom |
| F1 | Show keyboard shortcuts |
| Double-click (sidebar) | Rename a file inline |
ink is a narrative scripting language created by inkle and used in games like 80 Days, Overboard!, and Heaven's Vault. It is open source, free to use, and has runtimes for Unity, web (inkjs), and more.
To add custom ink snippets for your project, create a JSON file with the same name as your main ink file and a .settings.json extension (e.g. my_story.settings.json), then open it alongside your .ink files:
{
"customInkSnippets": [
{
"name": "My Snippets",
"submenu": [
{ "name": "Camera wide", "ink": ">>> CAMERA: Wide" },
{ "separator": true },
{ "name": "Walk", "ink": ">>> WALK: Location" }
]
}
],
"instructionPrefix": ">>>"
}customInkSnippets— adds project-specific snippets to the Ink menu (supports submenus and separators)instructionPrefix— highlights lines that start with this prefix in both the editor and the player pane
git clone https://github.com/dtsykunov/inky-web.git
cd inky-web/web
npm install
node build.mjs # builds to web/dist/
# open web/dist/index.html in a browser
node build.mjs --watch # rebuilds on file changesNode.js 18+ is required.
Inky Web is built on:
- Original Inky renderer modules (
EditorView,PlayerView,NavView,GotoAnything, etc.) — reused unchanged from the Electron version - Ace code editor
- inkjs for in-browser ink compilation and story playback
- JSZip for multi-file zip downloads
- esbuild for bundling
- GitHub Pages for hosting
Node built-ins (fs, path, electron, etc.) are shimmed so the original renderer modules run unchanged in the browser. See web/README.md for a detailed breakdown of what is reused, what was reimplemented, and what is omitted.
This fork focuses on the web build. For issues with the core ink editor experience, please also check the upstream inkle/inky issues.
To keep up to date with ink news, sign up for the inkle mailing list or follow @inkleStudios.
Inky and ink are released under the MIT License. Attribution is appreciated but not required.
Copyright (c) 2016 inkle Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Inky is named after a black cat based in Cambridge, UK.