> 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.
Show HN: Minimalist editor that lives in browser, stores everything in the URL
141–150 of 172 posts
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#142You 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)
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
#143My 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
#144data: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
#145Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#146Funny 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…
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#147Funny 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
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#148Earlier 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.
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#149Funny 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…
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#150Earlier 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
Here is the fix:
.leaflet-top, .leaflet-left{ z-index: 100000; /* some high number */ }