{"id":13550735,"url":"https://github.com/objectbox/objectbox-dart","last_synced_at":"2026-04-02T13:20:52.263Z","repository":{"id":35176017,"uuid":"197584193","full_name":"objectbox/objectbox-dart","owner":"objectbox","description":"Flutter database for super-fast Dart object persistence","archived":false,"fork":false,"pushed_at":"2025-04-16T05:38:18.000Z","size":11096,"stargazers_count":1116,"open_issues_count":78,"forks_count":133,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-05-05T13:17:08.847Z","etag":null,"topics":["android","cross-platform","dart","database","embedded","firebase","flutter","ios","mobile","nosql","offline-first","sustainable","sync"],"latest_commit_sha":null,"homepage":"https://docs.objectbox.io/getting-started","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/objectbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-07-18T12:38:10.000Z","updated_at":"2025-04-30T10:40:14.000Z","dependencies_parsed_at":"2023-10-16T21:53:09.463Z","dependency_job_id":"bc6e5474-185f-45bb-9336-d17f72c2ab01","html_url":"https://github.com/objectbox/objectbox-dart","commit_stats":{"total_commits":1725,"total_committers":18,"mean_commits":95.83333333333333,"dds":0.584927536231884,"last_synced_commit":"8caf9ba57db1ea84d6bd2d0d7756f4de7948a3a5"},"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectbox%2Fobjectbox-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectbox%2Fobjectbox-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectbox%2Fobjectbox-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectbox%2Fobjectbox-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/objectbox","download_url":"https://codeload.github.com/objectbox/objectbox-dart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254080134,"owners_count":22011326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cross-platform","dart","database","embedded","firebase","flutter","ios","mobile","nosql","offline-first","sustainable","sync"],"created_at":"2024-08-01T12:01:36.806Z","updated_at":"2026-04-02T13:20:52.258Z","avatar_url":"https://github.com/objectbox.png","language":"Dart","readme":"\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/objectbox/objectbox-dart/main/.github/logo.png\" alt=\"ObjectBox\" width=\"400px\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://docs.objectbox.io/getting-started\"\u003eGetting Started\u003c/a\u003e •\n  \u003ca href=\"https://docs.objectbox.io\"\u003eDocumentation\u003c/a\u003e •\n  \u003ca href=\"https://github.com/objectbox/objectbox-dart/tree/main/objectbox/example\"\u003eExample Apps\u003c/a\u003e •\n  \u003ca href=\"https://github.com/objectbox/objectbox-dart/issues\"\u003eIssues\u003c/a\u003e •\n  \u003ca href=\"https://objectbox.io/blog\"\u003eBlog\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/objectbox/objectbox-dart/actions/workflows/test.yml\"\u003e\u003cimg src=\"https://github.com/objectbox/objectbox-dart/actions/workflows/test.yml/badge.svg\" alt=\"Build and test\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/objectbox\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/objectbox.svg?label=pub.dev\u0026logo=dart\" alt=\"pub.dev package\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Flutter database with vector support - easy to use \u0026 fast Dart object persistence, plus on-device vector search 💙\n\nVery first on-device vector database for Flutter / Dart AI apps. Intuitive APIs, simply fast. \nPersist local Dart objects with ease \u0026 speed, efficiently manage vectors.\n\nObjectBox provides a store with boxes to put objects into:\n\n```dart\n// Annotate a Dart class to create a Box\n@Entity()\nclass Person {\n  @Id()\n  int id;\n  String firstName;\n  String lastName;\n\n  Person({this.id = 0, required this.firstName, required this.lastName});\n}\n\nfinal Store store = await openStore(directory: 'person-db');\nfinal box = store.box\u003cPerson\u003e();\n\nvar person = Person(firstName: 'Joe', lastName: 'Green');\nfinal id = box.put(person); // Create\n\nperson = box.get(id)!;      // Read\n\nperson.lastName = 'Black';\nbox.put(person);            // Update\n\nbox.remove(person.id);      // Delete\n\nfinal query = box           // Query\n    .query(Person_.firstName.equals('Joe') \u0026 Person_.lastName.startsWith('B'))\n    .build();\nfinal List\u003cPerson\u003e people = query.find();\nquery.close();\n```\n\nReady? Continue with the ➡️ **[Getting Started guide](https://docs.objectbox.io/getting-started)**.\n\n## Why use ObjectBox\n\nObjectBox Flutter database is an excellent choice for storing Dart objects in cross-platform\napplications and the only on-device database that offers you vector support for your on-device AI apps.\nDesigned for high performance, the ObjectBox Flutter database is excellent for mobile\nand IoT devices. ObjectBox consumes minimal CPU, memory, and battery, ensuring that your software is\nnot only efficient but also sustainable. By storing data locally on the device, ObjectBox allows you\nto cut cloud costs and create an app that does not require a connection. Get started with our\nintuitive native Dart API in minutes, without the hassle of SQL.\nPlus: We built a data synchronization solution that allows you to keep data in sync across devices\nand servers, both online and offline.\n\n### Features\n\n🏁 **Very first [on-device vector database](https://docs.objectbox.io/on-device-ann-vector-search)** - for AI apps that work any place.\n\n🏁 **High performance** - superfast response rates enabling real-time applications.\\\n🪂 **ACID compliant** - Atomic, Consistent, Isolated, Durable.\\\n💻 **Multiplatform** - Android, iOS, macOS, Linux, Windows, any POSIX-system.\\\n🌱 **Scalable** - grows with your app, handling millions of objects with ease.\\\n💚 **Sustainable** - frugal on CPU, Memory and battery / power use, reducing CO2 emissions.\n\n🔗 **[Relations](https://docs.objectbox.io/relations)** - object links / relationships are built-in.\\\n💐 **[Queries](https://docs.objectbox.io/queries)** - filter data as needed, even across relations.\\\n🦮 **Statically typed** - compile time checks \u0026 optimizations.\\\n📃 **Schema migration** - change your model with confidence.\n\nOh, and there is one more thing...\n\n😮 [**Data Sync**](https://objectbox.io/sync/) - keeps data in sync offline or online, between devices and servers.\n\n## Getting Started\n\nContinue with our ➡️ **[Getting Started guide](https://docs.objectbox.io/getting-started)**. It has resources and video tutorials on how to use ObjectBox in your Flutter or Dart app.\n\n## How does ObjectBox compare to other solutions?\n\n- ObjectBox is fast. Have a look at our benchmarks below, or test it for yourself\n- It's a full NoSQL SQLite alternative with intuitive Dart APIs you'll love 💙\n- It comes with an out-of-the-box [Data Sync](https://objectbox.io/sync/), making it an effective self-hosted Firebase alternative\n\n### Flutter Database Performance Benchmarks\n\nWe tested across the four main database operations, CRUD (create, read, update, delete).\nEach test was run multiple times and executed manually.\nData preparation and evaluation were done outside the measured time. \n\nHere are the benchmarks for ObjectBox vs sqflite vs Hive (last updated 2021-09-11) 👇\n\n![](https://raw.githubusercontent.com/objectbox/objectbox-dart/main/.github/benchmarks.png)\n\nYou can run these yourself using our [objectbox-dart-performance](https://github.com/objectbox/objectbox-dart-performance) Flutter benchmark app.\n\n## How do you 💙 ObjectBox?\n\n**We're looking forward to receiving your comments and requests:**\n\n- Add [GitHub issues](https://github.com/objectbox/objectbox-dart/issues)\n- Upvote issues you find important by adding the 👍 (thumbs up) reaction\n- Fill in the [feedback form](https://forms.gle/s2L1YH32nwjgs4s4A) to help us improve our products\n- [Get in touch with us](https://objectbox.io/contact-us/)\n- ⭐ us on GitHub, if you like what you see or give us a 👍 on [pub.dev](https://pub.dev/packages/objectbox)\n\nThank you! 🙏\n\nFor general news on ObjectBox, [check our blog](https://objectbox.io/blog)!\n\n## Contributing\n\nDo you want to check out the ObjectBox code itself? E.g. see it in action, run tests, or even contribute code?\nGreat! Clone/check out this repository and run this to generate code and get you started quickly:\n\n```bash\n./tool/init.sh\n```\n\nAlso, make sure to have a look at the [contribution guidelines](CONTRIBUTING.md) - we are looking forward to your contribution.\n\n## Packages\n\nThis repository holds all ObjectBox Dart/Flutter packages as separate directories:\n\n- [objectbox](objectbox) - ObjectBox Dart APIs\n- [objectbox_test](objectbox_test) - unit tests of the ObjectBox Dart APIs\n- [objectbox_generator](generator) - code generator\n- [objectbox_flutter_libs](flutter_libs) - provides the native database libraries for Flutter apps\n- [objectbox_sync_flutter_libs](sync_flutter_libs) - provides the native database libraries with [**ObjectBox Sync**](https://objectbox.io/sync/) enabled\n- [benchmark](benchmark) - used internally to microbenchmark and compare various implementations during development\n\nThere's also a separate repository benchmarking objectbox (and other databases) in Flutter: \n[objectbox-dart-performance](https://github.com/objectbox/objectbox-dart-performance).\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for a more detailed overview.\n\n## Other languages/bindings\n\nObjectBox supports multiple platforms and languages: \n\n- [Java SDK](https://github.com/objectbox/objectbox-java): runs on Android and JVM (desktop, servers)\n- [Swift SDK](https://github.com/objectbox/objectbox-swift): build fast mobile apps for iOS and macOS\n- [Go SDK](https://github.com/objectbox/objectbox-go): great for data-driven tools and embedded server applications\n- [C / C++ SDK](https://github.com/objectbox/objectbox-c): native speed with zero copy access to FlatBuffer objects\n\n## License\n\n```text\nCopyright © 2019-2026 ObjectBox Ltd. \u003chttps://objectbox.io/\u003e\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\nNote that this license applies to the code in this repository only.\nSee our website on details about all [licenses for ObjectBox components](https://objectbox.io/faq/#license-pricing).\n","funding_links":[],"categories":["Dart","Plugins"],"sub_categories":["Storage"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjectbox%2Fobjectbox-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobjectbox%2Fobjectbox-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjectbox%2Fobjectbox-dart/lists"}