#206206th of 358 in Backends, databases and hosting

drift

Reactive SQLite persistence library for Flutter and Dart with generated type-safe queries

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
3.3k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Dart
Stars, last 30 weeks+128
26 Apr 2026: 3,177 stars3 May 2026: 3,181 stars10 May 2026: 3,185 stars17 May 2026: 3,191 stars24 May 2026: 3,195 stars31 May 2026: 3,200 stars7 Jun 2026: 3,202 stars14 Jun 2026: 3,210 stars21 Jun 2026: 3,218 stars28 Jun 2026: 3,219 stars5 Jul 2026: 3,227 stars12 Jul 2026: 3,230 stars19 Jul 2026: 3,235 stars26 Jul 2026: 3,242 stars2 Aug 2026: 3,245 stars9 Aug 2026: 3,251 stars16 Aug 2026: 3,253 stars23 Aug 2026: 3,254 stars30 Aug 2026: 3,259 stars6 Sept 2026: 3,263 stars13 Sept 2026: 3,268 stars20 Sept 2026: 3,274 stars27 Sept 2026: 3,277 stars4 Oct 2026: 3,281 stars11 Oct 2026: 3,286 stars18 Oct 2026: 3,291 stars25 Oct 2026: 3,295 stars1 Nov 2026: 3,298 stars8 Nov 2026: 3,302 stars15 Nov 2026: 3,303 stars22 Nov 2026: 3,305 stars

3,177 on 26 Apr 20263,305 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Drift is a Dart and Flutter library on top of SQLite. Tables and queries are written in Dart or SQL, and code generation produces type-safe APIs, with SQL checked at compile time. Queries can be exposed as auto-updating streams, and database work can run across isolates. It targets Android, iOS, macOS, Windows, Linux and the web. It is not an AI project.

Who it is for: Flutter and Dart developers who need a local SQLite database layer

Strengths

  • Queries written in Dart or SQL, including WITH and WINDOW clauses, checked at compile time
  • Any query, including multi-table ones, can be turned into an auto-updating stream
  • Built-in transactions, schema migrations, DAOs and batched updates
  • Runs on Android, iOS, macOS, Windows, Linux and web; includes a sample Flutter todo app

Weaknesses

  • Limited to Dart and Flutter; no support for other languages
  • Needs a code generator (drift_dev) in the build step
  • Local SQLite persistence only; no server, auth or sync, which need separate tools
  • Not an AI project; fits this list only loosely

What it needs

  • no GPU
  • Docker
  • Needs SQLite

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Backends, databases and hosting

See all 358
Also in Backends, databases and hosting
RankProjectScore
#204ihpHaskell web framework with type-safe routing, queries and HTML templates5.4k starsMIT68 out of 100
#205dgs-frameworkGraphQL server framework for Spring Boot, built by Netflix3.4k starsApache-2.068 out of 100
#207remultTypeScript entity library that generates CRUD, realtime API and typed client Live demo ↗ (opens in a new tab)3.2k starsMIT68 out of 100
#208reyloImport .sql files into TypeScript with types inferred from your database Live demo ↗ (opens in a new tab)1.8k stars+422 (+32%) in 30 daysMIT68 out of 100
#209arangodbMulti-model database for graphs, JSON documents and full-text search via AQL14.3k starscustom license67 out of 100