Live data from Hacker News

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

github.com

101–110 of 172 posts

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

#105
post #22

Earlier quoted context omitted.

Sure! textarea.my support custom style attr: https://textarea.my/#Ky4tSlVUyCotLlEoLUhJLElVKC6pzElVSCwpKWJ...

How do you share after that? I can open devtools and change the attribute but the URL doesn't update after that.

Update the text a bit to trigger save event.

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

#106
post #15
post #12

Per the spec [0], a URL can hold at least 8,000 characters. > It is RECOMMENDED that all senders and recipients support, at a minimum, URIs with lengths of 8000 octets in protocol elements. Note that this implies some structures and on-wire representations (for example, the request line in HTTP/1.1) will necessarily be larger in some cases. Mainstream browsers support at least 64,000 characters [1], and Chrome suppor…

Chrome limit is 2MB, Firefox is 1MB, WebKit is no limit. Here is the Crime and Punishment by Fyodor Dostoevsky: - https://medv.io/goto/crime-and-punishment-by-fyodor-dostoevs...

This unfortunately immediately crashed my android firefox nightly browser. Amusingly it loaded the page, but one click on the address bar sent me straight to the home screen

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

#107

I keep this in the bookmark bar for the times I need a place to paste a quick bit of text (but it doesn't persist): data:text/html,

Use xem's version [1] if you need persistence:

    
[1] https://xem.github.io/postit/

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

#109
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…

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?

Post reply on HN