I think "single HTML file" sets up a certain expectation that a five-thousand-line long HTML file with ~3500 lines of embedded JS doesn't really live up to. I mean, hey, everything can be a single HTML file if you embed the bundle inline in your HTML! Cool project, though - don't mean to take away anything from it.
Nullboard: Kanban board in a single HTML file
51–60 of 191 posts
Re: Nullboard: Kanban board in a single HTML file
#52Re: Nullboard: Kanban board in a single HTML file
#53This is very cool. BTW, when developing single HTML file apps, instead of localStorage, one can use the HTML as the source of truth, so the user can just save/save-as to persist. I had mentioned my quick and dirty attempt at an image gallery that is a self-contained html file and some really liked the concept, if not the "app" itself: https://news.ycombinator.com/item?id=41877482
Wait, so every time I make a change I need to remember to save or it's all lost? Or am I missing something?
Re: Nullboard: Kanban board in a single HTML file
#54Earlier quoted context omitted.
Wait, so every time I make a change I need to remember to save or it's all lost? Or am I missing something?
My god this comment made me feel old. God forbid you have to remember to save your work !
Re: Nullboard: Kanban board in a single HTML file
#55I love tools like this. I have my own single HTML file project for a HTTP video player along those lines. https://github.com/pseudosavant/player.html I'll definitely be looking at the source code to see if there are any ideas I want to incorporate into my own single file tools.
I've been using something similar for a few years now hacked together from different sources, but yours is much more polished.
Re: Nullboard: Kanban board in a single HTML file
#56I think "single HTML file" sets up a certain expectation that a five-thousand-line long HTML file with ~3500 lines of embedded JS doesn't really live up to. I mean, hey, everything can be a single HTML file if you embed the bundle inline in your HTML! Cool project, though - don't mean to take away anything from it.
Re: Nullboard: Kanban board in a single HTML file
#57Re: Nullboard: Kanban board in a single HTML file
#58I wish there was some browser solution for apps like this where you could save and share your app state between your own devices, and push/share that state with others, all without any server backend involvement e.g. so you could have a Kanban board shared with others and the state would be stored locally and/or in bring-your-own cloud storage. There's so many apps like this that could be simple, but for robust state…
Of course even if you kept it to the simple KV store interface like `localStorage` you'd need to define sync semantics and conflict resolution mechanics.
Then you'd have to solve all the security concerns of which pages get access to `roamingStorage` and how it determines "same app" and "same user" to avoid rogue apps exfiltrating data from other apps and users.
It would be neat to find an architecture to solve such things and see it added as a web standard.
Re: Nullboard: Kanban board in a single HTML file
#59it's not a BSD license if it has a "common clause" call it whatever you want, but don't ever mention a BSD License if you've modified it.
Re: Nullboard: Kanban board in a single HTML file
#60I really think we are as developers underusing setups like this. If you could somehow figure out a simple but effective sync between devices then that would be able to cover many use-cases. Maybe we just need an sqlite with better support for replicas? Then people have one tiny server with a bunch of sqlite’s to which the apps can sync?