Build real apps on top of your data
MindooDB Apps are real web applications that run inside Haven under strict permissions. They can be externally hosted or bundled into Haven itself. Build them by hand with the MindooDB App SDK, or generate them with AI using the same context files and example repo the Haven team publishes.
What a MindooDB App is
A MindooDB App is a web application that talks to Haven through a secure bridge. It can ship as a small tile inside a workspace page or take over a full browser tab - the API is the same.
- Runs inside Haven - the app is rendered in an iframe or an opened window and communicates with Haven over a
MessagePortbridge. - Sees what Haven grants - databases, views, and operations are all capability-based.
- Online or offline - Haven-hosted bundles keep working when the network does not.
- Works across tenants - a single app can consume data from multiple databases or tenants if granted.
Externally hosted or Haven-hosted
Choose the delivery model that fits your team and threat model:
Deploy as a standard static web app on your own origin. Haven embeds it in a sandboxed iframe and connects via the SDK bridge.
- Use your existing CI/CD, CDN, and auth story.
- Great for early development and public demos.
- Requires network reachability to the hosting origin.
Import the app as a bundle into Haven. Haven's service worker serves it locally, which keeps the app usable offline and lets Haven enforce a stricter opaque-origin sandbox.
- Runs offline - perfect for field use and secure environments.
- Stricter sandbox than an external origin.
- First-class fit for Haven Enterprise in-house app stores.
Haven decides what each app can see
- Read / create / update / delete per database.
- History access for revision listing and time-travel.
- Attachment operations including chunked streaming reads and writes.
- View creation - let the app define its own virtual views or restrict it to Haven-configured views.
- No ambient authority - apps cannot reach Haven storage, cookies, or other apps without an explicit grant.
See the full isolation design in Security & Privacy - sandboxing.
Everything you need to build a real app
The SDK is a typed TypeScript package that wraps the bridge protocol and exposes ergonomic APIs for the things apps actually need.
- Runtime mode, user info, and viewport.
- Current light or dark theme from Haven so the app can match on first paint.
- Mapped databases, views, tenant context, and launch parameters.
- Live events: when the user toggles Haven's theme or resizes the viewport, every embedded app receives the update and can re-render instantly.
- Host-rendered menus when overlays need to escape iframe bounds.
- CRUD with filtered, projected, and metadata-only listing.
- Deleted-document visibility for sync and cleanup flows.
- Changefeed cursor checkpoints for incremental sync and indexes.
- Revision listing and loading snapshots at any timestamp.
- List, upload, download, and remove attachments.
- Chunked binary streaming for large files.
- Preview support for images, PDFs, Markdown, text, Office, audio, and video.
- Preview also works from historical snapshots.
- Categorized, sorted, filtered, and aggregated queries - think pivot table.
- Haven-configured views and app-defined multi-database views.
- Typed view-language builder for formulas, filters, and derived columns.
- Stateful navigator with paging, traversal, selection, and range lookups.
- App-test helpers and bridge protocol test helpers in
mindoodb-app-sdk/testing. - Local development against a running Haven instance with hot reload.
- Deploy as a standard static web app or as a Haven-hosted bundle.
Two tabs: a minimal launch + read snippet, and a copy-pasteable AI prompt you can feed to your agent of choice.
Six demo apps to learn from
Mindoo publishes MindooDB Apps you can study or install. Two are first-party productivity apps you can use in Haven today (Vega and TodoManager), two are open-source references for the SDK's granular editing APIs (TeamEdit for collaborative markdown, TeamGrid for collaborative spreadsheets with formulas, charts, and Virtual View Sheets), a fifth is a beautiful responsive weather tile that doubles as a reference for the SDK's UX surface, and a sixth is a guided tour of the SDK you can fork as the starting point for your own app.
Collaborative mind mapping, idea generation, and lightweight project tracking - the same tree-structured nodes render either as a Mindmap or as a Kanban board, with task fields (assignee, start/end dates, priority, status), tags, and integrated full-text search. Built on MindooDB's end-to-end encrypted sync.
Collaborative markdown editor built on the SDK's granular text patch API. Two windows can edit the same document and saves merge cleanly via MindooDB's Automerge text CRDT under the hood. Includes attachment-backed images and a Milkdown WYSIWYG editor. A focused reference for building real-time text editing apps on Haven.
Collaborative spreadsheet built on the SDK's granular JSON patch API. Around 280 Excel-compatible formula functions, Column, Bar, Line, and Pie charts, XLSX file and clipboard round-trip, and spreadsheet templates - all on a stable-ID document model so concurrent row, column, and cell edits across laptops and phones merge cleanly. The headline feature is Virtual View Sheets: drop any Haven Virtual View, including views that combine private, work, and partner-tenant data, into a worksheet as ordinary cells you can write formulas and draw charts over.
Lightweight task manager for personal and team todos, with local-first editing and real-time sync.
iOS-Weather-style forecast tile for one or more locations. A swipeable glass card over a full-bleed photographic background adapts to the tile size Haven reports - narrow tiles show a single location with dots, wider tiles show 2-4 at once. Uses the keyless Open-Meteo APIs so no secrets ever leave the sandbox. Great reference for launch parameters, viewport events, and responsive embedding.
Reference app that demonstrates the SDK surface - launch context, documents, attachments, views. Fork it as the starting point for your own app.
Screenshot gallery
See the demo apps across desktop, iPhone, and iPad
Browse the demo apps across desktop, iPhone, and iPad - Vega, TodoManager, the TeamEdit collaborative markdown editor, the TeamGrid collaborative spreadsheet with charts and Virtual View Sheets, and the responsive Weather tile.

