Jump to content

Javascript to exe

Mornincupofhate

Never really wanted to touch C or C++ because I just don't have the attention span for it.

Anyone know if it's possible to convert javascript and or html into an executable?

Link to comment
Share on other sites

Link to post
Share on other sites

Not that I know of.  Regardless, it would most likely be a little more than a "conversion" - it would have to wrap it and add extra code in order to function or do anything. Reason being, unlike C/C++, Javascript doesn't create programs that control the computer directly - it is run in/by other applications like your web browser.

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to comment
Share on other sites

Link to post
Share on other sites

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
Share on other sites

Link to post
Share on other sites

Atom and Slack are, basically, HTML/JS applications (using Electron). However, you really shouldn't do that. The performance is horrible.

Write in C.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...

You can also have a look at HTA's.

 

You can pack any HTML/Javascript/VBS into an exe.

 

For creating the HTA's, I recommend HTAEdit. It allows you to convert your HTML/Javascript directly into an exe. The trial version should be enough to get started.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×