From e50649767e6cdc230343e9131707f80bfc1f7d85 Mon Sep 17 00:00:00 2001 From: malonehunter Date: Sat, 30 May 2026 07:55:55 -0400 Subject: [PATCH] readme: clarify that db.json + db_lite.json are attached to every tagged release Convention going forward: every Release bundles both db files even if the database itself didn't change between releases (e.g., v2.4.0 has the same db as v2.3.0). Makes the 'from the latest release' instruction self-sufficient for newcomers landing on /releases/latest. Co-Authored-By: Claude Opus 4.7 (1M context) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e000633..abe5fc8 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ git pull origin master Out of the box the calculator runs in **live mode** — it loads `db.txt` and computes cipher values on the fly (works immediately, ~2-5s per query). For **instant matching** (~100ms), use the pre-computed JSON: -- **Download** the prebuilt **`db.json` and `db_lite.json`** from the [latest release](https://github.com/malonehunter/hyperdope-gematria/releases/latest) and drop them next to `index.html`, **or** +- **Download** the prebuilt **`db.json` and `db_lite.json`** from the [latest release](https://github.com/malonehunter/hyperdope-gematria/releases/latest) (both files are attached to every tagged release, even when the database itself didn't change) and drop them next to `index.html`, **or** - **Rebuild** both from `db.txt`: `python3 tools/generate_db_json.py db.txt db.json` (emits `db.json` + `db_lite.json`). With both present, the calculator **loads progressively**: `db_lite.json` (the default ciphers) paints in ~2s with immediate matching, then the full `db.json` streams in and swaps in the background. It auto-detects them (see `databaseMode` / `databaseLiteJsonUrl` in `config.js`). Bump `databaseVersion` in `config.js` whenever you update the databases to cache-bust browsers.