Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. RxJava
  3. SQLBrite

SQLBrite

Apache-2.0Java0.6.2

A lightweight wrapper around SQLiteOpenHelper that adds reactive stream semantics to SQL operations.

Visit WebsiteGitHubGitHub
4.5k stars412 forks0 contributors

What is SQLBrite?

SQL Brite is a lightweight Android library that wraps SQLiteOpenHelper and ContentResolver to add reactive stream semantics to SQL operations. It allows developers to create observable queries that automatically update when underlying database tables change, simplifying real-time data synchronization in Android apps.

Target Audience

Android developers building apps with SQLite databases who need reactive, real-time updates to UI components when data changes.

Value Proposition

Developers choose SQL Brite for its minimalistic approach to adding reactive capabilities to SQLite without the overhead of a full ORM, and its seamless integration with RxJava for powerful stream composition.

Overview

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

Use Cases

Best For

  • Building Android apps with real-time UI updates from SQLite databases
  • Observing content provider changes in a reactive way
  • Simplifying data synchronization between database and UI layers
  • Adding reactive streams to existing SQLite-based Android apps
  • Combining multiple database queries with RxJava operators
  • Batching database updates to optimize notification frequency

Not Ideal For

  • New projects requiring long-term support and active maintenance
  • Developers needing type-safe SQL queries or full ORM capabilities
  • Teams looking for built-in database migration tools
  • Apps that prefer coroutines over RxJava for reactive programming

Pros & Cons

Pros

Reactive Query Semantics

Automatically notifies subscribers when underlying table data changes, enabling real-time UI updates without manual refresh, as shown in the example where queries increment on inserts.

RxJava Integration

Full compatibility with RxJava operators allows for debouncing, combining queries, and controlling notification frequency, leveraging the power of reactive streams.

Lightweight Enhancement

Doesn't replace SQLiteOpenHelper but enhances it with reactive capabilities, making it easy to integrate into existing SQLite setups without heavy overhead.

Content Provider Support

Can wrap ContentResolver to observe queries on other apps' content providers, extending reactive monitoring beyond local databases.

Cons

Deprecated and Inactive

The library is no longer actively developed, with the README explicitly stating it's deprecated and recommending migration to SQLDelight and Copper.

Limited Feature Set

Lacks ORM capabilities, type-safe queries, and migration tools, as admitted in the philosophy section, requiring manual handling of these aspects.

RxJava Dependency

Requires knowledge and integration of RxJava, which can add complexity for teams not already using reactive programming patterns or preferring modern alternatives like coroutines.

Frequently Asked Questions

Quick Stats

Stars4,535
Forks412
Contributors0
Open Issues5
Last commit5 years ago
CreatedSince 2015

Tags

#data-synchronization#android#reactive-programming#rxjava#sqlite#database-wrapper

Built With

S
SQLite
A
Android
R
RxJava
J
Java

Links & Resources

Website

Included in

RxJava304
Auto-fetched 1 day ago

Related Projects

RxAndroidRxAndroid

RxJava bindings for Android

Stars20,006
Forks2,941
Last commit1 month ago
RxPermissionsRxPermissions

Android runtime permissions powered by RxJava2

Stars10,434
Forks1,381
Last commit4 years ago
RxBindingRxBinding

RxJava binding APIs for Android's UI widgets.

Stars9,596
Forks965
Last commit4 years ago
ReactiveNetworkReactiveNetwork

Android library listening network connection state and Internet connectivity with RxJava Observables

Stars2,528
Forks268
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub