Deployment

Download App

Download any app as a standalone zip. The downloaded app runs completely offline — no Capsul server required, no account needed, just open the HTML file.

How to download

  1. 1Open your app in the Builder.
  2. 2Click the Download button in the toolbar.
  3. 3A zip file is downloaded containing index.html.
  4. 4Open index.html directly in any browser — no server needed.

Standalone database

Downloaded apps use AlaSQL (a pure JavaScript SQL engine) instead of the server-side SQLite. Data is saved to the browser's IndexedDB automatically, so it persists across page reloads on the same machine.

✓ What works

  • • All CapsulDB API calls
  • • CREATE TABLE, INSERT, SELECT, UPDATE, DELETE
  • • Transactions
  • • Persistent storage via IndexedDB
  • • Works fully offline
  • • Works on file://

✗ What doesn't work

  • • CapsulAI (throws clear error)
  • • Shared data between users
  • • Cross-device sync

Exporting your data

From the Builder, you can export your app's SQLite data as a JSON file via the Data Export option. This is useful for backing up data before downloading or for migrating between environments.