BARQDB PRODUCT

A database built for motion.

Read and write locally, keep results live, and add self-hosted sync without making the network your app’s single point of failure.

Open the quick start
app.tsTypeScript · local
import { Barq } from '@barqdb/barq'
const barq = await Barq.open({  schema: [Task],})
const tasks = barq  .objects(Task)  .filtered('done == false')

DATA FLOW

Four clear parts. No hidden cloud dependency.

01

On-device file

Fast local reads and writes

02

Native object model

Schemas in your app language

03

Optional sync

Partition or flexible subscriptions

04

Your JWT auth

Identity stays in your stack

CAPABILITIES

Small surface. Serious building blocks.

01

Local by default

Reads and writes hit the device first, so the app stays useful through slow networks and full outages.

02

Live object data

Queries stay live and notify your UI when results change. There is no manual refetch loop to maintain.

03

Vector search on-device

Run filtered, approximate, or exact HNSW-backed nearest-neighbour search over local vectors.

04

Transactions + relationships

Model linked objects in your app language and commit related changes as one local transaction.

05

Migrations + encryption

Evolve local schemas and protect database files with keys held outside the data file.

06

Sync on your terms

Add partition or flexible sync and use JWTs from the identity provider you already trust.

PLATFORM STATUS

Choose with clear expectations.

BarqDB is under active development. SDK features are listed honestly so teams can choose with clear expectations.

JavaScript / React NativeLocal database, live queries, sync, vector searchDocs
Kotlin MultiplatformLocal database, live queries, sync, vector searchDocs
SwiftLocal database, live queries, sync, vector searchDocs
Native C++Local database, live queries, sync, vector searchDocs
GoLocal database and vector search; sync and notifications are not yet includedDocs