Live data from Hacker News

Show HN: ~200 byte in-browser, no JS, private notepad

jjjjjjjjjjjjjjjjjjjj.github.io

11–20 of 75 posts

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#11

I wanted a place where I could write down my thoughts without them being stored in the cloud or connected to an account (notes, onenote, evernote, docs, paper, gist, etc). I don't really like terminal text editors, notepad, or IDEs for writing, so I made this very simple notepad. It's a html tag with the contenteditable attribute making it editable, and some . To save a note just store it on disk (cmd/ctrl+s). To add…

Pretty cool.

It seems like it would be pretty easy to add a save/load feature with localStorage.

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#12

I wanted a place where I could write down my thoughts without them being stored in the cloud or connected to an account (notes, onenote, evernote, docs, paper, gist, etc). I don't really like terminal text editors, notepad, or IDEs for writing, so I made this very simple notepad. It's a html tag with the contenteditable attribute making it editable, and some . To save a note just store it on disk (cmd/ctrl+s). To add…

>I don't really like terminal text editors, notepad, or IDEs for writing

are you talking about the windows notepad? it's as simple as a plain text editor can get, how is the contenteditable notepad better?

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#13

I wanted a place where I could write down my thoughts without them being stored in the cloud or connected to an account (notes, onenote, evernote, docs, paper, gist, etc). I don't really like terminal text editors, notepad, or IDEs for writing, so I made this very simple notepad. It's a html tag with the contenteditable attribute making it editable, and some . To save a note just store it on disk (cmd/ctrl+s). To add…

I'd love this and use it regularly if it supported Chrome and markdown syntax.

I know it wouldn't be 200 bytes, but this is a pretty great idea.

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#14
post #12

I wanted a place where I could write down my thoughts without them being stored in the cloud or connected to an account (notes, onenote, evernote, docs, paper, gist, etc). I don't really like terminal text editors, notepad, or IDEs for writing, so I made this very simple notepad. It's a html tag with the contenteditable attribute making it editable, and some . To save a note just store it on disk (cmd/ctrl+s). To add…

>I don't really like terminal text editors, notepad, or IDEs for writing are you talking about the windows notepad? it's as simple as a plain text editor can get, how is the contenteditable notepad better?

> it's as simple as a plain text editor can get

Just because it is simple does not mean OP has to like it.

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#15

It's a nice idea, but what is the advantage over windows notepad (or equivalent on other OSes)?

I haven't tried the subject of this thread, but since I upgraded to Windows 10, the notes application has become ridiculously slow. Sometimes I have to wait, and wait, for it to respond to clicking or typing. I assume because it's doing some sort of network/AI enabled nonsense.

>the notes application has become ridiculously slow

the win32 one, or did they replace it with a metro/modern version?

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#16
post #12

Earlier quoted context omitted.

>I don't really like terminal text editors, notepad, or IDEs for writing are you talking about the windows notepad? it's as simple as a plain text editor can get, how is the contenteditable notepad better?

> it's as simple as a plain text editor can get Just because it is simple does not mean OP has to like it.

I'm assuming he's going for the minimalist notepad because of how bare bones the contenteditable notepad is.

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#17
post #16

Earlier quoted context omitted.

> it's as simple as a plain text editor can get Just because it is simple does not mean OP has to like it.

I'm assuming he's going for the minimalist notepad because of how bare bones the contenteditable notepad is.

the content-editable version lacks the most basic of features, such as search and replace. I don't think you can compare them at all.

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#18

You can always type `data:text/html, ` on your browser :)

Wow, I did not know that we could create tiny "serverless" pages like that.

I created this self referencing URL:

`data:text/html, SO METAThis link's url isp = document.createElement("p");p.innerText = window.location.href;document.body.appendChild(p)`

The sad part is that 's are actually blocked from using data:text/html URLs. So we can still create tiny games and apps that can be copy/pasted in the address bar, but we can't link to them.

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#19
post #15

Earlier quoted context omitted.

I haven't tried the subject of this thread, but since I upgraded to Windows 10, the notes application has become ridiculously slow. Sometimes I have to wait, and wait, for it to respond to clicking or typing. I assume because it's doing some sort of network/AI enabled nonsense.

>the notes application has become ridiculously slow the win32 one, or did they replace it with a metro/modern version?

They haven't.

Re: Show HN: ~200 byte in-browser, no JS, private notepad

#20

I wanted a place where I could write down my thoughts without them being stored in the cloud or connected to an account (notes, onenote, evernote, docs, paper, gist, etc). I don't really like terminal text editors, notepad, or IDEs for writing, so I made this very simple notepad. It's a html tag with the contenteditable attribute making it editable, and some . To save a note just store it on disk (cmd/ctrl+s). To add…

> To save a note just store it on disk (cmd/ctrl+s).

What's this supposed to do? On Firefox/Win it just saves the initial blank page as you'd expect, which is not very useful. Removing the `contenteditable` attribute before saving makes no difference.

I'm not aware that there is a simple portable way to save dynamically-modified webpages; projects like TiddlyWiki have been banging their collective heads against this problem since forever.

Post reply on HN