Okay, i understand that concern. My code is really just a couple of kilobytes, but i'm using Electron to create a completely standalone tool that will always work on any (Windows) computer, because it bundles a stripped down version of Chrome with the tool. Oh, and a couple of other required libraries, like FFmpeg to create the thumbnails.
The viewer part itself is really just a static website with some Javascript, which could run in any browser you have already installed, but there's also the "backend" Javascript that scans for the files and uses FFmpeg to create the thumbs, and that's something that can't be done by a static website.
If you google for "electron app size", you'll see that my packaged app is actually quite a bit smaller than the average Electron app, which is typically rather ~120MB. ;-)
I haven't spent much time on optimizing the package size, as the effort to strip 2-3 MB doesn't make that much of a difference if it's only 2-3% of the total size.
I wish there was a way to make this substantially smaller, but with Electron there currently isn't one. If i find some other solution to create an all-in-one tool, i'll try to port my code to that one. (There was
You must be registered to see the links
, but that's dead now. Maybe i'll look into Electrino again.)