# OP-Engineering/op-sqlite

Fastest SQLite library for react-native by @ospfranco

Repository: https://github.com/OP-Engineering/op-sqlite
Canonical: https://ross.abutalabs.com/products/op-sqlite
Language: C
License: MIT
License Family: permissive
Topics: jsi, react-native, sqlite
Last push: 2026-08-21T20:43:07+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 86, longevity 73
- inputs: {"age_days": 1031, "days_push": 12, "days_rel": 12, "gap_med": 2, "n_releases_24m": 120}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1032, forks 86 (observed 2026-08-28T04:03:18.202202+00:00)

## What it is
A high-performance SQLite library for React Native built on JSI, supporting iOS, Android, macOS, and web. It offers compile-time targets for SQLCipher, LibSQL, and Turso, plus plugins like FTS5, RTree, and sqlite-vec, reactive queries, and a built-in key-value store.

## Use cases
- store data locally in a react native app with sqlite
- fast sqlite database for react native
- encrypt the local database with sqlcipher in react native
- use turso or libsql from a react native app
- full-text search in a mobile app database
- run vector search locally with sqlite-vec
- reactive queries that update the ui when data changes
- simple key-value storage without extra dependencies

## When to choose
- you need the fastest possible sqlite access in react native via JSI
- you need encryption (SQLCipher), Turso/LibSQL support, or FTS5/RTree/sqlite-vec plugins
- you want reactive queries or runtime extension loading in a mobile app

## When to avoid
- you are not building a React Native (or web) app
- you need an ORM with migrations and schema management out of the box
- you target platforms like Windows or desktop Linux, which are not listed as supported

## Facets
- artifact type: library
- maturity: active
- function: database, database-driver, orm
- domain: databases, mobile-development, web-development, developer-tools
- platform: cross-platform
- tags: react-native, sqlite, jsi, sqlcipher, libsql, turso, fts5, key-value-store, reactive-queries, ios, android, macos, web

## Member repositories
- OP-Engineering/op-sqlite (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.202202+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:06:43.381142+00:00, confidence not recorded.
  - readme: https://github.com/OP-Engineering/op-sqlite (fetched 2026-08-28T04:03:18.202202+00:00, sha 9205975eb05a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
