I have wondered many times.

Of course I can always use a browser but it’s overkill.

The same goes for yad or zenity, they pull in webkit which is a full-fledged browser engine, and at least yad does not have an offline mode.

I just want to look at some local HTML (incl. images) & CSS styling.

  • mesa
    link
    fedilink
    English
    27 days ago

    Offpunk is cool and offline-ish. It’s a tui-browser.

  • @[email protected]
    link
    fedilink
    127 days ago

    Well if you want modern CSS3-support or even JS you have to go for a browser. You could try NetSurf which is a very small & fast but only supports CSS2. Or Dillo, which is even smaller & faster (but also more limited in terms of CSS support)

    • Those are great suggestions; I don’t use them only because neither is keyboard oriented, so I tend to vacillate between Luakit, Surf, vimb, and Nyxt (although the last still has serious hard-hanging issues and an obscene configuration).

      On this topic, I’d be interested in a terminal browser that tries harder on the layout front. w3m, links, links2, elinks - they all work, but none focus on layout and rendering even as much as terminal Markdown renderers such as glow and hike.

    • @[email protected]
      link
      fedilink
      English
      17 days ago

      +1 for Dillo. Yes, it’s limited, it’s largely abandoned for the past 10 years and you won’t run web apps on it. But it is indeed blazingly fast and very low on resources, like OP requested. I didn’t know NetSurt, thanks for that!