Skip to main content

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.

title

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

Requirements: maturin, pip

$ git clone https://github.com/mtshrmn/nuber.git --recursive && cd nuber
$ cd rust-html2text && git apply ../html2text.patch && cd ..
$ maturin build --release
$ pip install .

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

nuber-1.0.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB view details)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

nuber-1.0.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl (2.0 MB view details)

Uploaded PyPy manylinux: glibc 2.5+ i686

nuber-1.0.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

nuber-1.0.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ i686

nuber-1.0.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

nuber-1.0.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ i686

nuber-1.0.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

nuber-1.0.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ i686

nuber-1.0.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

nuber-1.0.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ i686

nuber-1.0.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

nuber-1.0.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.5+ i686

File details

Details for the file nuber-1.0.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 35cf8ed13d822ffa08dd28551c16c8ee7f4dbeee813c1558817783a7e3414379
MD5 c250ddab9d3a51bda6d89204686d113f
BLAKE2b-256 b190b3c1e833a8ff61b730de09bdf373141c5f63db7a64466723142af07d410c

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 6062144064da6cc0c71f74651d5217fed35adb3f0b4a9c174a5203b136965ad2
MD5 db6a8743329b57a6a897359140bc4931
BLAKE2b-256 4271101a3274f449ee2f1df0a7b6e7b56da840f8482253e79c3d453f424b808b

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8292c4f04a0af4cd3e0fd06aee839768b988beed75825de605bdac16ec5abf03
MD5 b09328d148054156bd5c429e9d00f989
BLAKE2b-256 dc9434f0ee5ddfca75d6a37ae94c7e7d566919dec01eed180ee9833c6b49ae83

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 edf69c6195f3acd69536e5a8315ae2dc7d79bbb6219fcb5ebccea518eb4d325b
MD5 f50ece23a8f1abdc87f35e6740bedc0a
BLAKE2b-256 3906a4dfea7ef79685969e7c01036f1d0b761b0b1aabb0909fbcfcd69665c5ae

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9b0d31e5ef42df1555ece1f74bdb8ad2cb72ee54340682e730c519d3bd8949ab
MD5 1f9aaeedd49da37adb30d43522c039ef
BLAKE2b-256 77089c173acd42b331c97ddc9f04d66379013adcd50cb96720ed2b413006ffc1

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 ebfb896c94e4a0e9fe0fb2904eda9dc94bd534baee11f69c285232a1ed5603ab
MD5 4cdf8fe25f1e0ae24adacf703b461c75
BLAKE2b-256 7cf79c1d95e608d25c41e7c0649f1ee1e6391f79fba8462799af662d275c7b5e

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 aae9c41141a95d9675ba13daa58ab13e071bd0d764b8c55ec42a72fcc8368957
MD5 79c155a2dab707e4a65dca77a632f501
BLAKE2b-256 5d89f3fff6cd2614c8ca21e14a5796f184a23ef8803cc7798f4b3ce8e2bf6b6a

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 50a9e940ad3f56218b5296e4cd97ef6a9267932c4b901f84a5565e22816df5b2
MD5 277d4ccb629bed2bf0ee938f8f0019ce
BLAKE2b-256 47e1624bd1e60b5220b9260e67f32a9305c7d49e2d9dee917d0274ae62972704

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fea43ed2285c0fd5ae49fe5f4c53efd595d18dfe947ca9f0c76e7d6a5f18337a
MD5 1b88592461a789028f34a90911453b82
BLAKE2b-256 ed6fe5e7eded1380b0a3c7daa745f6877e9ca5cb717b2b0d3b3156f071815eaf

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 9be9a143bc51a7af39ad3b7947557f0d399955b7e37710485909dc44f74864e9
MD5 e62e12a2f750d0e187829b4c87ef2223
BLAKE2b-256 789eaa14453b7c8c22ea8d637cadf8b8086e754f70b6f73b9cb4f60ec173ccec

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bc3b302e182bc3ced46a353cc0f1bd3ba56a2280c9a9e9f2310e54a3b964c3fa
MD5 f081247e95f7b4a4a2db3bb861d2e625
BLAKE2b-256 3f64dad535b85f323d167b337d1915a1a9842f0a171f5132e72175cdee1ee3f8

See more details on using hashes here.

File details

Details for the file nuber-1.0.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

  • Download URL: nuber-1.0.0-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/32.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

Hashes for nuber-1.0.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 06d38492b94b5638ea80cda922faa56d44bec02d3cf6a19622ab8143a0bb5989
MD5 745977f5d6885fe50fcc9f57983a0e4f
BLAKE2b-256 1f83d606bbb7acb4ce4f6b237b67bdf269f981143ef48b9df21022c7be09257d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page