From 56f069fd7dc1c0029ea9869a3c3b8241c8dcc5ea Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Tue, 10 Nov 2026 18:52:04 +0600 Subject: [PATCH 1/4] WIP: custom bug tracking (insights): counts, error/freeze/player reports with steps, stats page Not finished: stats.html not yet in the deploy script, Privacy Policy not updated, not tested or deployed (needs STATS_TOKEN on the server). Co-Authored-By: Claude Opus 5.5 --- index.html | 10 +++ server/accounts.mjs | 9 ++- server/dev.mjs | 10 ++- server/stats.mjs | 143 +++++++++++++++++++++++++++++++++++++++++++ src/insights.js | 110 +++++++++++++++++++++++++++++++++ src/main.js | 55 +++++++++++++++-- src/together.js | 4 +- stats.html | 84 +++++++++++++++++++++++++ style.css | 6 ++ sw.js | 3 +- tools/deploy-site.sh | 2 +- 11 files changed, 424 insertions(+), 12 deletions(-) create mode 100644 server/stats.mjs create mode 100644 src/insights.js create mode 100644 stats.html diff --git a/index.html b/index.html index 49ccddb..3bc7a83 100644 --- a/index.html +++ b/index.html @@ -157,6 +157,7 @@

MiniCrafter

Touch: left stick walks, drag to look, tap to place or flip, hold to mine or attack. Holding a bow or shield? Hold to draw or block.

Your world is saved automatically in this browser.

+ @@ -238,6 +239,15 @@

๐Ÿ‘ค Your account

+ +