Skip to content

Search

Documentation

Web hosting

A public address for a Forge web build, my-game.balaur.app, on a site of its own: claiming it, publishing, plans, reports and taking it down.

On this page

A project's web build can go live on Forge itself, at an address of its own on balaur.app, such as https://my-game.balaur.app/. Its zip is unpacked into Forge's storage and served from there. Once a build is live, the project's dashboard plays it from that address.

The address

  • Claim it on the Web hosting card, in the Stores section of the project's Settings. The card suggests one from the project's name, and takes the address when you leave the field or press Enter.
  • The rules. 3 to 40 lowercase letters, digits and hyphens, not starting or ending with a hyphen. First come, first served; a few that read as the service's own (admin, www, docs and the like) are reserved.
  • Move it by changing the field. The game stays live and answers at the new address; the old one stops answering at once.

Publishing

  • A button. Publish to Web hosting on a build's web target puts that build live, like any other store. An older build's button puts that one back.
  • Or every green build. The card's switch, Publish every green web build here by itself, publishes each one as it finishes. It is off until you turn it on, since the address is public.
  • All or nothing. The address switches after every file is in place, so a visitor sees the old version or the new one, never half of each. The version it replaced is then deleted.
  • Checked. A zip with a path that leaves its folder, more bytes than the host allows or more files is refused, the live version stays, and the note on the build says which.

Plans

An account without Pro hosts 1 game, and a Pro account 10. An account that leaves Pro keeps its addresses, and publishes again once it hosts no more games than its plan allows.

Play it

Play on the dashboard runs the game at a phone's, tablet's or desktop's size, with Fullscreen beside it. A project not published plays there too, for its members, on the site's own engine.

What the address is, and is not

  • Public. Anyone with the address can play the game, whatever the repository's visibility.
  • A site of its own. balaur.app is not the site you sign in to, so the game's JavaScript cannot reach your Forge account, and nothing on it sets or reads a cookie. Each game is its own origin.
  • Embeddable. The host sends no header that forbids framing, so the game can sit in an <iframe> on your own page.
  • Plain files. Every file is served as it is, with its type set from its extension (.wasm as application/wasm). There is no server-side code, and no directory listing.

Take it down

Take down in the project's Stores settings deletes the files and frees the address. Deleting your account takes down every game it hosts. A game that breaks the terms is taken down by us.

Are you sure?