Show HN: Browsh – A modern, text-based browser
71–80 of 330 posts
Re: Show HN: Browsh – A modern, text-based browser
#72Earlier 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...
Re: Show HN: Browsh – A modern, text-based browser
#73This is cool. Had you not considered using a pixellated Sean Connery as the logo?
Re: Show HN: Browsh – A modern, text-based browser
#74Earlier 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.
Re: Show HN: Browsh – A modern, text-based browser
#75how does it know how to convert a webpage to a ascii?
Re: Show HN: Browsh – A modern, text-based browser
#76Earlier 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
Re: Show HN: Browsh – A modern, text-based browser
#77Re: Show HN: Browsh – A modern, text-based browser
#78Earlier 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.
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
#79Some 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…
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
Re: Show HN: Browsh – A modern, text-based browser
#80You might want to consider adding support for displaying proper terminal graphics, instead of using pixelated ones (which I assume are done using unicode block drawing symbols?). See https://sw.kovidgoyal.net/kitty/graphics-protocol.html