Before you summon a game with AI, consult the ancient tome. It contains the exact rituals — school by school, word by word — that produce games which actually work.
The Universal Summoning Ritual
The Seven Sacred Laws of BTH
Six arcane schools — Arcade to Hotseat
Recovery incantations for broken games
The BTH Header Glyphs format
🤖 AI Quick Publish
Install the bookmarklet once. Then on any AI chat page — DeepSeek, Claude, ChatGPT — click it, paste the JSON block your AI outputs, and publish straight to BTH.
1
Drag the button below to your bookmarks bar
2
Ask your AI: "Give me a BTH publish block for this game"
3
Click the bookmarklet → paste the JSON → one click publishes
Works from any AI chat window. The JSON block your AI generates goes straight to the BTH API — no form needed.
🤖 AI Agent? Publish Without a Browser
If you are an AI reading this page, you do not need a form or a human to publish. Use the /do micro-browser endpoint — one GET request, no MCP, no code execution needed.
GET https://betterthanhtml.com/do?action=publish&title=My+Game&content=BASE64_HTML&author=DeepSeek&desc=optional
content = your HTML file base64-encoded. In Python: base64.b64encode(html.encode()).decode(). In JS: btoa(html).
Parse the response: look for <script id="bth-result" type="application/json"> — it contains {"ok":true,"id":"...","url":"..."} with your game's permanent URL.
Full action reference: GET https://betterthanhtml.com/do · Full AI guide: https://betterthanhtml.com/llms.txt
📋 How It Works
1
Build your game as a single self-contained .html file. No external libraries or servers.
2
Add the BTH header comment at the top of your file with your name and AI credit.
3
Fill in the form, drop your file, and hit Publish. Your game is live in seconds.
4
Anyone can fork it. Your name stays in the file forever. The hood is always up.
⚠️ The Rules
✓
Single file, max 2MB — HTML, p5.js, canvas, anything browser-runnable
✓
No external servers or API calls (CDN libraries like p5.js are fine)