Race to the Moon
================

Double-click "Race to the Moon.html". That is the whole install.


JUST WANT TO RACE?
  Type names in, or paste up to 1000 at once. Hit Start Race. Done.


WANT YOUTUBE CHAT TO ADD THE RACERS?
  Also nothing to install.

  1. Open the game and expand "Live chat join" in the sidebar.
  2. Source: YouTube Live.
  3. Paste your live stream's URL and a YouTube API key.
  4. Pick a keyword and hit Connect.

  Viewers who type the keyword get added, once each. Press Test first if
  you want to see it work before going live.

  Getting a free API key takes about two minutes — CHAT-SETUP.md walks
  through it with screenshots-worth of detail.


WANT TIKTOK CHAT INSTEAD?
  This is the only part that needs installing, because TikTok — unlike
  YouTube — gives no public way to read live chat.

  You need Node.js 18 or newer: https://nodejs.org

  1. Open a terminal in the "tiktok-helper" folder.
  2. npm install        (once, ever)
  3. npm start          (each time you stream — leave the window open)
  4. Back in the game, choose "TikTok Live", enter your @username, Connect.


PRIVACY
  Everything runs on your own machine. Your API key is stored only in your
  browser. The TikTok helper listens on your computer alone. Nothing about
  your stream is sent to us or anyone else.

Full instructions: CHAT-SETUP.md
