nuber
Inspired by epy, nuber is an Epub terminal reader with inline images written with Rust and Python using Überzug.
Demo
Features
- Display images in terminal.
- Movement with vim keys
hjkl. - Table of content navigation with
t. - Bookmarks (
Bto view,bto add) - Dynamic window resize.
- Rememebers last position per book.
Installation
$ pip install nuber
Usage
$ nuber --help
Usage: nuber [OPTIONS] BOOK
Options:
-c, --config PATH
--help Show this message and exit.
Configuration
# nuber example config file
# there are three possible ways to add a new keybind:
# 1. <ascii letter> = <action>
# 2. KEY_<key> = <action>, see https://docs.python.org/3/library/curses.html#constants
# 3. integer = <action>, where the integer is the character recived from curses.getch()
# currently all <actions> are listed
# those are the default keybinds:
[reader_keybinds]
j = "scroll_down"
k = "scroll_up"
g = "top"
G = "bottom"
l = "next_chapter"
h = "previous_chapter"
t = "open_toc"
B = "open bookmarks"
b = "add_bookmark"
":" = "open_cmd"
q = "quit"
KEY_RESIZE = "resize"
[bookmarks_keybinds]
B = "close_view"
d = "delete_bookmark"
q = "quit"
j = "next"
k = "previous"
o = "select"
10 = "select" # return
13 = "select" # return
KEY_ENTER = "select"
KEY_RESIZE = "resize"
[toc_keybinds]
t = "close_view"
q = "quit"
j = "next"
k = "previous"
o = "select"
10 = "select" # return
13 = "select" # return
KEY_ENTER = "select"
KEY_RESIZE = "resize"
Contribute
Requirements: maturin, poetry
$ git clone https://github.com/mtshrmn/nuber.git --recursive && cd nuber
$ cd rust-html2text && git apply ../html2text.patch && cd ..
$ poetry install && poetry shell
$ maturin develop && exit
$ poetry run nuber
Metadata
Release files for nuber 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 34.6 MB
Release files / nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
3784d7552b8f13f55d0835366235f5ae0a6ba3664643a8342d86e7b9bdf1ffdd
|
|
BLAKE2b-256 checksum How to use checksums |
9a36848db0b4a77701a20c03fbf52db0ec26901c76f6acbf762aa2ccb5f25351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Linux glibc 2.12+ x86-32 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
4313c5c506cba312fe0ccba7d2208c075923ba82b7f5fb0c994afbc87685f9c3
|
|
BLAKE2b-256 checksum How to use checksums |
08bd0b582b586680751144f187aea8279d5db301610d8d3889d9a5ac32967fc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nuber-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
baa3cf37635eacc211eafd297d3b7b98ed3fd4d64a35eb838a9684d81af0f158
|
|
BLAKE2b-256 checksum How to use checksums |
c783d081c60853d641e184e866273f1798d69ad8abfd542d40f0530088cc130a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | nuber-1.1.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.11 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
d64cf8441a9b30b47578b812ac2d1e3bdb2569411675be5fecea008b44b364af
|
|
BLAKE2b-256 checksum How to use checksums |
b4509f5e47bbee9fad150fb4ed15d9aa40b0850704ad683945060349e2d79808
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nuber-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
531cd98fc6bdc56762bcb1d37bb25c6a5b9fe1bda099210522a7c379298977b0
|
|
BLAKE2b-256 checksum How to use checksums |
7ef4d1ef1d5892819a38eecd1d9d2d72f35a5f50739280c3f962498b950a0cd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | nuber-1.1.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.10 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
aded92695f2f3b0841257952d7f22a99ab6980abad8fc8be350297845a2fb7e0
|
|
BLAKE2b-256 checksum How to use checksums |
faa4381680a28b7f1d6489f47217a5cca6e4383e2a0352eccd82fae063a529b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nuber-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1c55b22c59ed1bccf711656b605676c203f62a16f4d4e1035e42087029f631bf
|
|
BLAKE2b-256 checksum How to use checksums |
c39aadf725ca3b17888ff2ea222ed223f3476a0fc8743ee4e044fc6492fef9db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | nuber-1.1.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
730c7d5780585765d4f0ea5fb58968cb648b93c208b15fdcd96d856554aef6e1
|
|
BLAKE2b-256 checksum How to use checksums |
cacbdf130a389a8fb226a919ed30a8a52664db162b6089c375867f535bdf6b76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nuber-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fdd9c0d325bebf7f6fd8335f99f0cac4f7f4de158f04febb2095902ce01b050f
|
|
BLAKE2b-256 checksum How to use checksums |
de8bfba05f91f591d62f2bd6e20378461bd528d44476b184eee46bdc6f659946
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | nuber-1.1.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
9f9cf8c708f7d028d6be407149856a49ed4106961c56df614ec30d012bd31e64
|
|
BLAKE2b-256 checksum How to use checksums |
be3adee6472e02dae186077ca42f9e0cfd2b1cea302e847a9036041da6fe292d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nuber-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a2783191608f24c47361c4f3680d077028e40b16da40ccbdb4061c1984ae1d90
|
|
BLAKE2b-256 checksum How to use checksums |
862340a070f96ad270269f058c694f8c63cb116c50f8ebf6ce34aa5c36dac1ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | nuber-1.1.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
3bb969751eefd3b0fdc933cb5eeafde3229291bf9da33a98c753979fca0ebc92
|
|
BLAKE2b-256 checksum How to use checksums |
79e5f26ca0227c56d0dbae924c5ff6b49801f0c4adfee57b74348a4f10a8399f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nuber-1.1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5099c873b7688a9011586000b5fbfd752f47ae4a62d89f8fa61d775b7c8f3cf1
|
|
BLAKE2b-256 checksum How to use checksums |
e11f44054d0eab5238128956d27b988aeab7fd14939cf76fbde7fa0345cbe379
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / nuber-1.1.1-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | nuber-1.1.1-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
fbbf5530a1fe1e2439fe166bd83ced47f3134d8f8ac99353a85ef15ccd4084ec
|
|
BLAKE2b-256 checksum How to use checksums |
d8d3e1384a2542d8d4e2fc2e9c01004aaaf8643d000940581d9312c96d35eafe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|