Files
haiperdohp-jemaytreeah/config.default.js
T
Hermes Agent 8c35752d9d feat(db): provision verified Ingglish phonetic lexicon and AQ attractor corpus
- Provision 872 verified Ingglish phonetic entries (253 Tier-1 lexicon/bridge
  items + 619 Tier-2 multi-scale 333/666/777/Numogram equations) formatted
  with native `[Ingglish: <English Gloss>]` comment brackets.
- Guard short Ingglish syllables (`di`, `li`, `mi`, `vi`, `iv`) against Roman-numeral
  false positives in `tools/normalize_caps.py`.
- Add newcomer onboarding documentation (`docs/ONBOARDING-INGGLISH-AQ.md`).
- Bump `databaseVersion` in `config.default.js` to cache-bust precomputed JSON.
- Verified 100% pass rate across all 4 CI gates (0 normalize mutations,
  100.0% classify_candidates keep rate, 0 comment-strip/AQ mismatches).
2026-11-03 03:50:39 +00:00

72 lines
3.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// =====================================================================
// Cypher Calculator Configuration (Default / Opensource)
// Copy this file to config.js and customize for your site.
// =====================================================================
var CALC_CONFIG = {
// --- Branding ---
siteName: "Cypher Calculator", // logo text
siteTitle: "Cypher Calculator — Gematria", // browser tab title
logoColor: "hsl(148, 60%, 45%)", // green (match code rain)
logoGlow: "0 0 8px rgba(0,255,65,0.3), 0 0 16px rgba(0,255,65,0.15)",
logoHoverMatrix: true, // flip letters to matrix font on hover
faviconUrl: "res/favicon.png",
// --- Messages ---
welcomeMessage: "loading cypher database...",
loadedMessage: "{count} entries × {ciphers} cyphers ready",
// --- Links ---
siteUrl: "",
githubUrl: "https://github.com/malonehunter/hyperdope-gematria",
aboutLinks: [
// Add your own links here:
// { text: "My Site", url: "https://example.com" },
{ text: "GitHub", url: "https://github.com/malonehunter/hyperdope-gematria" },
],
// --- Credits ---
credits: [
{ name: "Saun-Virroco", role: "Original Gematro creator" },
{ name: "NetVoid", url: "https://cyphers.news/", role: "Preserved codebase & database" },
{ name: "Alektryon", url: "https://github.com/Alektryon", role: "Cipher contributions" },
{ name: "Hyperdope", url: "https://hyperdope.com", role: "Database overhaul & v2 architecture" },
],
// --- Database ---
databaseMode: "auto", // "auto" tries db.json then db.txt | "json" | "txt"
databaseJsonUrl: "db.json", // full set — loaded in background
databaseLiteJsonUrl: "db_lite.json", // lite set (common ciphers) — loaded first for fast paint
databaseTxtUrl: "db.txt",
databaseVersion: 3, // bump on each db.json regen -> cache-busts the db fetch (?v=N)
// --- Defaults ---
autoMatchDesktop: true,
autoMatchMobile: false,
resultsPerPage: 12,
newPhrasesOnTop: true,
// Ciphers enabled by default on first load + "reset to defaults". Overrides the
// enabled:true flags in ciphers.js. Empty => use ciphers.js defaults (classic 4).
// Names must match ciphers.js exactly. Example:
// defaultEnabledCiphers: ["Ordinal", "Reduction", "Reverse Ordinal", "Reverse Reduction"],
defaultEnabledCiphers: [],
// Optional "Curated" preset button — a one-click extended loadout. Empty/omitted => no
// button shown. Keep in sync with the lite db.json (tools/generate_db_json.py LITE_CIPHERS).
// Example: recommendedCiphers: ["Ordinal", "Reduction", "Alphanumeric Qabbala", ...],
recommendedCiphers: [],
// --- Custom Cipher Categories ---
// Group ciphers into custom menu sections. Ciphers are referenced by
// their exact name from ciphers.js. They still appear in their original
// category too — custom categories are convenience shortcuts.
customCategories: [
{
name: "Ingglish / CCRU",
ciphers: ["Alphanumeric Qabbala", "Synx", "Based Atlanteanism", "Primes", "Ordinal"]
},
],
};