this post was submitted on 13 Nov 2025
2 points (66.7% liked)

Linux Questions

2849 readers
29 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

How is a terminal browser fundamentally different from a headless browser ??

top 8 comments
sorted by: hot top controversial new old
[–] hendrik@palaver.p3x.de 10 points 2 days ago* (last edited 2 days ago)

I think a headless browser runs somewhere in the background without an interface. Used to automate stuff. A browser in the terminal will have an interface, the terminal text interface. And you'll be reading the website, not take screenshots or scrape or test websites automatically.

[–] ivn@jlai.lu 2 points 2 days ago (1 children)

Do terminal browsers run javascript? Because headless browsers do and that's a big part of their usefulness.

[–] hellfire103@lemmy.ca 3 points 2 days ago

Depends.

  • Chawan has experimental JS support, if I remember correctly.
  • ELinks used to have a patch that enabled JS.
  • Browsh and Carbonyl support JS, but they're running headless Firefox and Chromium, respectively, under the hood.
[–] hellfire103@lemmy.ca 1 points 2 days ago

A terminal browser is something you use. A headless browser is something which either another program uses or which uses itself.

[–] chgxvjh@hexbear.net 1 points 2 days ago

A terminal browser shows you the website in the terminal. A headless browser doesn't.

[–] Cat_Daddy@hexbear.net 1 points 2 days ago (1 children)

I don't think it is. To me, that's like asking how a terminal text editor is different than a headless text editor. In both cases you'd be using the same application. So I'd assume for a browser that in both terminal and headless mode you'd use, for example, Lynx.

[–] TheracAriane@thebrainbin.org 1 points 2 days ago (1 children)

@Cat_Daddy@hexbear.net how is Lynx different from curl ??

Curl just spits out raw text. Lynx renders it.