iamar world host 0.1.0
==========================

This folder hosts every world of one iamar domain on this computer: one program, no browser, no
Godot. It needs Node.js 24.22.3 (or another Node of the same major version), which setup fetches.

1. Set up Node (once):
     Linux, macOS:  ./setup.sh
     Windows:       setup.cmd
   An installed Node of the right major version is used as it is; otherwise the pinned release is
   downloaded from nodejs.org, checked against the SHA-256 in NODE_PIN and kept in ./node.
   "--fetch" always downloads the pinned release.

2. Host your domain (Windows: iamar-world-host.cmd instead of ./iamar-world-host):
     ./iamar-world-host install --domain <your.domain> --owner <your hub account>
     ./iamar-world-host login              (approve the code it prints in your browser)
     ./iamar-world-host add <exported world folder>
     ./iamar-world-host check
     ./iamar-world-host start --detach
     ./iamar-world-host status
     ./iamar-world-host stop
   Adding a world is putting its exported package in with "add". Every command takes --json.
   The program keeps its settings and worlds in ~/iamar_world_host (or --home <dir>).

Full guide: https://iamar.ai/docs/ (world hosting). Exit codes: 0 done, 2 usage or config error,
3 a needed thing is not running, not signed in, or Node is missing (run setup).
