flyinakite / ScaleOfEverything

Everything in the Universe can be found here
5 stars 1 forks source link

Offline (educational) builds discussion #2

Open CenTdemeern1 opened 2 years ago

CenTdemeern1 commented 2 years ago

Suggestion 1: As suggested by me in the VC: Offline educational version can be an Electron application (or it could use Cordova to build so it could also target platforms like mobile, without too much effort)

Chase22 commented 2 years ago

You wouldn't even neccisarely need electron for it, if it doesn't need to be a standalone app you could just compile everything including the data into one big html file

CenTdemeern1 commented 2 years ago

That does not sound like a good idea.

ben9583 commented 2 years ago

This is something that we'll probably be working on later rather than sooner if we get around to it. It's a cool idea, but we should focus on getting the online version working first and foremost.

We'll also have to think about how to deal with user-submitted scales. If we want to give access to these for an offline SoE, we'll need to bundle a downloader that saves scales to disk, which is a separate project. For this reason, an monolithic HTML file won't work.

Gamer92000 commented 2 years ago

Just as a fyi, most frameworks allow to easily add a webmanifest to make it a PWA. As on of the requirements of a PWA is offline capabilities it can be installed through any browser and used offline.