Live data from Hacker News

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

brow.sh

71–80 of 330 posts

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

#72
post #30

Earlier quoted context omitted.

I think the use-case is that the user is running their headless browser on a remote server with a good internet connection. Then they open an SSH tunnel to that server from their local machine which has low bandwidth--and the only thing that needs to be received by the local machine is the browsh rendering of the webpage.

Exactly. As well SSH/Mosh access there's a HTTP service, that currently only outputs static, noninteractive HTML and basic graphics. For example: https://html.brow.sh/https://news.ycombinator.com/item?id=17...

This sounds like your ticket to making money then. Have a hosted option.

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

#74
post #52

Earlier quoted context omitted.

Do they support SNI? https://bugzilla.redhat.com/show_bug.cgi?id=1527856

"Sorry, the latter piece of the patch does indeed appear to call the NSS SSL_SetURL which should trigger the SNI." So, according to your own link, yes it should support SNI.

AFAIK it's not integrated yet. But anyway, I'm still wrong as lynx does support SNI: https://lynx.invisible-island.net/lynx2.8.8/features.html#im...

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

#75
post #71

how does it know how to convert a webpage to a ascii?

Ha, that's a very long story. The gist though is that some custom CSS forces a given webpage into a strict, monospaced, mono-sized grid. Then JS queries DOM text nodes for their contents and precise positions. Then using the standard rules of text flow the exact position of every character can be fairly reliably derived.

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

#76
post #51

Earlier quoted context omitted.

Lynx uses whatever SSL is on your system, so if your OpenSSL doesn't support modern SSL, then it's time for you to upgrade ;)

I'm not sure that's true, for example elinks doesn't support SNI: https://bugzilla.redhat.com/show_bug.cgi?id=1527856

Current ELinks does support SNI. That bug might have been RHEL being on an old version.

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

#78
post #30

Earlier quoted context omitted.

Exactly. As well SSH/Mosh access there's a HTTP service, that currently only outputs static, noninteractive HTML and basic graphics. For example: https://html.brow.sh/https://news.ycombinator.com/item?id=17...

This sounds like your ticket to making money then. Have a hosted option.

I'd be wary to use a hosted option because a browser in a remote server will then contain my credentials and browsing history.

So if OP goes down this road then I think he should allow users to access machines.

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

#79
post #2

Some of you may have seen this before under its previous incarnation of "Texttop". Then it was just a hack, but I got some great feedback, so I've spent most of the last 12 months turning it into something serious. It's morphed into more than a mere TTY gimmick. That UNIX philosophy of text being the "universal interface" has somewhat unexpectedly risen to the forefront, such that Browsh is now essentially a text bro…

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.g. browsh.url() to navigate to a URL, browsh.click() to click on an element, browsh.text_exists?() to check whether text exists, browsh.link_exists?() to check whether a clickable link exists

Post reply on HN