That feeling when an awesome idea gets shot down because of limited browser APIs. Sigh.
My curiosity is piqued.
If I'm understanding, you're wanting to do server side programming from the client side?
No server involved here. It's an html file on the local file system.
Agreed for the most part. It's just annoying that there exists a good cross-platform runtime that is guaranteed to be present on virtually every operating system: the web browser. But we can't use it for serious local app development.
You can run a web server and not open it to the public. Aside from installing apache2, there's lighttpd, the XAMPP/WAMP/MAMP packages, and the simple ones that come with python or Node.js.
@pcrock @pell Have you considered Blobs? https://developer.mozilla.org/en-US/docs/Web/API/Blob
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.