SQLite-first sync infrastructure for Tauri apps at version 0.3.3. Currently in pre-release with active development. Provides schema helpers, sync generator, local DB helpers, server helpers, and a Tauri client for building offline-first desktop apps with SQLite-based sync. Key differentiators: deep integration with Tauri and Drizzle ORM, SQLite-first approach using built-in sync capabilities, and a complete end-to-end sync pipeline from schema to client. Release cadence is irregular as it is pre-release.
npm install baresyncNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows defining a SQLite table with Drizzle, generating sync configuration, and creating a local database.
Pin exact version in package.json until stable release.
Use `new SyncGenerator({ schema })` instead of passing tables directly.Prefix file path with 'file:' .
Import all exports from 'baresync' directly.
Run `npm install drizzle-orm` alongside baresync.
Install drizzle-orm: `npm install drizzle-orm`.
Pass `{ schema }` to the constructor, where `schema` is the result of `defineSchema()`.Run migrations using Drizzle Kit or `db.run(sql)` before syncing.
Ensure you pass a `better-sqlite3` compatible database instance, or use the default SQLite driver.