Custom HTTP Protocol
Bypasses Capacitor’s bridge for up to 25x faster performance with large data transfers
@capgo/capacitor-fast-sql is a high-performance native SQLite plugin that uses a custom HTTP-based communication protocol to bypass Capacitor’s standard bridge, delivering up to 25x faster performance for large datasets and sync operations.
Traditional Capacitor plugins serialize data through the JavaScript bridge, which becomes inefficient with large datasets. Fast SQL solves this by establishing a local HTTP server for direct native communication, making it ideal for:
Custom HTTP Protocol
Bypasses Capacitor’s bridge for up to 25x faster performance with large data transfers
Full SQLite Support
Complete SQL support with transactions, batch operations, and binary data handling
Sync-Friendly
Designed for local sync systems like CRDTs and operational transforms
Cross-Platform
iOS, Android, and Web (using sql.js + IndexedDB for persistence)
Transaction Support
ACID transactions with configurable isolation levels
Binary Data
Native support for Uint8Array/BLOB storage
Fast SQL uses a custom HTTP protocol inspired by capacitor-blob-writer that eliminates serialization overhead:
Build apps that work offline-first with efficient sync capabilities:
Replace unreliable IndexedDB implementations with native SQLite:
Handle large datasets efficiently:
Getting Started
Tutorial