Discuss Scratch

A-E-
Scratcher
100+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

I made a new tool called HTML Build that auto-generates Linux, Mac, and Windows apps from an HTML file. To make an app, use the HTMLifier, then upload the HTMLified project and an icon ( in PNG format ) to https://html-build.easrng.net/, type in a name, choose the platforms you want to build for, click Build, and wait. And wait. And wait. When it's done, it will download a zip file for each platform you chose. On Windows, there will be a .bat file named Launch. On Mac, it's an app named nwjs. I don't remember what I did for Linux.

How It Works
This is a web app that downloads zipped copies of nw.js, adds the necessary files with jszip, and saves the zip. No information is sent to any servers. I hope you all find this useful!

Last edited by A-E- (Feb. 3, 2022 00:47:36)

Boomer001
Scratcher
1000+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

Sorry, doesn't work. Keeps crashing my browser page.
A-E-
Scratcher
100+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

Boomer001 wrote:

Sorry, doesn't work. Keeps crashing my browser page.
Oof. It uses a lot of RAM, because it stores 3 versions of nw.js in memory at once, and builds them all in parallel.
Boomer001
Scratcher
1000+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

A-E- wrote:

Boomer001 wrote:

Sorry, doesn't work. Keeps crashing my browser page.
Oof. It uses a lot of RAM, because it stores 3 versions of nw.js in memory at once, and builds them all in parallel.
You should add checkboxes, because, for example, someone is a Windows user, and he does not need the Mac or Linux app.
R4356th
Scratcher
1000+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

Does the HTML file need to be a converted Scratch project or should others work?
A-E-
Scratcher
100+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

R4356th wrote:

Does the HTML file need to be a converted Scratch project or should others work?
Others work too!
--Explosion--
Scratcher
1000+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

Wow! I'll try this!
R4356th
Scratcher
1000+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

A-E- wrote:

R4356th wrote:

Does the HTML file need to be a converted Scratch project or should others work?
Others work too!
Great!
apgonscratch
Scratcher
100+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

I would love to use this, but CORS policy is blocking the fetch for Windows and Mac nw.js

Any ideas on how to prevent this from happening?
apgonscratch
Scratcher
100+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

apgonscratch wrote:

I would love to use this, but CORS policy is blocking the fetch for Windows and Mac nw.js

Any ideas on how to prevent this from happening?
I did some Googling and found this in the Mozilla Developer's site or whatever it's called:

“The response to the CORS request is missing the required Access-Control-Allow-Origin header, which is used to determine whether or not the resource can be accessed by content operating within the current origin.”

Not sure if there's anything I can do about this on my end as I'm not familiar with this stuff, but hopefully this is fixed sometime soon.
Sheep_maker
Scratcher
1000+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

Maybe the Windows and Mac nw.js .zips could be predownloaded by you and put on your website to bypass the CORS policy, if that's legal. It seems that only the Linux .zip is hosted on Glitch's CDN servers, which allow for cross-origin requests
A-E-
Scratcher
100+ posts

HTML Build and HTMLifier: Make apps from Scratch projects.

Oh, the CDN I was using is down. I'll fix that today.
SuperBjmanBros
Scratcher
56 posts

HTML Build and HTMLifier: Make apps from Scratch projects.

It's not working for me. I don't know why.
crawly_coder_15
Scratcher
17 posts

HTML Build and HTMLifier: Make apps from Scratch projects.

_meow_

Powered by DjangoBB