No project description provided
Project description
nuber
Inspired by epy, nuber is an Epub terminal reader with inline images written with Rust and Python using Überzug.
Features
- Display images in terminal.
- Movement with vim keys
hjkl
. - Table of content navigation with
t
. - Bookmarks (
B
to view,b
to 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file nuber-1.0.1-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: nuber-1.0.1-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: PyPy, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd2e9c86359a13aa8a81c0ccb23b29750d69e706d02f95a52eed1d58261f10c4 |
|
MD5 | f85c7035cbca76863fdc93b7597561a3 |
|
BLAKE2b-256 | 94bba0cdfd8553c1a865883fd6235dd92f3a39fa4d30278e2d50ee4d994608fb |
File details
Details for the file nuber-1.0.1-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: nuber-1.0.1-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 2.0 MB
- Tags: PyPy, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff9f76257fe9e29679e36500e38002c44ef8b74677cd31adc8aa71d10c31548 |
|
MD5 | 3cb871aec99d68c46b03b22a64a15cda |
|
BLAKE2b-256 | 5de89ba56c13273e79faae417e22aa1a9cac2605ca1c73c982815f8a4325cfee |
File details
Details for the file nuber-1.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: nuber-1.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f24f18bab7c2093a288f1c12f0281566deae4bc7fc6bb3ccb47e64410b6118 |
|
MD5 | ce1d6ad566243932cb8b181807b9a1d2 |
|
BLAKE2b-256 | a9d90239a132bf6eb66ad5f01582971d0858c2d58862e4e4cde1ee033e8dea12 |
File details
Details for the file nuber-1.0.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: nuber-1.0.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cedda83a1a6767c097855ae79a5e1eb52a284ac9d25731aba2df66a26f9e6ae |
|
MD5 | d6ea5bc4d034fd117387035267248a00 |
|
BLAKE2b-256 | 2b1214060dcc40bbe36170d3c9e51aefbd7d88906932e81a7e0a3445afd3a199 |
File details
Details for the file nuber-1.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: nuber-1.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.9, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac613abf2aeaf8b419a4f3575889d751d7511f6fad05fd8456b26b0d2fda778b |
|
MD5 | 18d368e1cd089e2b475a485cefd237d2 |
|
BLAKE2b-256 | c20fefac3585aa4bbe0d74ded3c1fdc8e0592862388300fb00811916fc6abd4f |
File details
Details for the file nuber-1.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: nuber-1.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.9, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd523d3f2ca14e820c0dd51148c09f8a82ca5cfbf30a7d693ee7478527526d11 |
|
MD5 | cad326013f6133bfdf5c185eae4216b9 |
|
BLAKE2b-256 | 2e9fd83e4f6d0e750e55dbf94ff1aa597cc2d63b1c0c3e2d724120902fc41f7b |
File details
Details for the file nuber-1.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: nuber-1.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.8, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0db38fc971cf8f66b3eb24c7668d743f99c035983073d98a56706ee6c89d7de |
|
MD5 | afd3f6ea9834ab431ce46a35e7b257ad |
|
BLAKE2b-256 | ca34ce3ac2158d25f639c1f6ea081c26bb1864b1a4a28ca0f610f74ee9a0f62a |
File details
Details for the file nuber-1.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: nuber-1.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.8, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d9e8796a894904fa3e00fd4727fd121fd9c5493f27f150c47ee6c125da1255 |
|
MD5 | dbf464799ec2451f719de023b2d96738 |
|
BLAKE2b-256 | e9bd89989822a6f30f51aa3ced5d2c5d0a66e7c137888e95697621c86cf38c1d |
File details
Details for the file nuber-1.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: nuber-1.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.7m, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99515aca4d6ff4e209843f0942361c16b267d95115addb00bab7258cedc8185c |
|
MD5 | 5061ccabdfc6e6cf91b61824b6bc6a42 |
|
BLAKE2b-256 | d5aac1a8857d16c8dd58d18cfc9b63394fca83512a9e9d32f301e061c9cb6450 |
File details
Details for the file nuber-1.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: nuber-1.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.7m, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bc0f7c465fcd6c639a42a5aad57fd9a26bdb4a017b3e14962723cd7ef86f9c0 |
|
MD5 | 1b781c7f7c25d2922551e6dddd48dfc6 |
|
BLAKE2b-256 | 17ca30b51c5b14cc342b5f181c654d88177dba467fabc7f4567ba61bd8f11464 |
File details
Details for the file nuber-1.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: nuber-1.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.6m, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9ff7a1d5c4f2c9625d1fc2c506e33b67d9ffbfce6867e65da87f033e554f857 |
|
MD5 | 8c5af984a6b713010e1f8d43ea39a0a3 |
|
BLAKE2b-256 | bc21ee4d86f6c2af93020eb22615448e1d5b4155032fc0e76cd54b642ed7654f |
File details
Details for the file nuber-1.0.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: nuber-1.0.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.6m, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0950be69edd7e263246dce3ff5044b645dbc08a6e4df7a214ac53514e50d294 |
|
MD5 | a5458aab2baef4f8434538761030cdbe |
|
BLAKE2b-256 | b55be4c0f5b0ba6c558f6b6d33966c6dc7570ec71a118786c94d1a2e9da03105 |