This is very neat! I'd be interested to see something like this with a saving mechanism reminiscent of TiddlyWiki [0], which is saved as a portable HTML file. Documents that contain their own editors like this are really neat for offline use and long-term storage. [0] https://tiddlywiki.com/#SavingMechanism
I tried this script (which Claude came up with) to save file with all it's changes. The steps are 1. Put this script in html file and add a save/download button to trigger it 2. Set `contenteditable` on you editable elements That's it. Now make changes on the page and click download button to save the page with your changes. This should allow seeing your work without necessarily depending on JS. The script: function…
Nullboard: Kanban board in a single HTML file
91–100 of 191 posts
Re: Nullboard: Kanban board in a single HTML file
#92Earlier quoted context omitted.
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
#93I 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.
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…
Edit: I sketched out a basic version in JS + Python, it's fairly ok to use. The nice parts about this approach is the HTML files are viewable without any extra services, and the service that enables saving doesn't itself need configuration or to keep state.
Re: Nullboard: Kanban board in a single HTML file
#94Maybe if I put the original trello card ID at the bottom of each NBX "note" and then synched any text back as a new comment on that card, and the list ID in the title of each list and adding any notes without a Trello card link as new cards to that list, it would be a pretty automated way to get a bunch of edits back into Trello where I could tidy up with copy/paste.
Rock on!! Forked the repo and have my new local version pinned.
Re: Nullboard: Kanban board in a single HTML file
#95I 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.
Yes, they could be. And then they would have the same super power is this file: you can put it on a flash drive and run it anywhere with no setup or installation.
Re: Nullboard: Kanban board in a single HTML file
#96I 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?
This sounds like a job for WebDAV! https://en.wikipedia.org/wiki/WebDAV
Re: Nullboard: Kanban board in a single HTML file
#97I 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.
We are definitely coming at this from a different angle.
Re: Nullboard: Kanban board in a single HTML file
#98Earlier 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 !
It's been over 20 year with auto-save being pretty common, one has to adapt to the modern times, especially when it makes things better.
I don't have to "remember to save my work" when I write on my notepad, why should it be different on a computer?
Re: Nullboard: Kanban board in a single HTML file
#99Earlier quoted context omitted.
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.
I wouldn't say it was totally awful. At least, prior to having an Undo option or perhaps an undo but that can only go back 3 steps, saving as before making any large changes was a pretty common workflow. I might end up with 50 versions of a document numbered incrementally by the time I was finished. that is still a necessary workflow for certain types of documents. I don't necessarily want everything saved automatica…
Re: Nullboard: Kanban board in a single HTML file
#100I 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.