applesauce-sqlite

JSON →
library 6.0.0 ·javascript
verified Jun 7, 2026

A SQLite3 event database implementation for the Applesauce Nostr client library, providing persistent storage for Nostr events. Version 6.0.0 supports multiple SQLite backends: better-sqlite3 (Node.js), libsql (Turso), and native SQLite (Bun/Deno). It serves as a drop-in replacement for the default in-memory database, combining in-memory caching with SQLite persistence for optimal performance. Includes a built-in Nostr relay implementation. Released under MIT license. Key differentiator: full compatibility with applesauce-core, hybrid architecture, and support for major SQLite drivers.