Live data from Hacker News

Show HN: Nash, I made a standalone note with single HTML file

keepworking.github.io

101–110 of 153 posts

Re: Show HN: Nash, I made a standalone note with single HTML file

#101

Nice work! I’ve built a research prototype called Webstrates (webstrates.net) and recently created a local-first version: MyWebstrates ( https://github.com/Webstrates/MyWebstrates ). I just tested your note on it, and it works nicely. Here’s what I did: I copied the HTML of Nash, went to https://my.webstrates.net , created a new blank webstrate, opened Developer Tools, and replaced the entire DOM with the Nash HTML.…

Wow, this is really cool.

I should remember it later and study more.

Re: Show HN: Nash, I made a standalone note with single HTML file

#102
post #85

Earlier quoted context omitted.

How file can access anything? It is just data. It can not do anything.

Executables are files too.

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.

Re: Show HN: Nash, I made a standalone note with single HTML file

#105

Nice work! I’ve built a research prototype called Webstrates (webstrates.net) and recently created a local-first version: MyWebstrates ( https://github.com/Webstrates/MyWebstrates ). I just tested your note on it, and it works nicely. Here’s what I did: I copied the HTML of Nash, went to https://my.webstrates.net , created a new blank webstrate, opened Developer Tools, and replaced the entire DOM with the Nash HTML.…

Wow, this is really cool. I should remember it later and study more.

I came to say exactly this. I was sucked right into this. I am looking forward to reading more thoroughly and understanding it better.

Re: Show HN: Nash, I made a standalone note with single HTML file

#106

Earlier quoted context omitted.

HTML is underrated. Most of the screens we look at daily, including our code editor are HTML pages.

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.

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

Re: Show HN: Nash, I made a standalone note with single HTML file

#107

I really like this, for two reasons: 1) I’ve been getting sick of Jekyll and using it to write, because I find all the work of managing images tedious. 2) my first name is Nash, so this feels like it was made for me. :)

I hope this was a good gift for you. ;)

Re: Show HN: Nash, I made a standalone note with single HTML file

#109
post #13

Earlier quoted context omitted.

That's right. Exactly! I wanted the document to be edited without a separate editor.

I'm curious, somehow I remebered as JS not getting executed when opening a html file from filesystem, but clearly that isn't the case since this works. Did this change? Maybe I'm just misremembering

These days, local html seems to be running javascripts.

If you send html to Telegram, the preview will not run js when the recipient opens it. I think Android and IOS work differently.

Re: Show HN: Nash, I made a standalone note with single HTML file

#110
post #59

Much of the heavy lifting is done by this simple but powerful attribute, something surprisingly few developers seem to know about. It's been around for quite a while.

Reads like “oh, here’s this amazing thing, it’s called the wheel and the it’s been around for quite a while”. I’m pretty certain I’ve been working with this 20 years ago.

ContentEditable first introduced in ie 5.5 in 2000, available in all major browsers in 2007.

Post reply on HN