Installation

Install @docubook/flame and scaffold your first documentation site.

DocuBook Flame requires Bun >= 1.1.0. It is a Bun-native framework and does not support Node.js.

Quick Setup

  1. Install dependency
    bun
    mkdir my-docs && cd my-docs
    bun add @docubook/flame
    
  2. Scaffold project structure

    Creates docs/, docu.json, package.json.

    bun
    bunx flame init
    
  3. Start dev server

    Open http://localhost:3000 in your browser.

    bun
    bun run dev
    

CLI Reference

bash
flame dev        # Start development server with HMR
flame build      # Build for production
flame preview    # Preview production build
flame deploy     # Build + prepare for GitHub Pages
flame init       # Scaffold a new project
flame clean      # Clean build artifacts
flame --help     # Show all commands

Scaffolded projects have these scripts in package.json:

json
{
  "scripts": {
    "dev": "flame dev",
    "build": "flame build",
    "preview": "flame preview",
    "deploy": "flame deploy"
  }
}

Global Installation

bun
bun add -g @docubook/flame
flame init
flame dev

Requirements

Last updated Jul 4, 2026