# gruns/ImmortalDB

:nut_and_bolt: A relentless key-value store for the browser.

Repository: https://github.com/gruns/ImmortalDB
Canonical: https://ross.abutalabs.com/products/immortaldb
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, storage, localstorage, indexeddb, sessionstorage, cookies, library, database, key-value, key-value-store, key-value-database
Last push: 2025-04-18T19:04:18+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 17, release rhythm 8, longevity 100
- inputs: {"age_days": 2870, "days_push": 502, "days_rel": 503, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3058, forks 60 (observed 2026-08-28T04:07:41.063162+00:00)

## What it is
ImmortalDB is a resilient key-value store for the browser that redundantly persists data across Cookies, IndexedDB, and LocalStorage. It uses a consensus mechanism to detect and self-heal deleted or corrupted data via a simple Promise-based API.

## Use cases
- persist key-value data in the browser that survives cache clearing
- store user preferences reliably across cookies, IndexedDB, and localStorage
- protect browser storage from eviction under storage pressure
- replace evercookie-style persistent storage with a modern Promise API
- self-heal corrupted or deleted browser storage data

## When to choose
- you need highly persistent client-side key-value storage in the browser
- you want redundancy across multiple browser storage backends with automatic healing
- you want a simple Promise-based API using only standard HTML5 storage APIs

## When to avoid
- you need server-side or structured/relational storage
- you need to store non-string data types or large binary blobs
- you want storage that users can fully and easily purge, since redundancy makes deletion harder

## Facets
- artifact type: library
- maturity: active
- function: database, caching
- domain: web-development, frontend, databases, privacy
- platform: browser
- tags: key-value-store, localstorage, indexeddb, cookies, self-healing, redundant-storage, promise-api, javascript

## Member repositories
- gruns/ImmortalDB (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.063162+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:28:48.108364+00:00, confidence not recorded.
  - readme: https://github.com/gruns/ImmortalDB (fetched 2026-08-28T04:07:41.063162+00:00, sha 5ae0cfd271c2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
