qmetrics.net

ObjectBox

Embedded Flutter and Dart object database

ObjectBox screenshot

ObjectBox Dart persists local Dart objects with fast on-device storage for Flutter and Dart apps. It adds vector search and optional sync across devices.

Overview

ObjectBox Dart is the Flutter and Dart binding for ObjectBox, an embedded database that stores objects in boxes inside a local store. It targets offline-first mobile, desktop, and IoT apps that need responsive queries without SQL ceremony.

The Dart API is statically typed with code generation from entity annotations. Features highlighted in the docs include ACID transactions, relations, query filters, schema migrations, multiplatform native libraries, and low resource use on device. The project also advertises on-device vector database support for local AI workloads.

Platforms named for Flutter builds include Android, iOS, macOS, Linux, Windows, and other POSIX systems. Setup adds the objectbox package, runs build_runner to produce objectbox.g.dart and a model JSON file, and downloads native libraries for local testing. A separate sync-enabled package variant exists for customers with ObjectBox Sync access.

Maintainers compare performance to sqflite and Hive in bundled benchmarks and position ObjectBox as a NoSQL SQLite alternative with optional data synchronization to servers or other devices.

Key features

  • Native Dart object persistence API
  • Code generation from entity annotations
  • ACID transactions and relations
  • Query filters across linked objects
  • Schema migration via model file
  • On-device vector search support
  • Multiplatform Flutter native libraries
  • Optional ObjectBox Sync packages

Use cases

  • Offline-first Flutter app storage
  • Local vector search in Dart AI features
  • High-performance mobile object queries
  • Sync data between devices when licensed

Open-source alternative to

Firebase
“It comes with an out-of-the-box Data Sync, making it an effective self-hosted Firebase alternative” source

Tags

Compare ObjectBox

Similar software

Prisma ORM

TypeScript ORM with agent-oriented workflows

Prisma ORM lets TypeScript applications define data models in a contract file and query databases with type-safe APIs. Version eight rewrites the stack in TypeScript with extensibility and bundled agent skills.

★ 47.8k⟳ yesterdayApache-2.0
DatabasesDesktop/CLI app

DuckDB

In-process analytical SQL database engine

DuckDB embeds in applications and the CLI to run fast OLAP SQL locally. It reads Parquet, CSV, JSON, remote object storage, and lakehouse formats without a separate database server.

★ 43.4k⟳ todayMIT
DatabasesDesktop/CLI app

GORM

Feature-rich ORM library for Go applications

GORM maps Go structs to SQL databases with migrations, associations, hooks, and a fluent query API. It targets developer-friendly access patterns for common CRUD and relationship modeling.

★ 40k⟳ 1 month agoMIT
DatabasesDesktop/CLI app

LevelDB

Ordered embedded key-value storage library

LevelDB is a fast embedded library that maps string keys to string values in sorted order. Applications link it in-process; it is not a SQL database and has no built-in client-server layer.

★ 39.6k⟳ 15 days agoBSD-3-Clause
DatabasesDesktop/CLI app

Mongoose

Schema-based MongoDB object modeling for Node.js

Mongoose is an object modeling layer for MongoDB built for async Node.js code. It adds schemas, validation, and query helpers on top of the official MongoDB driver.

★ 27.5k⟳ yesterdayMIT
DatabasesDesktop/CLI app

RxDB

Local-first reactive NoSQL database for JavaScript

Stores application data on the client with reactive queries and optional sync to your own backend. Targets websites, hybrid mobile apps, desktop shells, and Node.js.

★ 23.4k⟳ yesterdayApache-2.0
DatabasesDesktop/CLI app