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.

Demo

https://user-images.githubusercontent.com/18540571/171234596-08050407-6ee1-45b3-868b-e315de1e7190.mp4

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

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

Built Distributions

nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (2.5 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ i686

nuber-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

nuber-1.1.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.whl (2.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.12+ i686

nuber-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

nuber-1.1.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl (2.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ i686

nuber-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

nuber-1.1.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (2.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686

nuber-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

nuber-1.1.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (2.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

nuber-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

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

nuber-1.1.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (2.5 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

nuber-1.1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

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

nuber-1.1.1-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (2.5 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

File details

Details for the file nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3784d7552b8f13f55d0835366235f5ae0a6ba3664643a8342d86e7b9bdf1ffdd
MD5 d3b9fa335a0efc0321a6d6b5b2584ea2
BLAKE2b-256 9a36848db0b4a77701a20c03fbf52db0ec26901c76f6acbf762aa2ccb5f25351

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4313c5c506cba312fe0ccba7d2208c075923ba82b7f5fb0c994afbc87685f9c3
MD5 e209533626bf73644449c9bed8cc2e9e
BLAKE2b-256 08bd0b582b586680751144f187aea8279d5db301610d8d3889d9a5ac32967fc8

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 baa3cf37635eacc211eafd297d3b7b98ed3fd4d64a35eb838a9684d81af0f158
MD5 e790acbdc11aac4a7f59fbb1d6fb05b2
BLAKE2b-256 c783d081c60853d641e184e866273f1798d69ad8abfd542d40f0530088cc130a

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 d64cf8441a9b30b47578b812ac2d1e3bdb2569411675be5fecea008b44b364af
MD5 273c7eac48e6c3a54b1eb7144ab088c9
BLAKE2b-256 b4509f5e47bbee9fad150fb4ed15d9aa40b0850704ad683945060349e2d79808

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 531cd98fc6bdc56762bcb1d37bb25c6a5b9fe1bda099210522a7c379298977b0
MD5 6b2473d2a86519e2c7123d262c9c2987
BLAKE2b-256 7ef4d1ef1d5892819a38eecd1d9d2d72f35a5f50739280c3f962498b950a0cd2

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 aded92695f2f3b0841257952d7f22a99ab6980abad8fc8be350297845a2fb7e0
MD5 d7981a8c49d65330b5c7a5191eb97d6d
BLAKE2b-256 faa4381680a28b7f1d6489f47217a5cca6e4383e2a0352eccd82fae063a529b5

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1c55b22c59ed1bccf711656b605676c203f62a16f4d4e1035e42087029f631bf
MD5 49a8bb56707f2d93eaaf1107818f68cc
BLAKE2b-256 c39aadf725ca3b17888ff2ea222ed223f3476a0fc8743ee4e044fc6492fef9db

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 730c7d5780585765d4f0ea5fb58968cb648b93c208b15fdcd96d856554aef6e1
MD5 b79a9038a7e1aee011ab992a53d3ab4f
BLAKE2b-256 cacbdf130a389a8fb226a919ed30a8a52664db162b6089c375867f535bdf6b76

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fdd9c0d325bebf7f6fd8335f99f0cac4f7f4de158f04febb2095902ce01b050f
MD5 4d8a32d4e4735a27d018144e06e690d1
BLAKE2b-256 de8bfba05f91f591d62f2bd6e20378461bd528d44476b184eee46bdc6f659946

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9f9cf8c708f7d028d6be407149856a49ed4106961c56df614ec30d012bd31e64
MD5 e975496cc29a6d5cd32b26cbddce8f92
BLAKE2b-256 be3adee6472e02dae186077ca42f9e0cfd2b1cea302e847a9036041da6fe292d

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a2783191608f24c47361c4f3680d077028e40b16da40ccbdb4061c1984ae1d90
MD5 60cfbd2491fe430fe3eadc30f87552b8
BLAKE2b-256 862340a070f96ad270269f058c694f8c63cb116c50f8ebf6ce34aa5c36dac1ad

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 3bb969751eefd3b0fdc933cb5eeafde3229291bf9da33a98c753979fca0ebc92
MD5 8cfc51f6b765927ae19def49119b7478
BLAKE2b-256 79e5f26ca0227c56d0dbae924c5ff6b49801f0c4adfee57b74348a4f10a8399f

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5099c873b7688a9011586000b5fbfd752f47ae4a62d89f8fa61d775b7c8f3cf1
MD5 07426d7d91349e28b3eb0e0e207146fd
BLAKE2b-256 e11f44054d0eab5238128956d27b988aeab7fd14939cf76fbde7fa0345cbe379

See more details on using hashes here.

File details

Details for the file nuber-1.1.1-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for nuber-1.1.1-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 fbbf5530a1fe1e2439fe166bd83ced47f3134d8f8ac99353a85ef15ccd4084ec
MD5 f03fd4563f83cd126e3e294555cfa0c1
BLAKE2b-256 d8d3e1384a2542d8d4e2fc2e9c01004aaaf8643d000940581d9312c96d35eafe

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