I have an HTML file with embedded Javascript, and I want to convert it to a stand-alone exe.
Is that possible? How can I do it? Any html2exe tool out there?
P.S. If you must ask why, it's a very simple text-processing utility, but certain people want it (for reasons beyond me) as a desktop application.
Two of the most commonly used packages used to compile JavaScript files into executables are: nexe: It is a simple command-line utility that compiles your Node. js application into a single executable file. By default, it converts it into a Windows executable.
HTML Executable turns websites, HTML documents and PDF files into stand-alone Windows applications named ebooks in .exe format.
Try this open-source app Node-webkit (from here https://github.com/rogerwang/node-webkit) powered by Chromium JS engine and Node.js. You can pack the Node-webkit app package to a standalone .exe file. Please go through the documentation provided in the page. https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps
Read the Node.js documentation http://nodejs.org/api/ and see how powerful the API is! Node-webkit provides additional API to make app menubar, use system tray icon and post notifications etc and to make the application more native! Fortunately, Node-webkit is cross-platform so you can easily port apps to Linux and Mac OS X!
I strongly recommend you to use Node-webkit to make powerful desktop apps in HTML5 CSS3 and JavaScript. All the best! :)
Here are some examples : StormCloud, NitroTasks etc.. https://github.com/rogerwang/node-webkit/wiki/List-of-apps-and-companies-using-node-webkit
They don't generate an exe but you may be interested in looking into Adobe AIR and its opensource rival Titanium
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With