hacvilke/webcompiler ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple desktop app that lets me turn an HTML, CSS, and JavaScript web game into a standalone app I can share with other people.

I want to be able to pick a game folder, set the game title and window size, then click compile and get a finished desktop build. It should support common web game setups like Phaser, Three.js, PixiJS, Unity WebGL, and Godot HTML5, and it should bundle everything the game needs, including images, audio, fonts, and WASM files. I’d like two output options, one that packages everything normally and one that makes a single HTML file if possible. It would also be great to have a built in preview so I can test the game before exporting, and an option to make a Windows exe too.

Please make it work on Windows, Linux, and macOS, and keep the interface easy enough for a non expert to use. If you need current docs or libraries, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab