this post was submitted on 15 Dec 2023
58 points (98.3% liked)

Linux

48310 readers
645 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
 

My question is basically the title. I'm making my own Puppy Linux remaster and it already has a .PDF reader for it that is very small. I think it's called Evince? It has a native GTK UI and starts in a second, uses very little RAM and CPU. Now I need a .EPUB reader. I've seen a couple different .EPUB reader apps out there for different distros, and they all the .EPUB readers seem to fall into a couple categories:

  • humongous JS monstrosity that runs inside a web browser OR packages an entire chrome copy into it with a bloated dependency hell

  • something else that is humongous and has dependency hell but non secretly a massive web app inside a web browser under the hood.

So is there some third option that's small and light and easy to install like the normal .PDF reader? I'm just asking because I honestly didn't find one that fit the bill.

top 17 comments
sorted by: hot top controversial new old
[–] everett@lemmy.ml 18 points 11 months ago* (last edited 11 months ago) (1 children)

You're going to have a web browser installed, right? .epub files are just zips with HTML/images/CSS inside. Just find the HTML file with named "toc" and go from there.

[–] Pantherina@feddit.de 7 points 11 months ago

I.e. install a Browser extension that does this

[–] beerclue@lemmy.world 14 points 11 months ago (1 children)

As far as I know, MuPDF is not that heavy, and can view both PDFs and EPUBs (and others).

I personally use zathura, which is a very, very light weight document viewer, has vi style key bindings, and has plugins for viewing PDF, EPUB, CB, and others. Works pretty well in a keyboard centric desktop environment (I use Hyprland).

[–] muhyb@programming.dev 3 points 11 months ago

+1 for Zathura.

[–] ardent_abysm@lemm.ee 8 points 11 months ago

Assuming you have a Firefox derived browser installed, you could just add an EPUB extension to the browser.

[–] bbbhltz@beehaw.org 8 points 11 months ago (2 children)

MuPDF https://mupdf.com/ It does PDF and Epub and is pretty light.

epy https://github.com/wustho/epy is a cli Epub reader

[–] grey@discuss.tchncs.de 5 points 11 months ago

I didn't realize MuPDF did both! That might be what I need. Thank you.

[–] grey@discuss.tchncs.de 2 points 11 months ago (2 children)

Also, are you banned? I can only see your post in my inbox, but not on the thread.

[–] Vilian@lemmy.ca 8 points 11 months ago* (last edited 11 months ago) (1 children)

if he was banned you couldn't see him anywhere, probably federation being funcky, or your app not updating both at the same time

[–] bbbhltz@beehaw.org 7 points 11 months ago

Just checked the modlog. I don't appear to be banned. Funky Federation stuff.

[–] bbbhltz@beehaw.org 1 points 11 months ago

I have no idea how I would be banned, I'm not super active. How can I find out if I've been banned?

[–] HubertManne@kbin.social 3 points 11 months ago

puppy is really an underappreciated distro.

[–] LemonLord@endlesstalk.org 3 points 11 months ago

Take Emacs. Then you have everything. 😎

[–] mesamunefire@lemmy.world 2 points 11 months ago (1 children)

There's a couple of command lines e-reader apps you may want to try.

[–] Vilian@lemmy.ca 4 points 11 months ago
[–] jennraeross@lemmy.world 2 points 11 months ago

Epy reader is command line, so not very discoverable, but I freaking love it

[–] bismuthbob@sopuli.xyz 1 points 11 months ago

One option is to convert to txt for any text-only epubs that you have. There are a ton of lightweight options if you're willing to use format-shifted copies on your computer.