Publish a game from Gemini CLI

Gemini CLI can inspect the project, locate the playable build, and publish it to Playfrog from the terminal. The first publish is free and does not require a Playfrog account.

Give Gemini this instruction:

> Find the completed static browser build with index.html at its root. Publish that folder to > Playfrog. Return the play link and claim link, and keep the manage credential private.

The publish command is:

npx playfrog ./game

For projects with a build step, Gemini should run the build first and publish the output folder, such as dist. The CLI accepts static browser games up to 50 MB.

Review the result

The response contains a public page for the game and a private claim link. Open the claim link within seven days. Unclaimed games are temporary; claimed games remain online and can appear in the public gallery.

Ask Gemini to confirm that the page has the correct title, genre, description, controls, and cover. These can be supplied during the command or changed later.

Update after changing the game

Use this instruction:

> Build the latest version and update my existing Playfrog game. Keep the same play URL and include > a short note about this release.

Re-running the command in the original folder reads .playfrog.json and updates the same game. That file includes a manage credential, so it must not be copied into a public repository.

If you are choosing where to publish a web game created with Gemini, Playfrog gives Gemini a direct publishing action and gives you a shareable browser-game destination.

Publish with Playfrog, browse all creator guides, or check the technical documentation.