Web deployment helper tool

All flavors welcome.
Forum rules
Be kind.
Post Reply
User avatar
richmond62
Posts: 5288
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Web deployment helper tool

Post by richmond62 »

Well, lookee here:
-
Sheriff-Nottingham-Robin-hood-Disney.jpg
Sheriff-Nottingham-Robin-hood-Disney.jpg (81.96 KiB) Viewed 9830 times
-
[Oh, Too: I do recommend you show Disney's Robin Hood to your children: they may not enjoy it, but I am sure you and your wife will.]
[ https://archive.org/download/robin-hood-1973_202404 ]

https://forums.livecode.com/viewtopic.php?t=38989

Where 'tis stated:

"The stack requires LC10.0.0 dp7+ and naturally a web deployment license for LC10."

Naughty Richmond is running this thing on LCC 963:
-
Screenshot 2025-03-19 at 21.05.01.jpg
Screenshot 2025-03-19 at 21.05.01.jpg (118.11 KiB) Viewed 9826 times
-
It seems to get fairly badly bogged down at the 'Create' stage.

It seems to be Open Source, so can be "hacked around":

https://github.com/wheninspace/WIS_WebD ... ag/v.1.0.3

In case Disney's Robin Hood doesn't appeal to you, here's another movie:

https://livecode.com/livecode-to-html5/
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 5288
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Web deployment helper tool

Post by richmond62 »

This worked in LCC 963:
-
Screenshot 2025-03-19 at 21.34.14.jpg
Screenshot 2025-03-19 at 21.34.14.jpg (104.61 KiB) Viewed 9810 times
-
BUT in OXT Lite produced standalones for Mac. Win, and Lin, although they were all deselected in the standalone settings. :(

And:
-
Screenshot 2025-03-19 at 21.37.07.png
Screenshot 2025-03-19 at 21.37.07.png (29.12 KiB) Viewed 9808 times
-
I assume that got nowhere was ONLY because my web-browser was attempting to download a plug-in our friends 'across the road' has since deleted.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3522
Joined: Tue Dec 21, 2021 9:10 pm
Location: webtalk.tsites.co.uk
Contact:

Re: Web deployment helper tool

Post by tperry2x »

No, I think it got nowhere because the web / emscripten build options in OXT Lite / LCC 9.6.3 are borked.
It probably relies on standalone settings bits found only in LC10. That looks like the Emscripten stuff again, so Paul may well know better, that's just my supposition about LC10 being required.

I remember watching Disney's Robin hood in primary school - none of us got a chance to see the movie through until the end. Didn't help that the teacher managed to get the VHS tape chewed up :lol:

I'd show my 11 year old it, but she won't appreciate it, as it's not YouTube shorts. (kids don't watch anything that seems to contain a plotline or conclusion now. It's all about the instant gratification thing).
User avatar
richmond62
Posts: 5288
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Web deployment helper tool

Post by richmond62 »

It probably relies on standalone settings bits found only in LC10.
Maybe so, but if that be so I do not jalouse quite why I get the previous half-cock job at HTML deployment (which, with LC 7-ish I got to work) attempting to load.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3522
Joined: Tue Dec 21, 2021 9:10 pm
Location: webtalk.tsites.co.uk
Contact:

Re: Web deployment helper tool

Post by tperry2x »

richmond62 wrote: Wed Mar 19, 2025 7:46 pm Maybe so, but if that be so I do not jalouse quite why I get the previous half-cock job at HTML deployment (which, with LC 7-ish I got to work) attempting to load.
That is the question. And a good one. As far as I could ever tell, LC9 / 8 seemed to completely wreck it. Don't know why. Perhaps some plugin or web standard changed that forced them to change something? Either way, I know it never worked for me past LCC7 - back when I was just using a mac that is.
User avatar
richmond62
Posts: 5288
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Web deployment helper tool

Post by richmond62 »

Screenshot 2025-03-19 at 21.48.11.jpg
Screenshot 2025-03-19 at 21.48.11.jpg (239.03 KiB) Viewed 9801 times
-
Screenshot 2025-03-19 at 21.49.10.png
Screenshot 2025-03-19 at 21.49.10.png (28.97 KiB) Viewed 9801 times
-
The file structure for a standalone from 963 and 820 beta is exactly the same, but, as you can see, with 8.2 one gets that black box . . .
-
Screenshot 2025-03-19 at 21.38.07.png
Screenshot 2025-03-19 at 21.38.07.png (158.43 KiB) Viewed 9801 times
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3522
Joined: Tue Dec 21, 2021 9:10 pm
Location: webtalk.tsites.co.uk
Contact:

Re: Web deployment helper tool

Post by tperry2x »

What about the file sizes of each of those files? how do they differ?
They are probably different - implying that stuff was either added/removed between versions.
User avatar
richmond62
Posts: 5288
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Web deployment helper tool

Post by richmond62 »

LC 963: 41.7 MB

LC 820: 31.3 MB

HOWEVER: our 'friends' were still giving the impression that LCC 963 could deploy stuff to the web.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3522
Joined: Tue Dec 21, 2021 9:10 pm
Location: webtalk.tsites.co.uk
Contact:

Re: Web deployment helper tool

Post by tperry2x »

Yes, well....
I don't know if it ever fully materialised. (link)
LiveCode HTML5 Deployment is in the Developer Preview stages.
Or are they talking about something in 'Create'?

There's a load of brouhaha over yonder about it, but not much came to fruition by the look of it. It's a bit of a TLDR.
User avatar
richmond62
Posts: 5288
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Web deployment helper tool

Post by richmond62 »

"Talking Loads of Damn Rubbish"?
https://richmondmathewson.owlstown.net/
User avatar
OpenXTalkPaul
Posts: 2836
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Web deployment helper tool

Post by OpenXTalkPaul »

I've seen this tool before 'over there', IIRC that tool basically does what I was talking about as far as adding some JavaScripts or other options with the deployed index.html page. I was thinking making such deploy additions options in the standalone builder stack HTML5 deploy tab. One example of what I mean is if your webstacks were always need some specific JS library like Chart.js or TinySynth.js or any of a million others, you could have them in a folder the SA Builder lists and click a check box to have them be auto-inserted into a in a <script> tag in the index.html or otherwise included with the output.

I've seen Disney's Robin Hood (and Mary Poppins and many other kids movies) maybe hundreds of times when my kids were very young. Been to Disney World way too many times as well.
User avatar
richmond62
Posts: 5288
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Web deployment helper tool

Post by richmond62 »

LCC 714 does NOT offer an HTML build.

https://livecode.com/products/livecode- ... eployment/

'Over yonder' (nice turn of phrase), they seem particularly adept at getting people to pay for unfinished work.
LiveCode HTML5 Deployment is in the Developer Preview stages. You can add commercial HTML5 Deployment to your existing license now and get started with your HTML5 projects!
This reminds me of a young man I know (he's our tenant in a flat we own) whose parents bought a flat that had not been built, and was projected to b finished by Christmas 2023: he is still our tenant as, as of March 2025, it is still part of a concrete framework with now proper walls . . .
-
BGcrap.jpg
BGcrap.jpg (9.43 KiB) Viewed 8936 times
-
SShot 2025-03-20 at 11.22.09.png
SShot 2025-03-20 at 11.22.09.png (7.21 KiB) Viewed 8927 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 5288
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Web deployment helper tool

Post by richmond62 »

I have just built an HTML5 standalone with LCC 8.0.0 on 32-bit Debian . . .

Oddly enough the web-browser (Firefox ESR) does appear to be downloading something . . . err, no. endless churning.

The Firefox tab is entitled 'Emscripten-Generated Code.

"Exception thrown, see JavaScript console"

dependency: a1 standalone-community-8.0.0.html.mem
https://richmondmathewson.owlstown.net/
User avatar
OpenXTalkPaul
Posts: 2836
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Web deployment helper tool

Post by OpenXTalkPaul »

I believe there was some sort of HTML output method available before, like back in MC or RunRev days, but the port of the Engine to Emscripten (asm.js not web-assembly) is different from that. It's similar to a Java (not javascript) app that's running in a VM than it is like a HTML page with Javascript.

IIRC that .mem is like a virtual file system in a file which these webstacks can use to include things like fonts. It has to match the deploy Emscripten engine, it's called something like community_standalone_8.0.1.js, with LC 10 I think LC has recompiled it to web-assembly so probably be named something standalone.wasm and the file is probably around 12 to 14mb ( about half the size of the .js compiled version). But if one of those is from LC 8 but the other is from LC 8.0.1 then it's going to give you an error like that when you try to run it in a browser.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests