T.v.Dein b50c6acff0 fix XML parsing (#2)
- Use antchfx/xmlquery for easier XML parsing. No more regexp wrangling and the result is much more reliable over a variety of ebooks. Much good.
- fix chapter selection, look for `<?xml[...]` which is much more reliable
- add option `-x` to dump the XML ebook source for debugging
2025-10-16 18:57:05 +02:00
2025-10-16 18:57:05 +02:00
2025-10-16 18:57:05 +02:00
2025-10-16 18:57:05 +02:00
2025-10-15 21:49:56 +02:00
2025-10-15 14:36:43 +02:00
2025-10-16 13:03:42 +02:00
2025-10-16 18:57:05 +02:00
2025-10-16 18:57:05 +02:00
2025-10-15 00:53:30 +02:00
2025-10-15 00:54:19 +02:00
2025-10-15 21:45:09 +02:00
2025-10-15 21:45:09 +02:00
2025-10-16 12:50:37 +02:00

epuppy - terminal epub reader

This is a little TUI epub ebook reader. This is a work in progress and may not work for all EPUB files yet. It uses a modified version of the epub module, which seems to be unmaintained but the best I could find to parse EPUBs. Find it in the pkg/epub/ directory.

The idea behind this tool is to be able to just take a look into some epub file without the need to leave the shell. And it had to be fast enough to just peak into an ebook. However, it is possible to actually read epub ebooks with epuppy but I'd encourage you to buy a hardware ebook reader with an e-ink display. It's better for your eyes in the long run.

Screenshots

  • Viewing an ebook in dark mode Screenshot

  • Viewing an ebook in light mode Screenshot

  • You can interactively adjust text width Screenshot

  • Showing the help Screenshot

Installation

The tool does not have any dependencies. Just download the binary for your platform from the releases page and you're good to go.

Installation using a pre-compiled binary

Go to the latest release page and look for your OS and platform. There are two options to install the binary:

Directly download the binary for your platform, e.g. epuppy-linux-amd64-0.0.2, rename it to epuppy (or whatever you like more!) and put it into your bin dir (e.g. $HOME/bin or as root to /usr/local/bin).

Be sure to verify the signature of the binary file. For this also download the matching epuppy-linux-amd64-0.0.2.sha256 file and:

cat epuppy-linux-amd64-0.0.2.sha25 && sha256sum epuppy-linux-amd64-0.0.2

You should see the same SHA256 hash.

You may also download a binary tarball for your platform, e.g. epuppy-linux-amd64-0.0.2.tar.gz, unpack and install it. GNU Make is required for this:

tar xvfz epuppy-linux-amd64-0.0.2.tar.gz
cd epuppy-linux-amd64-0.0.2
sudo make install

Installation from source

Check out the repository and execute go build, then copy the compiled binary to your $PATH.

Or, if you have GNU Make installed, just execute:

make
sudo make install

Report bugs

Please open an issue. Thanks!

License

This work is licensed under the terms of the General Public Licens version 3.

Author

Copyleft (c) 2024 Thomas von Dein

Description
No description provided
Readme GPL-3.0 16 MiB
Languages
Go 93.7%
Makefile 6.3%