NarraLeaf

NarraLeaf Desktop

Desktop visual novel app documentation for NarraLeaf Desktop runtime, renderer, project config, and CLI.

Welcome to the documentation of NarraLeaf Desktop!

NarraLeaf Desktop is a desktop visual novel app toolchain built on Electron, React, and NarraLeaf-React. It provides the main-process runtime, renderer shell, save bridge, page routing, project configuration, and CLI workflow used to create a complete packaged app.

Why NarraLeaf Desktop?

  • Full desktop app: Build a standalone Electron application instead of only embedding a player in an existing web page.
  • Typed runtime surface: Configure the main process, renderer bridge, save system, and build targets with TypeScript-friendly APIs.
  • NarraLeaf-React inside: Author the story with NarraLeaf-React, then let NarraLeaf Desktop handle app boot, routing, persistence, and packaging.

Choose NarraLeaf-React when you only need the React player framework. Choose NarraLeaf Desktop when you also need the desktop app shell, CLI, and delivery workflow.

Getting Started

Start with installation, then create a project and run it locally.

Modules

Project Setup

  1. Read Installation.
  2. Follow Quick Start.
  3. Learn Project Config.
  4. Use Main and Renderer when you need API details.
  5. Use CLI when you are ready to automate local development and packaging.

Note: NarraLeaf Desktop is in early development. Some APIs are stable enough to document, but projects should keep NarraLeaf Desktop, NarraLeaf-React, Electron, and React versions aligned.

On this page