# square/sqlbrite

A lightweight wrapper around SQLiteOpenHelper which introduces reactive stream semantics to SQL operations.

Repository: https://github.com/square/sqlbrite
Canonical: https://ross.abutalabs.com/products/sqlbrite
Homepage: https://square.github.io/sqlbrite/3.x/sqlbrite/
Language: Java
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2020-08-17T16:20:56+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4213, "days_push": 2207, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4521, forks 411 (observed 2026-08-28T04:08:52.772951+00:00)

## What it is
A lightweight Java wrapper around SQLiteOpenHelper and ContentResolver that adds reactive stream semantics to SQL queries, re-emitting query results whenever underlying tables change. It is now deprecated in favor of SQLDelight.

## Use cases
- reactively observe sqlite table changes in android apps
- auto-refresh ui queries when database is updated
- wrap sqliteopenhelper with rxjava observables
- monitor content provider changes reactively
- run non-blocking database queries on a scheduler

## When to choose
- maintaining a legacy android app already built on sqlbrite
- you want reactive sqlite queries on the jvm with rxjava

## When to avoid
- starting a new project - use sqldelight instead
- you need content provider monitoring - use copper
- you want an actively maintained library

## Facets
- artifact type: library
- maturity: abandoned
- function: database, orm
- domain: databases, mobile-development, developer-tools
- platform: jvm
- tags: reactive-streams, sqlite, rxjava, deprecated, sql, android

## Member repositories
- square/sqlbrite (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:52.772951+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-29T18:20:17.426902+00:00, confidence not recorded.
  - readme: https://github.com/square/sqlbrite (fetched 2026-08-28T04:08:52.772951+00:00, sha 96d2a8dee320)
  - homepage: https://square.github.io/sqlbrite/3.x/sqlbrite/ (fetched 2026-08-29T09:06:03.739348+00:00, sha 7d8499e4e6aa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
