v2.0.0: Pre-computed matching, curated database, new UX
Database: - 145,821 curated entries (was 153,805 raw user searches) - Removed 13,317 junk entries (spam, gibberish, personal rants) - Added 8,536 terms across 17 research categories (occult, theology, 9/11, gematria, psyop, cosmology, bitcoin, AI, coronavirus, world affairs, economics, health, intelligence, history, politics, civil liberties, free speech) - ~90% signal quality (up from ~80%) Pre-computed matching: - db.json with all 69 cipher values pre-calculated per entry - Query matching in ~100ms (was 2-5 seconds in live mode) - db.txt fallback for forks that don't need pre-computed mode - Generate db.json: see gematria_dbs/all_ciphers.py UX improvements: - Enter triggers auto-match AND adds to history - Escape closes modal, clears highlight filter - Automatch toggle (on desktop, off mobile by default) - Own phrase pinned to top of match results - Modal: close button, minimize/restore, positioned below ciphers - Mobile: keyboard dismisses after Enter, filter box hidden - 12 results per page, phrase truncation with ellipsis - New phrases appear at top of history list Branding / config.js: - Copy config.default.js to config.js to customize your fork - Configurable: site name, logo, colors, glow, about links, credits, database mode, defaults, custom cipher categories - Matrix font hover effect on logo letters - Custom cipher categories (e.g., CCRU section for AQ/Synx/Keypad) Acknowledgments: - Saun-Virroco: Original Gematro creator - NetVoid (cyphers.news): Preserved codebase & database - Alektryon: Cipher contributions - Database curation assisted by Claude (Anthropic) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
7863d73ef7
commit
0e96c610f2
30 files changed
+8942
-16522
No files matched your search
+37
-5
@@ -93,7 +93,7 @@ $(document).ready(function(){
|
||||
updateDatabaseQueryTable(st, n, true) // update only the table at new position
|
||||
});
|
||||
$("body").on("change", "#queryScrollbar", function () {
|
||||
document.getElementById("queryPosInput").focus() // restore focus after using scrollbar
|
||||
if (navigator.maxTouchPoints <= 1) document.getElementById("queryPosInput").focus() // restore focus after using scrollbar (desktop only)
|
||||
});
|
||||
|
||||
// Search bar
|
||||
@@ -107,9 +107,30 @@ $(document).ready(function(){
|
||||
}
|
||||
});
|
||||
|
||||
// Click on minimize button
|
||||
$("body").on("click", "#queryMinBtn", function () {
|
||||
$("#queryArea").toggleClass("minimizeQuery")
|
||||
function toggleQueryMinimize() {
|
||||
var qa = $("#queryArea");
|
||||
qa.toggleClass("minimizeQuery");
|
||||
var btn = document.getElementById("queryMinBtn");
|
||||
if (btn) btn.textContent = qa.hasClass("minimizeQuery") ? "+" : "_";
|
||||
}
|
||||
|
||||
// Click/tap on header bar to toggle minimize
|
||||
$("body").on("click", "#queryHeaderBar", function (e) {
|
||||
e.stopPropagation();
|
||||
toggleQueryMinimize();
|
||||
});
|
||||
|
||||
// Click/tap on table cells to minimize (not on interactive elements)
|
||||
$("body").on("click", "#QueryTable td, #QueryTable th", function (e) {
|
||||
if ($(e.target).is("input, button, a, select")) return;
|
||||
if (!$("#queryArea").hasClass("minimizeQuery")) {
|
||||
toggleQueryMinimize();
|
||||
}
|
||||
});
|
||||
|
||||
// Tap anywhere on the MINIMIZED modal to restore it
|
||||
$("body").on("click", "#queryArea.minimizeQuery", function (e) {
|
||||
toggleQueryMinimize();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -443,7 +464,18 @@ $(document).ready(function(){
|
||||
updateHistoryTableAutoHlt();
|
||||
return; // don't update history
|
||||
}
|
||||
if (optFiltCrossCipherMatch) { autoHistoryTableLayout(); updateHistoryTable(); } else { updateHistoryTableSameCiphMatch(); }
|
||||
if (document.getElementById("highlightBox").value === "") {
|
||||
// Backspaced to empty — clear highlights
|
||||
if (userOpenCiphers.length > 0) {
|
||||
removeActiveFilter(); // filter was applied via Enter, do full restore
|
||||
} else {
|
||||
// Just typed numbers without Enter — simply update table without highlights
|
||||
$("#clearFilterButton").html("");
|
||||
freq = [];
|
||||
autoHistoryTableLayout();
|
||||
updateHistoryTable();
|
||||
}
|
||||
} else if (optFiltCrossCipherMatch) { autoHistoryTableLayout(); updateHistoryTable(); } else { updateHistoryTableSameCiphMatch(); }
|
||||
});
|
||||
|
||||
$("body").on("click", "td.hC", function () { // Cipher Name in history table (normal mode)
|
||||
|
||||
Reference in new issue
Block a user