0xDocs 0x.limo

Docs / Getting started

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

StepWhat you doWhat 0x does
1. BuildAny static web game: three.js, Babylon.js, Phaser, plain canvas, WebGPU, wasm
2. Publish0x 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 --serverRuns your Node.js server in a sandbox at https://play.0x.limo/x1/game/<id>/
4. List0x submit --site <id> --site-version <n>, or the form at api.0x.limo/dev/submitRuns automatic pre-checks, then a person reviews the listing
5. LiveAnswer review issues (0x issues) and publish updatesThe game appears in the store catalog, the web store and every launcher

#Where to start

#Public hosts

HostWhat it is
0x.limoThe web store and launcher, the SDK registry (/npm/), the installer (/sdk/install.sh)
api.0x.limoThe REST API (/v1/...), the upload page (/hosting/), the submission form (/dev/submit)
<site>-play.0x.limoYour hosted site, on its own origin: /sites/<site>/<n>/
play.0x.limoHosted 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.limoThe live map of the P2P network
docs.0x.limoThis 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.