Editor de instancias 2D (canvas 1920x1080) exportable como JSON.
index.html: UI del editor.editor/main.js: logica del editor (estado, render, interaccion, export).planning/: notas internas (no se deploya).
Este proyecto usa ES Modules, asi que conviene servirlo por HTTP (no abrirlo con file://).
Ejemplo rapido con Python:
python -m http.server 5173Luego abre:
http://localhost:5173/
Hay un workflow manual en GitHub Actions: .github/workflows/deploy.yml.
Sube solo:
index.htmleditor/**
No borra archivos remotos (dangerous-clean-slate: false).
Configura estos secrets en el repo de GitHub (Settings -> Secrets and variables -> Actions):
FTP_HOSTFTP_USERNAMEFTP_PASSWORDFTP_DESTINATION(debe terminar con/)GA_ID(opcional, formatoG-XXXXXXpara GA4)
Desde PowerShell en la raiz del repo (requiere GitHub CLI gh):
.\scripts\deploy.ps1Opcionalmente, para otra rama:
.\scripts\deploy.ps1 -branch main