Live data from Hacker News

Show HN: Browsh – A modern, text-based browser

brow.sh

321–330 of 330 posts

Re: Show HN: Browsh – A modern, text-based browser

#321
post #319
post #307

Earlier quoted context omitted.

That's essentially what https://text.brow.sh is already doing right? Eg; `curl https://text.brow.sh/https://news.ycombinator.com/item?id=17... | grep snarfy`

It's close, but it doesn't actually output the escape codes. It would be cool if there were different formats besides text and html. Maybe vt100.brow.sh, ansi.brow.sh, etc. That way when I curl it from a terminal it renders like the actual terminal client. Add terms that commercial use of the site requires an account setup and some pricing info. They can always host it themselves, but like many things, most people wo…

Oh! I never thought of sending the escape codes over curl. Great idea, thank you.

Re: Show HN: Browsh – A modern, text-based browser

#322
post #304

Earlier quoted context omitted.

I'm not very familiar with Tor. But from what I gather I think Browsh will be of interest to Tor users more than Tor network itself?

What you need to know about Tor is that the network consists of clients and relays. Clients are mostly users with browsers. Many of which disable JS, because JS can de-anonymize sometimes. This breaks some websites. Previously I could not visit CNN.com via a JS-disabled Tor browser, but now I can type https://html.brow.sh/https://edition.cnn.com/ and Viola! (Well, it's still a little crippled but much better than a b…

Ok great, well I posted over at r/tor, see what they say: https://www.reddit.com/r/TOR/comments/8y6z0m/browsh_html_ser...

Re: Show HN: Browsh – A modern, text-based browser

#323
post #320
post #87

Earlier quoted context omitted.

Browsh's raison d'etre is really about saving bandwidth. I first had the problem of bandwidth whilst living in Ladakh in Northern India, where I simply could not use the modern web. I expect Browsh not to be run on the same machine as the user, instead it runs somewhere where there is good internet and the user then accesses its output via either SSH/Mosh or the HTML service. Linking to FF/Chrome's libs is certainly…

Did Links/eLinks/Lynx not provide a better benefit in terms of bandwidth? It seems like trying to process it the way you're doing would lead to more overall load, rather than less.

Well bandwidth and load are irrelevant when lynx/browsh are being run on a remote VM.

Re: Show HN: Browsh – A modern, text-based browser

#324
post #288
post #235

Getting an invalid certificate error on https://html.brow.sh/ Sounds great, will bookmark for later.

Does that look related to this? https://github.com/browsh-org/browsh/issues/58

Not at all. Here's the error in firefox, check your intermediate certificates:

html.brow.sh uses an invalid security certificate. The certificate is not trusted because the issuer certificate is unknown. The server might not be sending the appropriate intermediate certificates. An additional root certificate may need to be imported. Error code: SEC_ERROR_UNKNOWN_ISSUER

Re: Show HN: Browsh – A modern, text-based browser

#325
post #322

Earlier quoted context omitted.

What you need to know about Tor is that the network consists of clients and relays. Clients are mostly users with browsers. Many of which disable JS, because JS can de-anonymize sometimes. This breaks some websites. Previously I could not visit CNN.com via a JS-disabled Tor browser, but now I can type https://html.brow.sh/https://edition.cnn.com/ and Viola! (Well, it's still a little crippled but much better than a b…

Ok great, well I posted over at r/tor, see what they say: https://www.reddit.com/r/TOR/comments/8y6z0m/browsh_html_ser...

Great!

I think your specific wording does not ring the bells for the casual Tor user (hence "why not lynx"). Perhaps you should clarify the precise use case: No-JS users can see JS-dependent websites simply by URL prefixing. They get the modern web without activating JS locally.

Re: Show HN: Browsh – A modern, text-based browser

#326
post #165

Earlier quoted context omitted.

I could see this being part of a lightweight browser UI testing framework. There's already ways to drive a headless UI (Selenium, puppeteer), but they require automation testers to interact with page elements via the "normal" DOM which can be quite painful in terms of creating automation tests - DSLs to drive DOM automation are necessarily huge. I could envision browser automation via browsh using a very small DSL e.…

I've thought of that too. The trouble is that Browsh's text renderer is more of a science than an art. It's quite hard to actually get a guarantee of the same text twice, which is a pretty important condition of testing. But yes, I'd love for Browsh to be used in such a way!

> more of a science than an art.

Given the rest of your sentence, I think you mean the opposite.

Re: Show HN: Browsh – A modern, text-based browser

#327
post #326
post #165

Earlier quoted context omitted.

I've thought of that too. The trouble is that Browsh's text renderer is more of a science than an art. It's quite hard to actually get a guarantee of the same text twice, which is a pretty important condition of testing. But yes, I'd love for Browsh to be used in such a way!

> more of a science than an art. Given the rest of your sentence, I think you mean the opposite.

oops, yeah

Re: Show HN: Browsh – A modern, text-based browser

#328
Amazing work. Well done.

(I looked at repurposing Firefox’s renderer for Lynx back in the late 90s - primarily for the JS support - but marrying a mountain of complex C++ implementing a dynamic page to crufty old C with bake-at-parse pages was far beyond my abilities or motivation.)

Re: Show HN: Browsh – A modern, text-based browser

#329
post #324
post #288

Earlier quoted context omitted.

Does that look related to this? https://github.com/browsh-org/browsh/issues/58

Not at all. Here's the error in firefox, check your intermediate certificates: html.brow.sh uses an invalid security certificate. The certificate is not trusted because the issuer certificate is unknown. The server might not be sending the appropriate intermediate certificates. An additional root certificate may need to be imported. Error code: SEC_ERROR_UNKNOWN_ISSUER

Oh! I'm using Let's Encrypt. Any idea how I can reproduce this error for myself? Thanks for letting me know.

Re: Show HN: Browsh – A modern, text-based browser

#330
post #305

Earlier quoted context omitted.

I wonder if it would be a benefit for EU people who just want to read the site and not get a modal that tells them if they don't accept privacy invasions you can't read the page. I'm getting tired of writing down GDPR violations to report.

But then I wonder if Browsh would come under some violation for doing so?

I don't see how you would end up in a GDPR violation scenario for doing it. I suppose the more likely scenario would be Company X wanting people to agree to give up data, and make it hard to access site without giving up data, but browsh makes it easy. So then the company complains that browsh is essentially enabling theft of their resources, I don't think that will work very well though.
Post reply on HN