Live data from Hacker News

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

keepworking.github.io

61–70 of 153 posts

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

#63
post #51

I like it a lot, and I see from the source you're coding in vanilla js, which is awesome. It's underrated how much of an interactive web app you can build without using any libraries or frameworks nowadays. I actually also really like the idea of building simple/local web apps in a single HTML page. A while ago my child and I visited a science museum and played with a simple stop motion animator. I decided to make a…

really, just like we had a "you don't need jquery for that" we need a "you don't need react (or vue, or svelte, or whatever else you are thinking) for that."

plain, vanilla js and some decent skills will do nearly almost everything in a cleaner and more maintainable way.

after decades of maintaining other people's stuff, dumb design by smart people beats all the other combinations.

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

#64
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.

I love this. Once made a pdf editor by converting a doc to HTML then throwing in contenteditable="true" in the top-most div lol

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

#65
post #9

Great work. Consider changing the behavior so that when the page is opened in the browser from the local disk, then it opens edit mode automatically, but when it's published to someone's website and accessed on the open web (check if the address is http/https), then it's a normal, read-only view expected from most pages. Of course: 1. there should be a way to override this (a query string param or magic URL fragment)…

I actually really like the idea of websites that allow you to edit the content and save it locally... IMO, this is brilliant and should stay as is.

This was actually the intent of some early versions of the WWW.

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

#66
Love this. The proliferation of software that imposes artificial limitations and puts features that can be (and have been) easily performed locally, behind subscriptions is quite frustrating.

I have been working on a free markdown editor that works entirely in the browser and can edit local files through the new filesystem access api (available in chromium only browsers).

https://zareith.github.io/chillmd/

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

#67
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.

I made a live demo of the concept a few weeks ago; it's such as simple but powerful hidden feature of HTML:

https://news.ycombinator.com/item?id=43179649

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

#68
post #18

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.

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.

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

#69
Hello, very cool app. I have been making apps like this using my tool here: https://domsy.io

It's pretty cool how quickly and easily I can generate little static apps like this for ad hoc use cases. I have made a weight tracker, expense tracker, prototypes for work, cards for my wife, slides for work, etc.

For example, this slide show app: https://domsy.io/share/644305ab-d36b-40a9-80e7-f0b52abaa18b

I import it in domsy.io and give AI a text dump of everything I need, it uses the js in that html to convert to slides that I can download to pdf.

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

#70
post #54
post #38

Earlier quoted context omitted.

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

It's interesting, I also do not like the implication that we are all using vscode and feel slightly offended that someone would assume that I do. (The original statement is worded ambiguously and can be understood in this way.) Anyway, I find it remarkable that a piece of software that I don't even use can trigger such a reaction in me, from a perfectly benign and innocent statement about the prevalence of HTML.

Sorry I didn't mean to offend anyone.

That said, I'm genuinely interested in understanding why you felt that way, is using VSCode considered something to be ashamed of or something, is it because it's a Microsoft product?

PS: I have a strong positive bias towards VSCode due to personal history, so just trying to understand the developer perspective :)

Post reply on HN