initial: zero-trust markdown tutorials site

Single-binary Go service that renders markdown pages from a runtime
volume mount. Targeted at public, no-auth, no-WAF deployment behind a
TLS ingress; security posture is defense-in-depth at every layer:

- goldmark with no WithUnsafe — raw HTML in author markdown is stripped
- CSP without 'unsafe-inline', plus HSTS, COOP, CORP, Permissions-Policy
- static handler rejects non-GET/HEAD, directory listings, dotfiles, traversal
- content loader rejects symlinks that escape the content root, dotfiles,
  and .md files larger than 1 MiB
- per-page template trees (cloned from layout) so define-blocks don't
  collide between home/category/page
- SIGHUP triggers atomic library swap — live edits on volume, no rebuild

Locale layout content/<locale>/<category>/<slug>.md. Categories without
_index.md still appear on the home page with a humanized name. Search is
a ~70-line vanilla JS scan over /search.json?lang=<locale>; swap for a
real indexer if the corpus ever balloons.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-13 00:52:53 +02:00
commit aa36b2905a
22 changed files with 1465 additions and 0 deletions
@@ -0,0 +1,52 @@
---
title: Offline (cracked) client
summary: Play without buying Minecraft, using a free open-source launcher.
order: 2
---
# Offline (cracked) client
If you don't own Minecraft, you can still play on our servers that allow offline mode. We recommend **Prism Launcher** — it's open-source, free, and well-maintained.
> **Note:** offline accounts can't connect to Mojang's official servers (Hypixel, etc.). They work only on servers that explicitly allow them. Our platform supports both — when you register on Discord, you choose "Offline" account type.
## Download Prism Launcher
1. Go to [prismlauncher.org](https://prismlauncher.org/).
2. Download for your OS — Windows, macOS, Linux.
3. Install + open.
## First-time setup
On first launch, Prism asks for an account. Click **Skip** for now — we'll add an offline profile after.
1. Top right: **Accounts****Add Offline**.
2. Username: must match what you'll register on our Discord (316 characters, letters/numbers/underscore).
3. Save.
## Add a Minecraft installation
1. Main view: click **Add Instance**.
2. Pick **Vanilla** (or **Fabric** if the admin tells you to).
3. Version: **1.21.4**.
4. Name it something memorable (e.g. "automc Survival").
5. Click **OK**.
## Launch + connect
1. Double-click your instance.
2. Prism downloads the assets first time (~100 MB).
3. In Minecraft: **Multiplayer****Add Server** → enter the address the admin gave you.
4. Connect.
## Register on Discord first
Before connecting, you must register your username on our Discord:
1. Join the Discord server (link from the admin).
2. Run `/register`.
3. The bot DMs you — pick **Offline** account type.
4. Type the same username you set in Prism.
5. The bot saves a password — also DMs it. Keep it.
When you join the MC server, it'll ask for the password in chat: type `/login <password>`.