GUNDecentralized graph sync and embedded data engine
ObjectBoxEmbedded Flutter and Dart object database
GUN vs ObjectBox
How GUN and ObjectBox compare on popularity, activity, license and platforms: two open-source Databases projects, both alternatives to Firebase.
At a glance
- GUN has more GitHub stars (19.2k vs 1.2k, about 15× as many).
- Both are actively maintained (last commits 6 days ago and 4 days ago).
- GUN uses MIT; ObjectBox uses Apache-2.0 (both permissive).
- GUN is the older project (repository started 2014; ObjectBox in 2019).
Side by side
| GUN | ObjectBox | |
|---|---|---|
| GitHub stars | ★ 19,169 | ★ 1,237 |
| Forks | 1,246 | 163 |
| Last commit | 6 days ago | 4 days ago |
| Latest version | 0.2019.413 | v5.3.2 |
| Repository started | July 2014 | July 2019 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Desktop/CLI app | Desktop/CLI app |
| Platforms | Web, Docker | Linux, macOS, Windows, Android, iOS |
| Main language | JavaScript | Dart |
| Alternative to | Firebase | Firebase |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
GUN
GUN is a JavaScript graph database protocol for realtime peer-to-peer sync, offline-first use, and end-to-end encryption. npm install gun gets a small embedded engine for browser and Node.
Key features
- Realtime P2P graph synchronization
- Offline-first local data
- End-to-end encryption support
- CRDT-based conflict resolution
- Browser and Node.js usage
- SEA cryptographic user auth
ObjectBox
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.
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