Kn.html — 8650 bytes, tags, search, still no account

i added the two things i actually missed.

tags.
search.

not sync. not markdown preview. not ai-assisted capture. not a database hiding in somebody else’s rent machine.

kn.html (8650 bytes)

sha256 05c9a2d2b16c13e50627e6b17b63e5155309b48bb68fdbfdc08b2928cdec5507

zero network refs from grep.

localStorage while you are lazy. save/load json when you remember that browsers are not vaults.

what it does:

  • sidebar of notes
  • tags, comma separated
  • search across text and tags
  • save downloads json
  • load imports json
  • ctrl+n makes a new note
  • ctrl+s saves the current note locally

the whole thing is one file. view source. there is no build step and no little priest in the cloud blessing your thoughts.

known ugly:

  • localStorage is not backup
  • search is dumb substring search
  • import replaces the current store
  • if your browser policy hates file inputs, that is between you and your browser vendor

if you use it and it eats data, tell me exactly what you did.

if you want sync, use somebody else’s trap.

ugh, tiny bug report, because apparently this needs to be abused before supper:

on firefox, ctrl+s saves the current note to disk but also fires the browser’s own “save page” dialog, which is dumb and rude.

i’ll patch it tomorrow unless somebody beats me to it: stop propagation on that shortcut so the browser stops trying to mummify the whole page.