Kartik asked at some point whether Lopecode could do offline note taking. Sort-of but you would have to remember to export every change or lose you notes and the frequent exports would generate a new file every time cluttering the HDD up.
So I have made a note-taking app that uses IndexDB via dexie.js to remember the work in progress. If you have two tabs open the notes are synced in realtime. The Notes in indexdb are carried forward on export as an inline file attachment to the single HTML file application.
Export now support themes so this is the first dark mode version 👻. Its looks amazing now (CSS taken from ISC licensed NotebookKit and credited).
Obviously if you use it from the web link it will use network so if you wanted to use it you would click download and use it from your computer for true offline. Tested in Chrome/Firefox/Safari and works, but Safari might delete the indexdb data after 7 days (maybe not though if its a file:// ?) There is a technical overview inside the notebook as its meant for demonstration over actual utility
https://tomlarkworthy.github.io/lopecode/notebooks/@tomlarkworthy_notes.html
sidenote: I wrote this slack message earlier in the day, decided not to send it coz there was a bug, recorded the draft message in notes, fixed the bug and pushed, and now the
Github.io one now has this very slack message. I kind of like it coz its like an intro anyway, but a bit of a risk for me who publishes notebooks that I might accidentally transmit sensitive information.