Re:Creating a TP-Link Router Backup Editor for the Web
by cxr on Friday April 15, 2022 @10:13PM
(#31048577)
> you can download and start locally using the file: protocol
Have you tried doing this? You're using ES6 modules for everything except CryptoJS, but modules are subject to CORS (even for local files), so they'll get blocked.
Whether it's a single file or a single directory doesn't matter much. The git repo is essentially a folder you can download and start locally using the file: protocol. No need for a server or anything.
I could make it into a single file, but I prefer organising modules as separate files and I didn't want to add a build step, so I left it as-is.