Lurker News
Hello HN, I hope it will posted as well. I made a note in single html file. This does not require a separate membership or installation of the software, and if you download and modify an empty file, you can modify and read it at any time, regardless of online or offline. It can be shared through messengers such as Telegram, so it is also suitable to share contents with long articles and images. It is also possible to host and blog because it is static html file content.

Comments (143) 59 threads

Earlier comments
yevgenyhong#
Yes, before I wrote the post on HN, I shared it with my local community and they told me about the same two features.

I think those two services are more appropriate for the name "Note".
For my project, I should have used Page or Document for the project name.

alwayslikethis1 reply#
I wish browsers had better support for local web apps. If local files can access persistent storage easily, this can open it up a lot of opportunities for quick and easy GUI apps. Basically the opposite of electron.
npodbielski1 reply#
How file can access anything? It is just data. It can not do anything.
Timwi1 reply#
Executables are files too.
npodbielski1 reply#
Then it is really a runtime that have an access. I.e. it depends if process have an access to a file from which user is executing a bash script.

Continue this thread — 1 reply

genshii2 replies#
This is cool. It's funny how we are (or maybe just I am) so used writing the JS parts of websites outside of the actual HTML that my first thought upon seeing this was "wow it's crazy that this can be done with just HTML". And then looking at the source and seeing all the JS in plain old script tags made me remember that that's a thing that you can do.
hakaneskici2 replies#
HTML is underrated. Most of the screens we look at daily, including our code editor are HTML pages.
OtomotO3 replies#
Eh, no?

My Code editor is NeoVim or it's IntelliJ
But there is no HTML page involved at all.
What I want to hint at: You're extrapolating the usage of VSCode.

sanex6 replies#
According to the latest stack overflow dev survey 74% of respondents use vs code. I think it's a pretty safe statement.

Continue this thread — 6 replies

harrisonjackson#
Pretty sure IntelliJ contains a bunch of bundled webviews for various things.

Also, extrapolating usage of vscode seems pretty fair since they said "most"

hakaneskici1 reply#
As a side joke regarding vim; I have a theory that my exposure to typewriters as a kid prevented me from adopting vim as an editor :)

Pressing the letter keys for anything other than typing feels so weird to me. My brain might still be thinking of the SHIFT key as a physical modifier that literally shifts the typewriter letters from uppercase to lowercase position.
I admire fast vim users, it's a joy to watch them code.

Continue this thread — 1 reply

dotancohen1 reply#
VIM is an HTML page? Or JetBrains editors render an HTML page?

I know that some people code in an HTML page rendered in Electron, that would be Atom and VS Code and family, but that's far enough from the majority of people that declaring "our code editor" is disingenuous.

sanex2 replies#
See my other comment in this thread. It's 3/4 devs according to SO.

Continue this thread — 2 replies

noduerme#
Not necessarily a thing you should do if you want any kind of separability or version control. But definitely a thing you can do.

What blows my mind is that people use frameworks where they include stuff that's not even JS in their HTML, stuff that needs external JS to attach to it or hydrate it. That feels like the worst of both worlds.
I definitely come from an opposite place where JS is king and I don't have any files with an ".html" extension exept for "index.html". And I don't have any HTML in my JS, either. Anything that's a partial template is ".htm" and gets hydrated before it gets added to the DOM.

lifthrasiir1 reply#
Suggestion: It should warn when you have edited it and are about to close the page without saving. Consider adding an `onbeforeunload` handler.
gradientsrneat#
This webpage has a warning on close right now but that's a generally good suggestion.

Load more comments