#ebook #terminal #epub #gui

app tbr

Terminal and GUI ebook reader

22 stable releases

2.4.1 Feb 29, 2024
2.3.8 Oct 1, 2023
2.3.6 Aug 22, 2023
2.2.0 May 31, 2023
1.2.3 Feb 28, 2022

#2 in #ebook

Download history 11/week @ 2024-02-15 12/week @ 2024-02-22 159/week @ 2024-02-29 14/week @ 2024-03-07 4/week @ 2024-03-14

199 downloads per month

GPL-2.0-only

550KB
13K SLoC

tbr(A terminal and gui ebook reader)

About

tbr is a simple e-book reader in terminal and gtk4(>4.10).By now, support txt, html, haodoo and epub. it can also render text as chinese tradition style(top to bottom and right to left).

Build

cargo build --release

Build without GUI support

cargo build --release --no-default-features

Configuration

Config files store in .config/tbr/tbr.toml. Themes configuration files store in ~/.config/ter/themes/. Files will auto generated if not exists.

Key binding for terminal

Function Key mappings
Next page space,page down
Previous page page up
Search '/'
Search Next 'n'
Search backward 'N'
Inner book dialog 'b'
History dialog 'h'
Select chapter 'c'
Select theme 't'
Show version 'v'
Next line down
Previous line up
Back prev position left
Forward to next position right
Goto start of chapter home
Goto end of chapter end
Goto line 'g'
Navigate to next link tab
Navigate to prev link shift + tab
Open link left click/enter on highlight
Next chapter ^D
Previous chapter ^B
Switch view mode han<=>xi ^X
Quit 'q'

License

GPLv2

Dependencies

~49–66MB
~1M SLoC