Name: Explicata, and EX_ for the environment variables

Infinispand becomes Explicata (Latin, "things unfolded") wherever the name
shows: the page title, README, package, prompts, seed title, Wikipedia
User-Agent and startup line. Every IE_* variable becomes EX_*. The browser's
IndexedDB name and the ie: storage keys stay, so settings and replicas
already stored are found; the migration fixtures keep the old seed title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q6Kn9JiRmGKzPQMh7o
This commit is contained in:
thalladaandClaude Opus 5.5 committed 2026-11-17 18:03:49 -05:00
1 parent e6d71e84de
commit 60d26908d6
51 files changed
+256 -252

No files matched your search

+3 -3
View File
@@ -16,7 +16,7 @@
* Answers: 200 { ok: true, ... }; 400 bad input; 404 { ok: false, reason: "missing" };
* 503 { ok: false, reason, retryAfter } when Wikipedia is unreachable or asked us to wait.
* A request the browser abandons (a superseded keystroke) is dropped from the queue unsent.
* With IE_WIKI=off the server wires in wikiOff instead: every route answers 503 reason "off".
* With EX_WIKI=off the server wires in wikiOff instead: every route answers 503 reason "off".
*/
import type { IncomingMessage, ServerResponse } from "node:http";
import { HttpError, abortOnClose, sendJson as send } from "./util";
@@ -125,9 +125,9 @@ export function wikiRoutes(client: () => WikiClient) {
};
}
/** IE_WIKI=off: the routes exist, so the UI can tell "turned off" from "unreachable", but none works. */
/** EX_WIKI=off: the routes exist, so the UI can tell "turned off" from "unreachable", but none works. */
export async function wikiOff(_req: IncomingMessage, res: ServerResponse, url: URL): Promise<boolean> {
if (!url.pathname.startsWith("/api/wiki/")) return false;
send(res, 503, { ok: false, reason: "off", message: "Wikipedia is turned off on this server (IE_WIKI=off)." });
send(res, 503, { ok: false, reason: "off", message: "Wikipedia is turned off on this server (EX_WIKI=off)." });
return true;
}