Mirror site to support the in-browser edition

Hated Moron

Mirror site to support the in-browser edition

Post by Hated Moron »

I have noted before that the in-browser edition of BBC BASIC for SDL 2.0 is critically dependent on the availability of the wasm.bbcbasic.co.uk server, and whilst my hosting provider has a very good record of reliability and uptime, there has always been the possibility of a failure (or exceeding the bandwidth limit).

I have now got around to setting up an independent mirror site at wasm.bbcbasic.net, which can be used as an alternative server in the event of failure. I think it should also be possible, with a bit of DNS/CNAME magic, to redirect wasm.bbcbasic.co.uk to wasm.bbcbasic.net to automate the transfer in the event of a planned or extended outage.

In case there's anybody out there who hasn't yet fully appreciated the power of the in-browser edition of BBCSDL, it allows you to create a link which can be opened in virtually any browser, on any platform, which will run a BBC BASIC program without BBC BASIC needing to be installed. This is a fantastic way of making your programs widely available.

For example user Soruk has recently made his Note Quiz program available that way. You need only click on this link (which uses the old server) or alternatively this link (which uses the new mirror server) to run it. It won't work in Internet Explorer or some embedded browsers, but should run on most other desktop and mobile browsers.
Hated Moron

Re: Mirror site to support the in-browser edition

Post by Hated Moron »

Hated Moron wrote: Sat 09 Sep 2023, 17:07 I have now got around to setting up an independent mirror site at wasm.bbcbasic.net, which can be used as an alternative server in the event of failure.
This is just a reminder that bbcbasic.net is up-and-running and can be used to run web apps, in fact I am increasingly using it when I publish links to such apps to avoid adding to the bandwidth consumption of bbcbasic.co.uk. Feel free to do the same.

The general form of the required URL is https://wasm.bbcbasic.net?app=url_of_web_bundle, so for example https://wasm.bbcbasic.net?app=bbcbasic.co.uk/webapps/amaze.

It's too soon to form an opinion on the general reliability and speed of this server, but certainly it's always been fine for me so far. If your experience is different please let us know. It has 'unlimited' bandwidth, but as usual this comes with some 'fair use' conditions.