A thin caching layer providing offline database support for Meteor applications using local storage.
GroundDB is a client-side library for Meteor applications that enables offline functionality by caching data locally. It provides a fast, asynchronous storage layer that syncs with Meteor's MongoDB collections via DDP, allowing apps to maintain functionality without a network connection.
Meteor developers building web or Cordova applications that need to work offline or with intermittent network connectivity.
Developers choose GroundDB for its lightweight, performant caching layer that prioritizes simplicity and speed over complex synchronization, using local storage backends like localStorage, IndexedDB, and WebSQL for efficient data handling.
GroundDB is a thin layer providing Meteor offline database and methods
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses localforage with multiple backends like IndexedDB and WebSQL for efficient, asynchronous local caching, ensuring quick data access even offline.
Observes Meteor collection cursors via DDP to cache updates in real-time, automatically syncing server changes to local storage as shown in the observeSource() example.
Provides keep() methods to limit stored data based on queries, such as foo.keep(bar.find({}, { limit: 30 })), and manual clear() for easy cleanup.
Includes a GroundLegacy helper class for near-backwards compatibility with older GroundDB versions, simplifying migration for existing projects.
Lacks support for resuming method calls or cross-tab updates, as the README explicitly states it's a caching-only storage, limiting advanced offline functionality.
In legacy mode, requires explicit calls to removeLocalOnly() to sync data, adding development complexity and potential for errors if not handled properly.
Tightly coupled with Meteor's ecosystem, relying on LocalCollection and DDP, making it unsuitable for non-Meteor projects and restricting broader use.