StudioBrain
Schema-driven digital asset management and narrative intelligence for game development.
StudioBrain is a desktop-first creative workbench that lets writers, game designers, and worldbuilders manage interconnected entities — characters, locations, factions, items, districts, and more — through a visual editor backed by YAML frontmatter and Markdown content. Cloud sync, real-time collaboration, and AI-powered content generation are available on higher tiers.
Key Capabilities
- Entity Management — Create, edit, validate, and link entities with structured frontmatter fields and free-form Markdown body content across 17 entity types.
- Visual Layout Designer — Compose entity edit and view pages from modular sections, component blocks, and configurable tabs using a drag-and-drop interface.
- AI Workshop — Generate and refine content with multi-provider AI support (OpenAI, Anthropic, Google Gemini, Grok, local Qwen), deep analysis mode, context controls, and collaborative editing. Powered by BrainBits credits.
- Plugin System — Extend the editor with third-party plugins rendered in sandboxed iframes, communicating through a typed postMessage protocol.
- Theme System — Full light/dark mode support with 12 semantic surface tokens for consistent, accessible styling.
- Asset Management — Upload, organize, and assign images, audio, video, and 3D models to entities with role-based asset management.
- Sync & Collaboration — Desktop-to-cloud sync with conflict resolution, real-time presence via WebSocket, and Google Drive integration.
- Desktop App — Tauri 2.0 native app for Windows, macOS, and Linux with local file watching and offline support.
- Mobile App — Capacitor 6 companion app for iOS and Android (Team tier and above).
Documentation Sections
User Guide
Step-by-step guides for using StudioBrain:
- Getting Started — Overview of the application, opening projects, and navigating the interface.
- Installation — Desktop app download, system requirements, and first-run setup.
- Managing Entities — Creating, editing, validating, and organizing your worldbuilding entities.
- AI Workshop — Using AI features to generate, compare, and refine content.
- Sync & Collaboration — Desktop-to-cloud sync, real-time presence, and conflict resolution.
- Settings & Configuration — Storage providers, themes, plugins, and AI provider setup.
- Billing & Plans — Plan comparison, BrainBits credits, upgrading, and Stripe portal.
- Using Plugins — Installing, configuring, and managing plugins.
Developer Reference
Technical documentation for extending and understanding the codebase:
- Architecture — Three-service stack, markdown-first data model, and deployment topology.
- REST API Reference — 342 endpoints grouped by domain with request/response examples.
- Plugin Development — Plugin manifest, iframe sandbox, postMessage protocol, and marketplace submission.
- Template Authoring — Template file format, field types, rules, and auto type generation.
- Theme Customization — 12 semantic surfaces, CSS variables, and custom theme creation.
- Webhooks & Integrations — Stripe webhooks, Google Drive push notifications, WebSocket events, and sync protocol.
- Component Blocks Reference — Complete catalog of built-in UI blocks.
- Plugin Iframe Protocol — Bidirectional messaging API for plugin iframes.
Self-Hosting & Admin
Operational documentation for deploying and managing StudioBrain:
- Self-Hosting Guide — Docker Compose deployment, environment variables, HTTPS, and hardware sizing.
- Admin Guide — User management, tenant provisioning, monitoring, backups, and upgrades.
- Database Guide — SQLite vs PostgreSQL modes, five-service architecture, migrations, and scaling.
- Troubleshooting — Common issues, Docker debugging, health checks, and known bugs.
Tech Stack
| Layer | Technology |
|---|---|
| Frontend | Next.js 15, React 19, TypeScript |
| Styling | Tailwind CSS 4, semantic surface tokens |
| State | Zustand, TanStack Query |
| Validation | Zod 4 |
| Editor | Monaco Editor, MDX Editor |
| Drag & Drop | dnd-kit |
| 3D | React Three Fiber |
| Backend | Python 3.12 (FastAPI), SQLAlchemy 2.0 |
| Desktop | Tauri 2.0 |
| Mobile | Capacitor 6 |
| Data | YAML frontmatter + Markdown files |
| Cloud DB | PostgreSQL 17, Qdrant, Redis 8 |
| Local DB | SQLite, ChromaDB |
| AI | OpenAI, Anthropic, Google Gemini, Grok, Qwen (local) |
Product Tiers
| Tier | Price | AI Credits | Platforms |
|---|---|---|---|
| Free | $0 | BYO API keys + 100 BrainBits/mo | Desktop |
| Indie | $29/mo | 500 BrainBits/mo | Desktop + Web |
| Team | $45/mo per user | 750/user pooled | Desktop + Web + Mobile, SSO |
| Enterprise | Custom | Unlimited | All + Dedicated instance |
Getting Started
Download the desktop app or visit studio.braindead.games to try StudioBrain.
For self-hosted deployments, see the Self-Hosting Guide.