News for hackers. Stuff that matters.

Show HN: A minimal notepad – without the cloud or 3rd party libs

https://localnotes.page/

I made this tiny notepad website, to write things down in your browser.

The Features

- Just saves to your browser's localstorage (no cloud or login) - Export to TXT file - Formatting keyboard shortcuts - Works offline - Super fast

The Tech

- Single HTML file - 20 lines of JS + service worker (for offline usage) - Using pure CSS for modals - Github pages hosting - Basically it's just a "contenteditable div" with some extra features - Source -> https://github.com/benwinding/localnotes.page

It's been done before, but I couldn't find a version I liked, that worked offline too. Which is why I just hacked this little thing together. Plus it's fun to make things.

This taught me about offline websites, css hacks to make dialogs, inline favicons, and hacking together a prototype without 500mb of "node_modules".

Anyway, hope someone finds this useful too!

( 3 comments | on HN )
Re:Show HN: A minimal notepad – without the cloud or 3rd par... by tm2t on Tuesday November 29, 2022 @07:10AM (#33786542)
Nice tool :)
Re:Show HN: A minimal notepad – without the cloud or 3rd par... by Neesh774 on Tuesday November 29, 2022 @01:46PM (#33791490)
I created something super similar to this! https://bubble.ilioslabs.dev
Re:Show HN: A minimal notepad – without the cloud or 3rd par... by HardwareLust on Tuesday November 29, 2022 @02:25PM (#33791984)
That's pretty neat!