Live data from Hacker News

Nullboard: Kanban board in a single HTML file

github.com

81–90 of 191 posts

Re: Nullboard: Kanban board in a single HTML file

#82
post #70

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

IMO those expectations are not reasonable at all given the description of the software; they sound more like anti-goals.

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

#83
post #42

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

I'm authoring two, One that's a keyboard based mnemonic launcher for accessing various websites. It's basically a way to have your bookmarks outside of the browser and quickly accessible. The other is a tabbed markdown document that can render static copies of itself.

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

#84
post #77

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

I tried to allude to this in my response above, but the fundamental reason that they're all crammed into a single file is to make sharing really easy. This is what I meant when I said it travels well through space.

Re: Nullboard: Kanban board in a single HTML file

#85

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?

If you construct the file to be able to save a copy of itself with updated data, then it can do so automatically without any user interaction, either on a timer or in response to some event.

Re: Nullboard: Kanban board in a single HTML file

#86
post #72

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

What's wrong with that statement? Can you access the filesystem without a dialog?

Re: Nullboard: Kanban board in a single HTML file

#89
post #72

Earlier quoted context omitted.

Are you serious?

What's wrong with that statement? Can you access the filesystem without a dialog?

It's pure useless pedantry. Imagine the abysmal signal to noise ratio if discussions went like that more often.

Re: Nullboard: Kanban board in a single HTML file

#90
post #72

Earlier quoted context omitted.

Are you serious?

What's wrong with that statement? Can you access the filesystem without a dialog?

The point is that you can save the file and then use it offline. The exact set of clicks to make that happen are completely irrelevant to the core point.
Post reply on HN