Live data from Hacker News

Show HN: Minimalist editor that lives in browser, stores everything in the URL

github.com

141–150 of 172 posts

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#141
post #98
post #86

> Respects light/dark mode Not really… using js to change the CSS on the go is not a good practice. Why does it matter? Because of the “dark mode” browser extensions. They often use the presence of @media query (or other standard CSS means of setting dark mode colors), and if it’s the JS that changes the colors we often get partial Dark Mode, which does not work at all.

No js is used for colors.

Oh. I retract my comment, I just read the code. My Dark Mode extension just sucks.

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#142
post #87

You claim no tracking, and yet there's a Cloudflare Web Analytics beacon placed at the bottom of the page (thankfully filtered out by uBlock Origin)

By the look on the issues there, it seems the rest of the post is not that true either

Edit. Call me a hater, but... I know the guy! That's the guy from Google whose code never works in the most hilarious ways! See issues on the rest of his pinned repos.

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#143
I built a very similar experiment about 10 days ago and shared it here (the post is in Chinese):https://x.com/nake13/status/2000401664923324439

My focus was on finding a good text→URL-slug compression strategy. I used ChatGPT-5.2-Pro mainly to explore and compare different compression approaches and trade-offs.

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#144
Here's one I took from somewhere and optimized that is just a bookmarklet, so there's nothing remote:

data:text/html,Notepad

Your text actually survives a reboot in Chrome.

Can anyone think of a way to store the textarea value in the URL? I tried using JS to set a # but it's nonsensical in this context.

Edit: here's the best I could do:

data:text/html,NotepadRight-click Open to save...[,P,S]=location.href.slice(15).match(/(.]>)[^]?(.)/),t.oninput=U=_=>s.href='data:text/html,'+P+encodeURIComponent(t.value.replace(/&/g,'&').replace(/

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#146
post #54

Funny how I made almost exactly the same but for maps. I needed a way to share a link to a map, with drawings and the ability for the receiver to see their own location on the map. Annotated screenshots solves the first but not the second. Vibe engineered this, with many of the same ideas as OP. Took an evening. Just in time apps for one specific use case is a thing. And because it's so cheap to make and can be hoste…

Love this. Can't tell you how many times I've screenshotted maps then drawn on directions for family/friends. Great idea.

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#147
post #54

Funny how I made almost exactly the same but for maps. I needed a way to share a link to a map, with drawings and the ability for the receiver to see their own location on the map. Annotated screenshots solves the first but not the second. Vibe engineered this, with many of the same ideas as OP. Took an evening. Just in time apps for one specific use case is a thing. And because it's so cheap to make and can be hoste…

> Vibe engineered While I'm all for vibe coding as appropriate, there's a lot of humor to be found it calling it engineering. :D

What is funny about it?

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#148
post #116

Earlier quoted context omitted.

this is not something I came up with, Simon wrote it and I liked the differentiation between "vibe coding" where there is less effort for this case project I think I would actually go back and say it's vibe coded, but I didn't want to just call it vibe coding because I did spend time going back and forth and directing the agent https://simonwillison.net/2025/Oct/7/vibe-engineering/

Interesting distinction. I've previously heard vibe coding described as "vibe prompting, but you actually do some work." That aside though, I just call what you're describing as coding with AI.

coding with AI is coding just as much as coding with VSCode is coding. you decide which parts you get help from a given tool and which you don’t. end of the day, it is all coding and “coding with AI” sounds as silly as “coding with keyboard / microphone”

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#149
post #54

Funny how I made almost exactly the same but for maps. I needed a way to share a link to a map, with drawings and the ability for the receiver to see their own location on the map. Annotated screenshots solves the first but not the second. Vibe engineered this, with many of the same ideas as OP. Took an evening. Just in time apps for one specific use case is a thing. And because it's so cheap to make and can be hoste…

But not well tested. Try to create a map and copy the url to another map. Now change the first map with more anotations or move the map center and copy the generated url and paste it into the other map on the other browser. That does not work (at least for me on different browsers).

Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL

#150
post #117
post #109

Earlier quoted context omitted.

Great tool! There is a little issue with the +/- zoom buttons not working something cause it is over layed by other div blocks. On mac firefox. Is the code open source online somewhere?

thanks for the info, I'll see if I can get a agent to fix it it's a static webpage, the source is available with right-click view source, I added a BSD2 licence header to it to make clear it's fine to take and do mostly whatever with

Yeah just would be good on a codeberg or gitlab or maybe even github repo. So we can do PR.

Here is the fix:

.leaflet-top, .leaflet-left{ z-index: 100000; /* some high number */ }

Post reply on HN