Live data from Hacker News

Nullboard: Kanban board in a single HTML file

github.com

51–60 of 191 posts

Re: Nullboard: Kanban board in a single HTML file

#51
post #32

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.

It sets up precisely the expectation that everything is inline, surely? How else could it be fully implemented in a single file?

Re: Nullboard: Kanban board in a single HTML file

#53

This 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?

I mean, that’s what I have to do in vim, so why not?

Re: Nullboard: Kanban board in a single HTML file

#54

Earlier 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 !

I mean - yeah, honestly, god forbid. Requiring manual saves with limited change history (or none at all) was the bad old days. That was bad UI/UX, literally everybody had a “oops I forgot to save” and a “oops I saved and I didn’t mean to” horror story. Things are better now.

Re: Nullboard: Kanban board in a single HTML file

#55

I 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.

This is fantastic, thanks for sharing!

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

#56
post #32

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.

"Single HTML file" sets up an expectation to me that it is (1) browser based and (2) client-side only. In other words, you can just open the file and start going without setting up a server, setting up a database, installing anything, or even having internet access. The last is not technically required but I think it is implied. It does not imply anything about the length of the file or the presence of client-side scripting.

Re: Nullboard: Kanban board in a single HTML file

#57
post #35

This is mine. FWIW here's a Show HN from 2019 - https://news.ycombinator.com/item?id=20077177

did you market it at all? or people just found it organically

I showed it around to people that would listen, but otherwise, no, I didn't market it per se.

Re: Nullboard: Kanban board in a single HTML file

#58

I 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…

`roamingStorage` as a relative to `localStorage` sort of like Windows' "Local App Data" versus "Roaming App Data' would be nice to have in theory.

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

#60
post #10

I 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?

SyncThing is my go-to for multi-device syncing.
Post reply on HN