Blog

Publish Your Web Game for Free — Share Unity, Godot, Unreal and Three.js Games in One Click

Publish a web build of your game to the AI Game Dev gallery for free, straight from the app or the CLI, and share a link anyone can play in a browser.

Publish Your Web Game for Free — Share Unity, Godot, Unreal and Three.js Games in One Click

You made a game with AI Game Developer, and now you want people to play it. Until now that meant finding a host, setting the right headers for a Unity or Godot build and sending players a zip. Now you can publish a web build of your game to the AI Game Dev games gallery for free, from the app or from the command line, and get a link that anyone can open and play in a browser.

This post explains what you can publish, what the rules are, and how to publish your first game in a couple of minutes.

What the Games Gallery Is

The gallery lives at ai-game.dev/games. Every published game gets its own page with a cover, screenshots, a description, controls, the engine it was made with and the download size. The game itself runs on its own separate address, so games cannot read each other's data and nothing a game does can touch your ai-game.dev account.

Nothing loads until a player presses Play. The page shows the size of the download first, so a player on a phone knows what a 40 MB Unity build costs before it starts. Players do not need an account to play. Signed-in players can rate a game from one to five stars, and every game page shows its average rating. Anyone can report a game.

Every published game is marked "Published with AI Game Dev", so the gallery also shows what people build with the app.

What You Can Publish

Any game that runs in a browser and has an index.html. In practice that means:

  • Three.js games made in the app: the app builds the project and publishes the result, no export step needed.
  • Godot 4 web exports. The default single-threaded export works as it is; an export with threads needs cross-origin isolation, which is one switch when you publish.
  • Unity Web builds, including Brotli and Gzip compressed builds: the gallery serves them with the headers Unity expects.
  • Unreal Engine 5.9 and newer web builds. Unreal's web target is experimental and needs WebGPU, so the game page checks the player's browser before Play.
  • Plain HTML5 games made with any other library, as long as the folder has an index.html.

Publishing is free. One version of a game can be up to 500 MB unpacked, 1,500 files and 200 MB per file, which is plenty for most web builds. You can publish up to 100 games on a free account; beyond that an active subscription is needed.

You can publish a game as listed, so it appears in the catalog and in search, or as unlisted, so only people with the link can play it. Publishing again to the same address adds a new version of the game, and players always get the latest one.

What Is Allowed and What Is Not

Your game stays yours: you keep the copyright. By publishing you let us host the game, show it in the gallery and use its cover and screenshots to promote the gallery and AI Game Developer. Before you publish you confirm two things: that you made the game with AI Game Developer, and that it has no adult content.

Allowed:

  • Advertising, in-game purchases and donations. If you sell something in your game, you are the seller and you choose your own payment provider.
  • Online features and multiplayer. Your game may connect to your own servers or any service you choose. We host the game files; servers for multiplayer are yours to run.
  • Violence and horror, as in any ordinary game.

Not allowed:

  • Adult sexual content of any kind.
  • Malware, phishing, fake login or payment pages, and anything that attacks players or other sites.
  • Illegal content and content that infringes someone else's rights, such as assets you have no licence for.
  • Pages that are not games: file hosting, redirects or advertising pages.

Games that break the rules are taken down, and their owner gets an email that explains why and how to appeal. The full rules are in the Terms of Service, ai-game.dev/legal/terms.

How to Publish from the Desktop App

  1. Open your project in AI Game Developer. If you do not have the app yet, get it at ai-game.dev/download.
  2. In the Projects tab, choose Publish to gallery.
  3. For a Three.js project the app builds the game for you. For Unity, Godot or Unreal, pick the folder with your exported web build, the one that has index.html. The app remembers it for next time.
  4. Choose the game's address, title and a short summary, pick up to three genres, and mark the game as playable on phones if it is.
  5. Tick the two confirmations and press Publish. The app uploads only the files the gallery does not already have, waits for the automatic checks, and shows the link to your game's page when it is live.

Use the advanced options if your Godot or Unity build uses threads: they turn on cross-origin isolation for the game.

How to Publish from the CLI

The same thing works from a terminal, which is handy in scripts and for AI agents. Sign in once, then publish from your project folder or point the command at an exported web build:

BashTerminal
gamedev login
gamedev game publish
gamedev game publish ./Builds/WebGL --slug space-courier --title "Space Courier"

Useful options: --unlisted publishes a game that only people with the link can play, --coi turns on cross-origin isolation for builds with threads, and --yes gives both confirmations for scripts. To see your games, their plays and likes, or to take a game down:

BashTerminal
gamedev game list
gamedev game unpublish space-courier

After You Publish

Share the link with friends, post it in your community, or put it on your own site. Your games, their plays and likes are in your publisher page on ai-game.dev, where you can edit the description, controls, cover and screenshots without publishing a new build.

To keep the gallery fresh, a game on a free account that nobody plays for 12 months is archived. Publishing it again brings it back.

If you are just starting, the post on Three.js game development with AI at ai-game.dev/blog/threejs-game-development-with-ai shows how to make a small browser game with the app from scratch. Make it, publish it, and send us the link.

More from the blog

All posts