GitHub - wustho/epr: CLI Epub Reader
source link: https://github.com/wustho/epr
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
$ epr.py
CLI Epub reader written in Python 3.7 with features:
- remember last read file (just run
epr.py
without any argument) - remember last reading state for each file (per file saved state written to
$HOME/.epr
) - adjustable text area width
- support EPUB3 (tested on some, still no media supports though)
- added secondary vim-like key bindings
NOTE for developers: Please no Pull Requests until probably July 2019, I already have something in mind for this proj that I'd like to work on it first and I feel bad closing PR without merging it. But I always appreciate the supports, from the deepest of my heart.
Inspired by: https://github.com/aerkalov/ebooklib & https://github.com/rupa/epub
Limitations
- saving state doesn't work with a file that has
[]
in its name, e.g.[EPUB]some_title.epub
. As workaround, just rename and remove[]
from its name. - doesn't support images
- doesn't support epub3
- minimum width: 22 cols
- resizing terminal will reset to beginning of current chapter
- saved state (reading position & width, but not reading chapter) will reset if current terminal size is incompatible with latest reading state
Dependencies
html2text
curses
Usage
To read an EPUBFILE:
$ epr.py EPUBFILE
To read last read epub:
$ epr.py
Key bindings:
Help : ?
Quit : q
Scroll down : ARROW DOWN j
Scroll up : ARROW UP k
Page down : PGDN J
Page up : PGUP K
Next chapter : ARROW RIGHT l
Prev chapter : ARROW LEFT h
Beginning of ch : HOME g
End of ch : END G
Shrink : -
Enlarge : =
TOC : t
Metadata : m
Recommend
-
4
纪念戈革——兼论对应原理、互补原理及 EPR 等 (中) 网站首页 往昔追忆 浮光掠影 科学园地 技术广角 笑傲江湖 翻译作品 站长微博 评论选录 欢 迎 访 问 卢 昌 海 个 人 主 页...
-
8
纪念戈革——兼论对应原理、互补原理及 EPR 等 (上) 网站首页 往昔追忆 浮光掠影 科学园地 技术广角 笑傲江湖 翻译作品 站长微博 评论选录 欢 迎 访 问 卢 昌 海 个 人 主 页...
-
5
纪念戈革——兼论对应原理、互补原理及 EPR 等 (下) 网站首页 往昔追忆 浮光掠影 科学园地 技术广角 笑傲江湖 翻译作品 站长微博 评论选录 欢 迎 访 问 卢 昌 海 个 人 主 页...
-
3
EPR注册倒计时!赶紧自查产品分类! ...
-
6
The Olkiluoto 3 EPR plant unit started up 21.12.2021 First criticalit...
-
32
Several cables capable of the latest extended power range (EPR) standard for 5 amps at 48 volts (240W) have recently been certified. Expect to see these cables along with power supplies and laptops come to market in Q3 2022. LuxShare...
-
1
RedefineEPUB readerProgressive web app, which meansCross-platformInstallableIntegrate with browser extensionsOpen...
-
1
有变化?!法国EPR又双叒新增类目了! ...
-
3
How To Send A PDF Or Any EPUB Ebook To Your Amazon Kindle Reader
-
6
注意!亚马逊“西班牙EPR”包装法将被代扣代缴斯通布里stonebridge20年财税行业经验,专注VAT注册申报、商标专利、公司注册及产品合规业务。1922023-10-17 09:18
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK