0x for developers
What 0x gives a game developer, how a game gets from your folder to players, and where each part is documented.
0x is a game platform that runs in the browser and in a desktop launcher. Games are delivered by the players themselves, through a peer-to-peer swarm. As a developer you can:
- Host a web game. Upload a built folder and get an immutable, versioned site on its own origin,
https://<site>-play.0x.limo/sites/<site>/<n>/. Files of 16 KiB or more are shared player to player. Small files, pages and the 0x runtime come from the origin. - Host its game server. A Node.js server (socket.io, Colyseus, plain WebSocket) runs sandboxed on 0x. Its broadcasts reach players through the 0x broadcast service.
- List it in the store. Submit a listing (title, art, age rating, play target). A 0x reviewer approves it, and it then appears at 0x.limo and in every launcher's library.
- Use platform services. Sign-in, leaderboards, stats, cloud saves, lobbies and achievements are available through the JS SDK or the REST API
/v1. - Ship an unmodified Steamworks game. The game talks to 0x through a drop-in
steamclient.
#How a game reaches players
| Step | What you do | What 0x does |
|---|---|---|
| 1. Build | Any static web game: three.js, Babylon.js, Phaser, plain canvas, WebGPU, wasm | |
| 2. Publish | 0x publish, or drop the folder on api.0x.limo/hosting/ | Checks the files, adds the 0x runtime, builds the swarm manifest, serves an immutable version |
| 3. Server (optional) | 0x deploy-server, or 0x publish --server | Runs your Node.js server in a sandbox at https://play.0x.limo/x1/game/<id>/ |
| 4. List | 0x submit --site <id> --site-version <n>, or the form at api.0x.limo/dev/submit | Runs automatic pre-checks, then a person reviews the listing |
| 5. Live | Answer review issues (0x issues) and publish updates | The game appears in the store catalog, the web store and every launcher |
#Where to start
- Publish a web game in 5 minutes: from nothing to a listed game.
- Accounts and tokens: sign up,
0x login, and tokens for CI. - Developer portal: every field of the upload page and the submission form.
- Hosting limits: quota, file sizes, file types, versions.
- 0x CLI: install it, then see every command and 0x.config.json.
- Store page: listing fields, art sizes, age ratings, release types, trending and embeds.
#Public hosts
| Host | What it is |
|---|---|
0x.limo | The web store and launcher, the SDK registry (/npm/), the installer (/sdk/install.sh) |
api.0x.limo | The REST API (/v1/...), the upload page (/hosting/), the submission form (/dev/submit) |
<site>-play.0x.limo | Your hosted site, on its own origin: /sites/<site>/<n>/ |
play.0x.limo | Hosted game servers (/x1/game/<id>/), the broadcast service, the P2P tracker (/p2p/). Old /sites/ links redirect to the site's own origin (301). |
p2p.0x.limo | The live map of the P2P network |
docs.0x.limo | This documentation |
Building with an AI coding assistant?
Point it at 0x.limo/sdk/llms.txt. It lists the exact commands and APIs, with fixes for common errors.
