3 ms·
Show HN: A minimal notepad – without the cloud or 3rd party libs
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 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!
- tm2t 4y agoNice tool :)
- Neesh774 4y agoI created something super similar to this! https://bubble.ilioslabs.dev https://bubble.ilioslabs.dev
- HardwareLust 4y agoThat's pretty neat!