#epub #tui #ebook #reader #termion

app bibliofile

受DOS时代程序启发的TUI epub阅读器

1 个不稳定版本

0.1.0 2023年11月20日

#1069 in 文本处理

自定义许可协议GPL-3.0 许可协议

26KB
184 代码行

Bibliofile

受NCurses时代程序启发的基于TUI的电子书阅读器!

Bibliofile 是一个具有自动书签功能的简化版 epub 阅读器!

说明

  • 安装
  • 使用
  • 反馈

安装

目前,Bibliofile 还是一个正在进行中的项目。

由于它目前处于一个最小可用状态,我已经将它上传到了 crates.io,但如果你希望自行编译,请遵循以下指示

1

安装 Rust。有关如何操作的完整说明请参阅此处: https://rust-lang.net.cn/tools/install

安装 Rust 最简单的方法是使用以下命令

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

2

将仓库克隆到您选择的目录

git clone https://git.whoisthisjoker.com/daniel/bibliofile

3

切换到目录 bibliofile。编译程序。这最好使用 cargo 完成。

cargo build

可执行文件将在 target/debug 中。

请注意,在开发这个阶段,编译成功并不保证。

运行

运行程序很简单,因为在这个阶段没有太多功能。只需运行

bibliofile[booknamehere.epub]

每一页底部都会有按钮,允许你翻页。只需按“上一页”或“下一页”即可翻页。目前还没有翻页的键盘命令,但这是我打算实现的下一个功能。

免责声明

此程序不完整。它将缺少搜索文本、跳过页面和使用目录等特性。我会定期更新此程序,请继续关注!

许可协议

Bibliofile: A TUI epub reader inspired by DOS-era programs

Copyright (C) 2023  Daniel Redd joes
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

依赖项

~13–21MB
~258K SLoC