Desktop app
Status: AvailableTitanbase ships as a free, open-source Electron desktop app (apps/desktop) for macOS, Windows, and Linux. It runs the same local-first visual editor you use in the browser, with native file handling and full offline support.
Note
The desktop app loads its bundled local renderer in production — it does not depend on the hosted website. Your schema stays on your machine, with no account and no cloud backend.
What it does#
- Native open, save, and Save As for
.titan.jsonfiles through OS dialogs. - Local PostgreSQL
.sqlimport, schema compare, and migration-draft export. - All schema export workflows (PostgreSQL, Mermaid, Prisma, Drizzle).
- Native application menus and keyboard shortcuts.
- Recent files, OS file-open events, and drag and drop of
.titan.jsonand.sqlfiles. - Unsaved-change prompts for new, open, import, drag/drop, recent files, and close.
- File-changed-on-disk prompts that offer to reload or keep editing when an open
.titan.jsonfile changes externally. - A larger default window and draggable title-bar regions.
Security model#
The desktop shell is locked down by default:
- Context isolation enabled.
- Renderer sandboxing enabled, Node integration disabled.
- A narrow, typed preload bridge is the only channel between the renderer and the system.
- A Content Security Policy and strict renderer navigation rules keep the bundled renderer from loading or navigating to remote content.
Install#
Packaging targets are configured with Electron Builder:
- macOS —
dmg/zip - Windows —
nsis - Linux —
AppImage/deb
Warning
Signed and notarized installers and automatic updates are still in progress. For now, build the app from source.
git clone https://github.com/titanbaserun/titanbase
cd titanbase
pnpm install
pnpm --filter titanbase-desktop build
Limitations#
- No signed/notarized installers or auto-update yet.
- Crash-safe local drafts are still on the roadmap.