this post was submitted on 28 Jan 2024
481 points (97.4% liked)

Programmer Humor

19512 readers
367 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 9 months ago (2 children)

Did you do much browsing? Lynx is a thing, but it can't do JavaScript.

Come to think of it, is there a CLI Lemmy client?

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago) (1 children)

I just kinda used my phone for that. Like I said, not a good experience. Elinks and Links2 are marginally better than the trash fire that is Lynx, and I remember a while ago there was a project that would run Firefox in headless mode and cram its output into a terminal (wish I could remember what it was called), but you're not really gonna get a browser in a terminal no matter what you do

[–] [email protected] 1 points 9 months ago (1 children)

I'm absolutely fascinated if somebody can point me to that.

How well did it render most sites, compared to the other CLI browsers?

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago) (1 children)

Found it again after a bit of googling. It's called Browsh. Haven't played with it yet (will report back when I do) but from the demo on that github page it seems to work pretty well.

UPDATE: I've tried it out and hooooly craaaaaap this is good. If I didn't know this was running in a terminal I would never have guessed. I would've just assumed it was a novelty browser meant to evoke that style. Smooth scrolling works astonishingly well as does video playback.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago)

Lol, I'm already up and running. It's pretty good, and I can actually use my mouse with it in bash. Protip, it seems very important to use the right window size. It's good enough to do a lot of normal browsing, but openstreetmap understandably had broken controls. The only local issue is that I can't see what I'm entering into the URL bar.

It's also designed to run distributed, so you can use shitty bandwidth between a rendering machine and the display machine. I should try fitting it into a radio channel or phone connection or something, haha. I also wonder if it could be adapted to work with Tor Browser.