Origin Wizard

Run one command in your game folder, answer a few questions, and the web game you built is adapted and published to Origin

command:npx origingame

Needs Node.js · browser sign-in · models paid by the platform

GitHub Open source · MIT

What one run does

One run, six steps

  1. Step 1 ·Choose

  2. Step 2 ·Detect

  3. Step 3 ·Sign in

  4. Step 4 ·Adapt and wire

  5. Step 5 ·Listing and art

  6. Step 6 ·Publish

Who pays, and what leaves your machine

  • The platform pays

  • What the model sees

  • What stays on your machine

  • What gets uploaded

Use it from your agent

  • Claude Code
  • Codex
  • Cursor
Publish this game to Origin with Origin Wizard: run npx origingame --yes --json in the project root. If the result is not_logged_in, run npx origingame login first and wait for me to approve it in the browser, then try again. On success send me playUrl and portalUrl from the JSON and tell me the workspace.review and workspace.merge commands; on failure act on error.code and error.message and retry.
npx origingame --yes --json

Flags for scripts and agents

FlagWhat it does
--yesAsks nothing and takes the Automatic choices (counts as consent).
--jsonWrites only one JSON result line to stdout; progress goes to stderr.
--no-sourceDoes not save the source to your private repository (saved by default, so you can continue in Origin).
--no-integrateDoes not wire leaderboards and cloud saves (wired by default on the origingame/publish branch, and dropped automatically if the build does not start).
--game <id>Updates an existing game instead of creating one.
--unlistedPublishes unlisted: only people with the link can play.

Other commands: npx origingame login | logout | whoami