Generates a Square Enix compatible TOTP code (from a Base32 secret) and sends it to XIVLauncher.
- Install deps
npm install- Create your
.env
copy .env.example .env- Edit
.env
- Set
TOTP_SECRETto your Base32 secret - Set
TARGET_IPto the machine running XIVLauncher (uselocalhostif it’s the same PC)
- Run
node src/index.jsIt performs an HTTP GET request to:
http://<TARGET_IP>:<TARGET_PORT>/ffxivlauncher/<OTP>
DRY_RUN=1to generate/log the OTP without sendingLOG_PAYLOAD=1to print the OTP + URLSEND_DELAY_MS=5000if you need to wait for the launcher UI