For builders
Upload your game
Send us an HTML5 game you built with Grok. It is scanned automatically, then a person reviews it. It only goes live after that.
Before you upload
- One .zip file, or your game files (folder upload works in most browsers).
- Max 50 MB per upload, 200 MB unpacked, 1500 files.
- Up to 3 uploads per day. Single files can be up to 32 MB unpacked.
- Allowed files: HTML, JS, CSS, JSON, text, images, audio, video, fonts, WebAssembly. No executables or nested archives.
- Include a
manifest.jsonnext to your entry HTML file (example below). - Use relative paths only. Bundle every file. Games cannot call outside servers.
- Games run in a locked-down frame.
localStorageis not available; use the save helper below.
manifest.json
Required: name, builder, description, genre, entry. The "Your name" field on the form is what we show on listings. Optional: slug, tags (up to 5), thumbnail (16:9 image), assets (files your game needs), preload (files to load first).
{
"name": "Night Train",
"builder": "Your name",
"description": "A short story game on a train.",
"genre": "Story",
"entry": "index.html",
"tags": ["story", "pixel art"],
"thumbnail": "cover.webp",
"preload": ["js/core.js", "img/title.webp"],
"assets": ["js/core.js", "img/title.webp",
"audio/chapter1.ogg"]
}
Saving progress
Copy grokgames.js into your game and load it with a relative path. Then:
await GrokGames.save({ chapter: 3 });
const data = await GrokGames.load();
GrokGames.onPause(() => game.pause());
Big games
Long stories and large asset packs are welcome. Load what the first scene needs, then fetch the rest in the background. Keep the first download small.