Mindoo Vega turns encrypted project data into a spatial mind map with nested projects, sprints, documents, and tasks.

The same Vega project tree can render as a Kanban board, with task cards grouped by status and filtered by subtree.

Mindoo Vega running beside the iPad Files app in split view, with files ready to drag onto nodes as attachments.

Mindoo Vega opens document and media previews directly inside Haven so users can inspect node attachments without leaving the workspace.

The same Vega node tree adapts to a compact phone viewport while keeping the spatial mind map readable and touch friendly.

Vega can switch the same underlying data into a Kanban task workflow that works well on narrow phone screens.

Mindoo TeamEdit is a Milkdown-based WYSIWYG markdown editor that lets multiple users edit the same document. Concurrent saves are merged at the character level on the Haven side using MindooDB's Automerge text CRDT, so two windows can keep typing without overwriting each other.

TeamEdit's preview pipeline renders Mermaid diagrams, LaTeX math, syntax-highlighted code, task lists, and footnotes. The same renderer powers the print view and the markdown export package, so what you see while editing is what you ship.

Mindoo TeamGrid is a collaborative spreadsheet for Haven with Column, Bar, Line, and Pie charts, around 280 Excel-compatible formula functions, and a +tab menu that adds either an empty sheet or a sheet sourced from a Haven Virtual View. Formulas, rows, columns, charts, and tabs are stored with stable IDs so concurrent edits on multiple devices merge cleanly through the SDK's granular JSON patch API.

The Add Virtual View Sheet dialog picks any virtual view configured for the app - including views that combine your private data with work data and a partner company's tenant - with options for showing documents, categories, and an optional top-level category path. The dialog text reminds users that the available views are configured in the application properties.

The resulting virtual view sheet materializes view rows as ordinary cells, so the full TeamGrid feature set - around 280 Excel formulas, charts, and XLSX export - works on top of cross-tenant Haven data. A small Refresh button in the top-left re-runs the view, and the status bar at the bottom confirms which sheet was just refreshed.

TodoManager turns the Covey-style quadrant view into a clean team task board inside Haven.

The same TodoManager workspace also ships with a polished dark theme that matches Haven.

Mindoo Weather uses the Haven viewport to render an iOS-Weather-style experience that still feels native inside a workspace tile.

On wider screens, Mindoo Weather can stay open while the running-app switcher expands on top, so users can jump between active apps or trigger a sync of the local app database with a MindooDB server without leaving the current app view.
Let coding agents build MindooDB Apps for you
Every file a coding agent needs to write a MindooDB App is already published. Point your agent of choice at the following resources and it can scaffold real, working apps.
- /llms-full.txt - full platform context, including the MindooDB App SDK, Haven bridge, and server setup.
- /llms.txt - short index that lets an agent discover the rest.
- Open-source reference apps to fork: mindoodb-app-example (a guided tour of the SDK's database, view, and event APIs), mindoodb-app-weather (a beautiful, responsive tile focused on the UX side of the SDK - launch parameters, viewport events, theming), mindoodb-app-teamedit (a collaborative markdown editor that demonstrates granular text patches and Automerge-backed save-time merging), and mindoodb-app-teamgrid (a collaborative spreadsheet with formulas, charts, XLSX round-trip, and Virtual View Sheets that demonstrates the SDK's granular JSON patch API on a stable-ID grid).
- MindooDB App SDK README for the capability model and API surface.
Copy the prompt from the AI build prompt tab in the SDK code block above, drop it into Cursor, Claude, ChatGPT, or any other coding agent, and let it generate the app from the published context.
Build it, generate it, or let us deliver it
Fork the example, use the typed SDK, ship an externally hosted app or a Haven-hosted bundle.
Point a coding agent at /llms-full.txt and the example repo, iterate quickly, review the permissions you grant.
Let the team behind Haven build the app with you. See professional services.