TUI file text readers/editors: ebook, txt...

TUI ebook reader textproc/py-epy-reader reads: epub, epub3, fb2, mobi, azw, azw3 and urls in reading only (not navigable) form. Extended epub format kepub must end in the epub suffix. Sometimes, these formats don't always work correctly, as sometimes running them will label them as having an improper structure. epy doesn't read acsm Adobe and pdf files. acsm is a proprietary format which won't work with any open source reader and it uses an extreme measure of drm: I've had a frustrating experience with acsm format in that past, that I've had to use it on a phone app, and the text layout was too small. A benefit of epub ebooks, is that the text aligns to the window, and that text size can be adjusted while aligning, unlike in PDF. Also, epub is an open standard: it was created by International Digital Publishing Forum (IDPF).

Use epy -h for help. For quick help while using epy, press ?. Further documentation isn't available in the FreeBSD install, however, it's at https://pypi.org/project/epy-reader/.

Default key settings: Use arrow keys for line up/down, and page back/forward. Tab or t can be used for the table of contents, press again or esc to close table. s is useful to show/hide % progress. +, - enlarges or shrinks text. Use / to search. Pressing o will open the image on the page in Firefox (would be nicer if it opened with graphics/pho or graphics/feh when using a terminal emulator on a desktop). To change defaults, edit ~/.config/epy/configuration.json. epy:
epy-pirates.gif

Literature in image is under CCO: (A General History of the Pirates).

pkg info textproc/py-epy-reader

More
Post about other command-line or curses readers. CLI editors can be mentioned.

Maybe TUI internet readers can be in another thread, like: feed readers, email readers, website based readers.
 
Last edited:
I usually read my ebooks(epub) with deskutils/foliate, there is also deskutils/fbreader which I am not a fan of, but textproc/py-epy-reader is nice and very capable.
I am glad you made this post because I never ever heard of it before.
That's a different experience to read books through a terminal but we already read man pages so why not?
Of course as CLI software it's super fast, and very easy to use, the dedicated page explains everything.
Color themes can be customized which is good.

Thank you for the discovery :)
 
Last edited:
While graphics/mupdf isn't on the command line, it's lightweight, and can read pdf, epub, CBZ (Comic Book Zip) and XPS (a type of XML) files. It's under AGPL. mupdf(1).

There's also: textproc/ebook-tools meant for the command line to read and convert formats. type einfo for a help disclaimer. There's no other documentation for this. Haven't gotten this to work. This port is MIT licensed.
 
Back
Top