[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10462":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},10462,"objectbox-java","objectbox\u002Fobjectbox-java","objectbox","Database for Android and JVM - first and fast, lightweight on-device vector database","https:\u002F\u002Fobjectbox.io",null,"Java",4610,306,100,144,0,6,29.46,"Apache License 2.0",false,"main",true,[24,25,26,27,28,29,30,31,32,33,34,35],"android","database","edge","embedded","java","kotlin","mobile","nosql","sqlite","sustainable","sync","vector","2026-06-12 02:02:22","\u003Cp align=\"center\">\u003Cimg width=\"466\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fobjectbox\u002Fobjectbox-java\u002Fmaster\u002Flogo.png\" alt=\"ObjectBox\">\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdocs.objectbox.io\u002Fgetting-started\">Getting Started\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fdocs.objectbox.io\">Documentation\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-examples\">Example Apps\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-java\u002Fissues\">Issues\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-java\u002Freleases\u002Flatest\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fobjectbox\u002Fobjectbox-java?color=7DDC7D&style=flat-square\" alt=\"Latest Release\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-java\u002Fstargazers\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fobjectbox\u002Fobjectbox-java?color=17A6A6&logo=github&style=flat-square\" alt=\"Star objectbox-java\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-java\u002Fblob\u002Fmain\u002FLICENSE.txt\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fobjectbox\u002Fobjectbox-java?color=7DDC7D&logo=apache&style=flat-square\" alt=\"Apache 2.0 license\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002FObjectBox_io\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fobjectbox_io?color=%20%2300aced&logo=twitter&style=flat-square\" alt=\"Follow @ObjectBox_io\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n# ObjectBox - Fast and Efficient Java Database (Android, JVM) with Vector Search\n\nObjectBox Java is a lightweight yet powerful on-device database & vector database designed specifically for **Java and Kotlin** applications.\nStore and manage data effortlessly in your Android or JVM Linux, macOS or Windows app with ObjectBox.\nEasily manage vector data alongside your objects and perform superfast on-device vector search to empower your apps with RAG AI, generative AI, and similarity search.\nEnjoy exceptional speed, battery-friendly resource usage, and environmentally-friendly development. 💚\n\nObjectBox provides a store with boxes to put objects into:\n\n#### JVM + Java example\n\n```java\n\u002F\u002F Annotate a class to create a Box\n@Entity\npublic class Person {\n  private @Id long id;\n  private String firstName;\n  private String lastName;\n\n  \u002F\u002F Constructor, getters and setters left out for simplicity\n}\n \nBoxStore store = MyObjectBox.builder()\n        .name(\"person-db\")\n        .build();\n \nBox\u003CPerson> box = store.boxFor(Person.class);\n \nPerson person = new Person(\"Joe\", \"Green\");\nlong id = box.put(person);    \u002F\u002F Create\nperson = box.get(id);         \u002F\u002F Read\nperson.setLastName(\"Black\");\nbox.put(person);              \u002F\u002F Update\nbox.remove(person);           \u002F\u002F Delete\n```\n\n#### Android + Kotlin example\n\n```kotlin\n\u002F\u002F Annotate a class to create a Box\n@Entity\ndata class Person(\n    @Id var id: Long = 0,\n    var firstName: String? = null,\n    var lastName: String? = null\n)\n \nval store = MyObjectBox.builder()\n                .androidContext(context)\n                .build()\n \nval box = store.boxFor(Person::class)\n \nvar person = Person(firstName = \"Joe\", lastName = \"Green\")\nval id = box.put()   \u002F\u002F Create\nperson = box.get(id) \u002F\u002F Read\nperson.lastName = \"Black\"\nbox.put(person)     \u002F\u002F Update\nbox.remove(person)  \u002F\u002F Delete\n```\n\n## Table of Contents\n\n- [Key Features](#key-features)\n- [Getting Started](#getting-started)\n  - [Gradle setup](#gradle-setup)\n  - [Maven setup](#maven-setup)\n- [Why use ObjectBox?](#why-use-objectbox-for-java-data-management)\n- [Community and Support](#community-and-support)\n- [Changelog](#changelog)\n- [Other languages\u002Fbindings](#other-languagesbindings)\n- [License](#license)\n\n## Key Features\n\n🧠 **First on-device vector database:** easily manage vector data and perform fast vector search\n🏁 **High performance:** exceptional speed, outperforming alternatives like SQLite and Realm in all CRUD operations.\\\n💚 **Efficient Resource Usage:** minimal CPU, power and memory consumption for maximum flexibility and sustainability.\\\n🔗 **[Built-in Object Relations](https:\u002F\u002Fdocs.objectbox.io\u002Frelations):** built-in support for object relations, allowing you to easily establish and manage relationships between objects.\\\n👌 **Ease of use:** concise API that eliminates the need for complex SQL queries, saving you time and effort during development.\n\n## Getting Started\n\n> [!NOTE]\n> Prefer to look at example code? Check out [our examples repository](https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-examples).\n\nYou can add the ObjectBox Java SDK using a:\n\n- [Gradle setup](#gradle-setup)\n- [Maven setup](#maven-setup)\n\nObjectBox tools and dependencies are available on [the Maven Central repository](https:\u002F\u002Fcentral.sonatype.com\u002Fnamespace\u002Fio.objectbox).\n\nThe database libraries available for the ObjectBox Java SDK support:\n\n- JVM 8 or newer\n  - Linux (x64, arm64, armv7)\n  - macOS (x64, arm64)\n  - Windows (x64)\n- Android 5.0 (API level 21) or newer\n\nThe ObjectBox Java SDK supports:\n\n- Java 8 or newer\n- Kotlin 1.7 or newer\n\nThe [ObjectBox Gradle plugin](https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-java-generator) supports:\n\n- Gradle 7.0 or newer\n- Android Gradle Plugin 8.1 or newer\n- JDK 11 or newer\n\n### Gradle setup\n\nFor Gradle projects, add the required plugins to your root Gradle script.\n\nWhen using a [TOML version catalog](https:\u002F\u002Fdocs.gradle.org\u002Fcurrent\u002Fuserguide\u002Fversion_catalogs.html) and plugins syntax \n(for alternatives see below):\n          \n```toml\n# gradle\u002Flibs.versions.toml\n\n[versions]\n# For an Android project\nagp = \"AGP_VERSION\"\n# If using Kotlin\nkotlin = \"KOTLIN_VERSION\"\n\n# Define a variable for the version of the ObjectBox plugin\nobjectbox = \"5.4.2\"\n\n[plugins]\n# For an Android project, using Android Gradle Plugin 9.0 or newer\nandroid-application = { id = \"com.android.application\", version.ref = \"agp\" }\nkotlin-kapt = { id = \"com.android.legacy-kapt\", version.ref = \"agp\" }\n\n# For an Android project, using Android Gradle Plugin 8.13 or older\nandroid-application = { id = \"com.android.application\", version.ref = \"agp\" }\nkotlin-android = { id = \"org.jetbrains.kotlin.android\", version.ref = \"kotlin\" }\nkotlin-kapt = { id = \"org.jetbrains.kotlin.kapt\", version.ref = \"kotlin\" }\n\n# For a JVM project, if using Kotlin \nkotlin-jvm = { id = \"org.jetbrains.kotlin.jvm\", version.ref = \"kotlin\" }\nkotlin-kapt = { id = \"org.jetbrains.kotlin.kapt\", version.ref = \"kotlin\" }\n\n# Add an alias for the ObjectBox plugin\nobjectbox = { id = \"io.objectbox\", version.ref = \"objectbox\" }\n```\n\n```kotlin\n\u002F\u002F build.gradle.kts\n\nplugins {\n    \u002F\u002F For an Android project, using Android Gradle Plugin 9.0 or newer\n    alias(libs.plugins.android.application) apply false\n    alias(libs.plugins.kotlin.kapt) apply false  \n  \n    \u002F\u002F For an Android project, using Android Gradle Plugin 8.13 or older\n    alias(libs.plugins.android.application) apply false\n    alias(libs.plugins.kotlin.android) apply false\n    alias(libs.plugins.kotlin.kapt) apply false\n\n    \u002F\u002F For a JVM project, if using Kotlin\n    alias(libs.plugins.kotlin.jvm) apply false\n    alias(libs.plugins.kotlin.kapt) apply false\n  \n    \u002F\u002F Add the ObjectBox plugin\n    alias(libs.plugins.objectbox) apply false  \n}\n```\n\n```kotlin\n\u002F\u002F settings.gradle.kts\n\npluginManagement {\n    repositories {\n        \u002F\u002F Add Maven Central to the plugin repositories\n        mavenCentral()\n    }\n}\n\ndependencyResolutionManagement {\n    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n    repositories {\n        \u002F\u002F Add Maven Central to the dependency repositories\n        mavenCentral()\n    }\n}\n```\n\nThen, in the Gradle script of your subproject apply the necessary plugins:\n\n```kotlin\n\u002F\u002F app\u002Fbuild.gradle.kts\n\nplugins {\n    \u002F\u002F For an Android project, using Android Gradle Plugin 9.0 or newer\n    alias(libs.plugins.android.application)\n    alias(libs.plugins.kotlin.kapt)\n    \n    \u002F\u002F For an Android project, using Android Gradle Plugin 8.13 or older\n    alias(libs.plugins.android.application)\n    alias(libs.plugins.kotlin.android)\n    alias(libs.plugins.kotlin.kapt)\n    \n    \u002F\u002F For a JVM project\n    id(\"application\") \u002F\u002F or id(\"java-library\")\n    \u002F\u002F Optional, if using Kotlin\n    alias(libs.plugins.kotlin.jvm)\n    alias(libs.plugins.kotlin.kapt)\n\n    \u002F\u002F Finally, apply the ObjectBox plugin\n    alias(libs.plugins.objectbox)\n}\n```\n\nFinally, sync the Gradle project with your IDE (for ex. using \"Sync Project with Gradle Files\" in Android Studio).\n\nYour project can now use ObjectBox, continue by [defining entity classes](https:\u002F\u002Fdocs.objectbox.io\u002Fgetting-started#define-entity-classes).\n\n#### Alternatives\n\n\u003Cdetails>\u003Csummary>Using plugins syntax with plugin IDs\u003C\u002Fsummary>\n\n```kotlin\n\u002F\u002F build.gradle.kts\n\nplugins {\n    \u002F\u002F Add the ObjectBox plugin\n    id(\"io.objectbox\") version \"5.4.2\" apply false\n}\n```\n\n```kotlin\n\u002F\u002F settings.gradle.kts\n\npluginManagement {\n    repositories {\n        \u002F\u002F Add Maven Central to the plugin repositories\n        mavenCentral()\n    }\n}\n\ndependencyResolutionManagement {\n    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n    repositories {\n        \u002F\u002F Add Maven Central to the dependency repositories\n        mavenCentral()\n    }\n}\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\u003Csummary>Using buildscript syntax (KTS)\u003C\u002Fsummary>\n\n```kotlin\n\u002F\u002F build.gradle.kts\n\nbuildscript {\n    \u002F\u002F Define a variable for the ObjectBox plugin version\n    val objectboxVersion by extra(\"5.4.2\")\n  \n    repositories {\n        \u002F\u002F Add Maven Central to the plugin repositories     \n        mavenCentral()    \n    }\n  \n    dependencies {\n        \u002F\u002F Add the ObjectBox plugin\n        classpath(\"io.objectbox:objectbox-gradle-plugin:$objectboxVersion\")\n    }\n}\n\nallprojects {\n    repositories {\n        \u002F\u002F Add Maven Central to the dependency repositories\n        mavenCentral()\n    }\n}\n```\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\u003Csummary>Using buildscript syntax (Groovy)\u003C\u002Fsummary>\n\n```groovy\n\u002F\u002F build.gradle\n\nbuildscript {\n    \u002F\u002F Define a variable for the ObjectBox plugin version\n    ext.objectboxVersion = \"5.4.2\"\n  \n    repositories {        \n        \u002F\u002F Add Maven Central to the plugin repositories\n        mavenCentral()    \n    }\n  \n    dependencies {\n        \u002F\u002F Add the ObjectBox plugin\n        classpath(\"io.objectbox:objectbox-gradle-plugin:$objectboxVersion\")\n    }\n}\n\nallprojects {\n    repositories {\n        \u002F\u002F Add Maven Central to the dependency repositories\n        mavenCentral()\n    }\n}\n```\n\n\u003C\u002Fdetails>\n\nThen, in the Gradle script of your subproject apply the necessary plugins using their IDs:\n\n```kotlin\n\u002F\u002F app\u002Fbuild.gradle.kts\n\nplugins {\n    \u002F\u002F For an Android project, using Android Gradle Plugin 9.0 or newer\n    id(\"com.android.application\") \u002F\u002F or id(\"com.android.library\")\n    id(\"com.android.legacy-kapt\") \n  \n    \u002F\u002F For an Android project, using Android Gradle Plugin 8.13 or older\n    id(\"com.android.application\") \u002F\u002F or id(\"com.android.library\")\n    id(\"org.jetbrains.kotlin.android\") \u002F\u002F or kotlin(\"android\")\n    id(\"org.jetbrains.kotlin.kapt\") \u002F\u002F or kotlin(\"kapt\")  \n  \n    \u002F\u002F For a JVM project\n    id(\"application\") \u002F\u002F or id(\"java-library\")\n    \u002F\u002F Optional, if using Kotlin\n    id(\"org.jetbrains.kotlin.jvm\") \u002F\u002F or kotlin(\"jvm\")\n    id(\"org.jetbrains.kotlin.kapt\") \u002F\u002F or kotlin(\"kapt\")  \n\n    \u002F\u002F Finally, apply the ObjectBox plugin\n    id(\"io.objectbox\")\n}\n```\n\n### Maven setup\n\nThis is currently only supported for JVM projects.\n\nTo set up a Maven project, see the [README of the Java Maven example project](https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-examples\u002Fblob\u002Fmain\u002Fjava-main-maven\u002FREADME.md).\n\n## Frequently Asked Questions and Troubleshooting\n\nIf you encounter any problems, check out the [FAQ](https:\u002F\u002Fdocs.objectbox.io\u002Ffaq) and [Troubleshooting](https:\u002F\u002Fdocs.objectbox.io\u002Ftroubleshooting) pages.\n\n## Why use ObjectBox for Java data management?\n\nObjectBox is a NoSQL Java database designed for local data storage on resource-restricted devices, prioritizing\noffline-first functionality. It is a smart and sustainable choice for local data persistence in Java and Kotlin\napplications. It offers efficiency, ease of use, and flexibility.\n\n### Fast but resourceful\n\nOptimized for speed and minimal resource consumption, ObjectBox is an ideal solution for mobile devices. It has\nexcellent performance, while also minimizing CPU, RAM, and power usage. ObjectBox outperforms SQLite and Realm across\nall CRUD (Create, Read, Update, Delete) operations. Check out our [Performance Benchmarking App repository](https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-performance).\n\n### Simple but powerful\n\nWith its concise language-native API, ObjectBox simplifies development by requiring less code compared to SQLite. It\noperates on plain objects (POJOs) with built-in relations, eliminating the need to manage rows and columns. This\napproach is efficient for handling large data volumes and allows for easy model modifications.\n\n### Functionality\n\n💐 **[Queries](https:\u002F\u002Fdocs.objectbox.io\u002Fqueries):** filter data as needed, even across relations\\\n💻 **[Multiplatform](https:\u002F\u002Fdocs.objectbox.io\u002Ffaq#on-which-platforms-does-objectbox-run):** supports Android and JVM on Linux (also on ARM), Windows and macOS\\\n🌱 **Scalable:** handling millions of objects resource-efficiently with ease\\\n🦮 **Statically typed:** compile time checks & optimizations\\\n📃 **Automatic schema migrations:** no update scripts needed\n\n**And much more than just data persistence**\\\n🔄 **[ObjectBox Sync](https:\u002F\u002Fobjectbox.io\u002Fsync\u002F):** keeps data in sync between devices and servers\\\n🕒 **[ObjectBox TS](https:\u002F\u002Fobjectbox.io\u002Ftime-series-database\u002F):** time series extension for time based data\n\n## Community and Support\n\n❤ **Tell us what you think!** Share your thoughts through our [Anonymous Feedback Form](https:\u002F\u002Fforms.gle\u002FbdktGBUmL4m48ruj7).\n\nAt ObjectBox, we are dedicated to bringing joy and delight to app developers by providing intuitive and fun-to-code-with\nAPIs. We genuinely want to hear from you: What do you love about ObjectBox? What could be improved? Where do you face\nchallenges in everyday app development?\n\n**We eagerly await your comments and requests, so please feel free to reach out to us:**\n\n- Add [GitHub issues](https:\u002F\u002Fgithub.com\u002FObjectBox\u002Fobjectbox-java\u002Fissues)\n- Upvote important issues 👍\n- Drop us a line via contact[at]objectbox.io\n- ⭐ us on GitHub if you like what you see!\n\nThank you! Stay updated with our [blog](https:\u002F\u002Fobjectbox.io\u002Fblog).\n\n## Changelog\n\nFor notable and important changes in new releases, read the [changelog](CHANGELOG.md).\n\n## Other languages\u002Fbindings\n\nObjectBox supports multiple platforms and languages.\nBesides JVM based languages like Java and Kotlin, ObjectBox also offers:\n\n- [C and C++ SDK](https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-c): native speed with zero copy access to FlatBuffer objects\n- [Dart and Flutter SDK](https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-dart): cross-platform for mobile and desktop apps\n- [Go SDK](https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-go): great for data-driven tools and embedded server applications\n- [Swift SDK](https:\u002F\u002Fgithub.com\u002Fobjectbox\u002Fobjectbox-swift): build fast mobile apps for iOS (and macOS)\n\n## License\n\n```text\nCopyright 2017-2025 ObjectBox Ltd.\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:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-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:\u002F\u002Fobjectbox.io\u002Ffaq\u002F#license-pricing).\n","ObjectBox Java 是一个专为 Java 和 Kotlin 应用设计的轻量级且高效的设备端数据库及向量数据库。它支持在 Android 或 JVM 应用中轻松存储和管理数据，并具备超快的设备端向量搜索能力，适用于增强应用程序中的检索增强生成 AI 和相似性搜索功能。该数据库具有卓越的速度表现、节能资源使用以及环境友好的开发特性。无论是移动应用还是桌面应用，ObjectBox 都能提供简洁的数据操作 API 与强大的数据管理能力，适合需要高性能本地数据存储和快速查询的场景。",2,"2026-06-11 03:28:41","top_topic"]