From b3755bd6b116cdde91b9e0cfa48218760427b666 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Thu, 15 Oct 2026 02:59:29 +0200 Subject: [PATCH] website: privacy page for opt-in data collection /privacy says what the launcher may send when a player allows it (performance summaries, crash and bug reports, benchmark uploads), why, on what basis, where it is kept and for how long, and how to delete it. The footer links it. Co-Authored-By: Claude Opus 5.5 --- website/Caddyfile | 3 +- website/README.md | 1 + website/build.mjs | 2 +- website/public/sitemap.xml | 1 + website/serve.mjs | 2 ++ website/src/index.html | 4 +-- website/src/privacy.html | 57 ++++++++++++++++++++++++++++++++++++++ website/src/style.css | 5 ++++ 8 files changed, 71 insertions(+), 4 deletions(-) create mode 100644 website/src/privacy.html diff --git a/website/Caddyfile b/website/Caddyfile index f0ba13136..7b919821e 100644 --- a/website/Caddyfile +++ b/website/Caddyfile @@ -27,7 +27,8 @@ header @assets Cache-Control "public, max-age=31536000, immutable" @media path /media/* /fonts/* /og.png /favicon* /apple-touch-icon.png header @media Cache-Control "public, max-age=604800" - @pages path / /index.html /404.html + rewrite /privacy /privacy.html + @pages path / /index.html /404.html /privacy.html header @pages Cache-Control "no-cache" @legal path /LEGAL.md /fonts/*.txt header @legal Content-Type "text/plain; charset=utf-8" diff --git a/website/README.md b/website/README.md index 0d931179d..8d47cf076 100644 --- a/website/README.md +++ b/website/README.md @@ -17,6 +17,7 @@ build.mjs renders dist/ (no dependencies) serve.mjs a tiny static server for local checks src/index.html the page, with {{placeholders}} build.mjs fills src/404.html the not-found page +src/privacy.html what the launcher can send when players allow it, retention, deletion (/privacy) src/tokens.css the design tokens, generated from crates/horizon-theme (do not edit) src/style.css every style, on top of the tokens src/main.js download buttons, patch notes, links, contributors, nav and menu, tabs, lightbox, motion diff --git a/website/build.mjs b/website/build.mjs index 6163d6307..86fbed910 100644 --- a/website/build.mjs +++ b/website/build.mjs @@ -200,7 +200,7 @@ const values = { YEAR: String(new Date().getUTCFullYear()), }; -for (const page of ["index.html", "404.html"]) { +for (const page of ["index.html", "404.html", "privacy.html"]) { let html = await readFile(join(site, "src", page), "utf8"); html = html.replace(/\{\{(\w+)\}\}/g, (all, key) => { if (!(key in values)) throw new Error(`${page}: unknown placeholder ${all}`); diff --git a/website/public/sitemap.xml b/website/public/sitemap.xml index 120b57f45..cd377327b 100644 --- a/website/public/sitemap.xml +++ b/website/public/sitemap.xml @@ -1,4 +1,5 @@ https://playhorizon.dev/ + https://playhorizon.dev/privacy diff --git a/website/serve.mjs b/website/serve.mjs index 210ea0e20..af8cb4a95 100644 --- a/website/serve.mjs +++ b/website/serve.mjs @@ -12,6 +12,8 @@ const port = Number(process.env.PORT) || 4173; createServer(async (req, res) => { let path = normalize(decodeURIComponent(new URL(req.url, "http://x").pathname)).replace(/^(\.\.[/\\])+/, ""); if (path.endsWith("/")) path += "index.html"; + // /privacy is privacy.html, as the Caddyfile rewrites it. + if (!extname(path)) path += ".html"; let file = join(root, path); let status = 200; try { diff --git a/website/src/index.html b/website/src/index.html index 0b6a9d880..0962b1a70 100644 --- a/website/src/index.html +++ b/website/src/index.html @@ -229,11 +229,11 @@ diff --git a/website/src/privacy.html b/website/src/privacy.html new file mode 100644 index 000000000..d3593cb3c --- /dev/null +++ b/website/src/privacy.html @@ -0,0 +1,57 @@ + + + + + + Privacy · Horizon + + + + + + + + + + +
+
+

PrivacyData collection

+

Nothing leaves without your yes.

+

The Horizon launcher can send a few things that help make the game faster and steadier. It asks first, each kind has its own switch, and every switch is off until you turn it on.

+
+

What can be sent

+

Only the kinds you allow, from the launcher's first-run question or Settings → Data collection:

+
    +
  • Performance statistics, after each play session of a minute or more. These are the frame-time and tick-time percentiles and a 14-bucket histogram (never a recording of each frame), the peak memory, how long the game took to start and to load the world, and the settings that change performance (render and simulation distance, frame limit, VSync, fullscreen, graphics mode).
  • +
  • Crash reports, when the game crashes. They hold the error, where it happened in Horizon's code, your graphics adapter and settings. They hold no log, no world, no server and no resource packs.
  • +
  • Bug reports that you write and send yourself. The end of the game's log goes with one only if you add it after reading it, and lines of chat are removed first.
  • +
  • Benchmark uploads of the benchmarks you run. These are shown publicly in the community results.
  • +
+

Each one also carries the Horizon version, the day it was made (not the time), and a description of your machine: the operating system and version, the CPU model and thread count, the memory rounded to the gigabyte, and the GPU, its driver and the graphics backend. It also carries a random install ID. The launcher makes that ID the first time you allow something; it says nothing about you and exists only so that your data can be deleted.

+

Never sent: your Microsoft or Minecraft account name or UUID, world names, server or LAN addresses, chat, and your user name or home folder in file paths. Before anything is kept, those are replaced with placeholders, along with e-mail and IP addresses. The server does not store the IP address requests come from.

+

The launcher shows exactly what would be sent: Settings → Data collection → View what would be sent, or horizon-launcher data show. Every field is listed in docs/telemetry.md.

+ +

Why

+

To find what is slow or crashes on which machines, and fix it. Benchmark uploads also show other players how Horizon runs on hardware like theirs. Nothing is sold, shared for advertising, or used to identify you.

+ +

On what basis

+

Your consent (Article 6(1)(a) of the EU's General Data Protection Regulation). It is given kind by kind, recorded on your computer with the version of the question you answered and when, and withdrawn at any time with the same switches. Withdrawing deletes what was waiting to be sent. When what is collected changes, the launcher asks again, and nothing new is sent until you answer.

+ +

Where and how long

+

Items wait on your computer (telemetry/ in the game folder) and are sent compressed when the launcher starts or closes, to Horizon's own server at Railway. The server keeps them for 180 days, then deletes them. What stays after that are anonymous totals per day, Horizon version, operating system, GPU maker and render distance (for example "120 sessions on macOS with Apple GPUs at render distance 12"). They hold no install ID, and groups too small to be anonymous are never shown.

+ +

Deleting your data

+

Settings → Data collection → Delete my data, or horizon-launcher data delete. The server deletes everything sent under your install ID, your share of the totals is recomputed, anything waiting on your computer is removed, and you get a new install ID. You can also turn everything off, or delete the telemetry/ folder.

+ +

Your rights and contact

+

Horizon is made by Ludovic Marie, who is responsible for this data. To ask for a copy of what was sent under your install ID, have it corrected or deleted, or ask anything about it, write through lu4ovic.com (give your install ID, shown in Settings → Data collection). You can also complain to the data protection authority where you live.

+

This website itself sets no cookies and has no analytics; its footer says what it loads from GitHub.

+
+ +

Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.

+
+
+ + + diff --git a/website/src/style.css b/website/src/style.css index fb4021c05..8be518881 100644 --- a/website/src/style.css +++ b/website/src/style.css @@ -426,3 +426,8 @@ figcaption span { font-family: var(--mono); font-size: var(--text-micro); letter .row > a { grid-template-columns: 28px 1fr auto; padding: 16px 0; } :root { --index: 28px; } } + +/* The privacy page: one long read under the hero type. */ +.privacy h1 { margin-bottom: 16px; } +.privacy .prose { margin: 40px 0; } +.privacy .disclaimer { margin-top: 32px; }