DraftSuite Documentation
Welcome to the official documentation for DraftSuite. Whether you are an author setting up your desktop studio with private local models, or a software engineer compiling and contributing to the open-source TypeScript codebase, you will find comprehensive guides below.
User & Author Installation Guide
Step-by-step instructions to install DraftSuite on macOS, Windows, and Linux. Includes our comprehensive guide on connecting Ollama or LM Studio, scanning custom trained models, and configuring 32k+ context sizes.
- macOS, Windows & Linux First-Time Install Instructions
- One-click Ollama & LM Studio connection
- Modelfile context tuning (
num_ctx 32768) - Cloud API key configuration (Gemini, Claude, GPT)
Developer & Architecture Guide
Explore the technical internals of DraftSuite. Learn about the hybrid Electron + Next.js App Router architecture, server-side zero-CORS proxying, IPC bridges, and how to compile native binaries from source.
- Cloning repo & running
npm run electron:dev - Zero-CORS server-side proxy route internals
- Native multi-display window management
- Packaging releases with
electron-builder
Core System Architecture & Highlights
Browser-based AI clients often fail when calling localhost ports due to CORS and mixed-content security. DraftSuite routes all local model calls through an internal server proxy, eliminating CORS errors forever.
Story canon, character bibles, scene beats, and manuscripts are saved directly to your local machine in persistent OS user directories with rolling backups. Zero cloud telemetry.
Native multi-display switcher allows you to move DraftSuite between your laptop screen and secondary desktop monitor with one click or via keyboard shortcut (⌘⌥→).