this post was submitted on 08 Apr 2025
32 points (90.0% liked)

Linux

53416 readers
688 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] racketlauncher831@lemmy.ml 14 points 2 weeks ago

Do you just want to see the text content of a HTML file? - a text editor

Do you want most, if not all, HTML tags to be rendered as pretty graphical shapes?

Do you want the text have proper fonts?

Styles? You need something to parse CSS files.

What about dynamically generated content like ten smiley faces? You need a JavaScript engine.

Do you also want to see iframes? You need it to be capable of sending XHR requests.

What if it references to a piece of WebAssembly?

It's way more complicated than you anticipated.