I can't help but think the missing bit is portability of the data file. I wonder if simply allowing a a binary or even JSON representation to be copy pasted from the browser would work well enough.
Nullboard: Kanban board in a single HTML file
81–90 of 191 posts
Re: Nullboard: Kanban board in a single HTML file
#82Earlier quoted context omitted.
What about "single HTML file" sets up an expectation about size? I'm genuinely confused. They seem like nearly unrelated concepts—this isn't a project about trying to fit a kanban board into a kilobyte or anything like that.
I think there are reasonable expectations around code quality that most projects adhere to, e.g.: - Split JS out from HTML, split CSS out from HTML - Keep files reasonably small So if I read "Single HTML file" I'd expect around a couple hundred lines at most, possibly with some embedded CSS. It's kind of like saying "I've solved your problem in one line of JS" but then your line of JS is 1000 characters long and is a…
When I see “single HTML file” it conjures up the same expectations as when PocketBase[0] describes itself as an “Open Source backend in 1 file”.
That is that I can copy that file (and nothing else) somewhere and open/run it, and the application will function correctly. No internet connection, no external "assets" needed, and definitely no server.
This mode of distribution, along with offline and local-first software, avoiding susbscriptions and third party / cloud dependencies, etc. all appeal to me very much.
So far I'm impressed, I appreciate the nice, dense and uncluttered UI out of the box and it seems to cover enough functionality to be useful. I'll definitely look out for a chance to give it a spin on something real.
[0] which I also think is great
Re: Nullboard: Kanban board in a single HTML file
#83Earlier quoted context omitted.
I totally understand your take, but as a guy that spends most of his time on side projects working on single HTML files, I have a different perspective. I find the totally self-contained nature of them very appealing because it travels well through space and time, and it's incredibly accessible, both online and offline. My current side project is actually using a WebDAV server to host a wide variety of different sing…
Do have a link to all the single html file apps you have in mind?
The two projects out in the wild that natively work with this approach are TiddlyWiki and FeatherWiki.
I see room for a lightweight version of a calendar, a world clock, and even a lightweight spreadsheet that could be useful. I also have an idea for something I call a link trap where you can rapidly just drop links in and then search and sort over them to quickly retrieve something you saw before that was interesting. Sort of like my bookmarks-outside-the-browser except more of a history-outside-the-browser.
Re: Nullboard: Kanban board in a single HTML file
#84Earlier quoted context omitted.
I totally understand your take, but as a guy that spends most of his time on side projects working on single HTML files, I have a different perspective. I find the totally self-contained nature of them very appealing because it travels well through space and time, and it's incredibly accessible, both online and offline. My current side project is actually using a WebDAV server to host a wide variety of different sing…
I think I'd call that "local-first" or perhaps "offline-first". I can't think of a reason why a local-first app would need to be crammed into a single HTML file, hehe. I do agree it's very cool, though!
Re: Nullboard: Kanban board in a single HTML file
#85This 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
#86Earlier quoted context omitted.
That will probably never work easily in any secure browser. I think at the very least you would have to go: ctrl+s, dialog opens hopefully at the right directory you want to store in, enter/return.
Are you serious?
Re: Nullboard: Kanban board in a single HTML file
#87Re: Nullboard: Kanban board in a single HTML file
#88Re: Nullboard: Kanban board in a single HTML file
#89Re: Nullboard: Kanban board in a single HTML file
#90Earlier quoted context omitted.
Are you serious?
What's wrong with that statement? Can you access the filesystem without a dialog?