Comment

Comment by katabasis

This is amazing. I work in digital publishing at an art museum, and we are creating digital books as static HTML/CSS/JS files which rely on client-side interactivity for most features.

Some people have asked about getting a desktop version of these books which they could download locally (scholars doing fieldwork, etc). I knew something like this was possible using Electron, but I figured I'd have to build it from scratch if I wanted it.

Instead I just pointed this script at the beta version of our latest project[1] and the project built flawlessly in under a minute.

Nice work! I know that the web as a platform has its problems, but it is the only truly universal runtime we have right now, and tools like this help realize this potential more fully.

One question: is there a way to package pre-built copies as .dmg or .exe files so that non-technical users can download an app that is ready to go, without having to run the build script themselves?

[1]: http://gettypubs.github.io/Terracottas/

parent katabasis 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton