https://github.com/BTS-CM/RPGJS-Electron
I've spent the last week trying to get RPGJS hosted locally via ElectronJS (packaging), I'm now able to build and distribute windows exe files which host the RPG locally.
It's a bit hacky, it uses a sub process to launch the dev server locally, which required packaging most of the dev dependencies into the dependencies for packaging, it could possibly be implemented more cleanly, but it works regardless! 😃
Hope others find use in my reference project 🙂