db5b18ca3cbf0d90c903e19e347578f4de4ced71
* feature: add translation full content * feature: add translation full content * feature: add translation full content * feature: add translation full content * feature: add translation full content * feature:use chunk files replace chunk cache db * feature:use chunk files replace chunk cache db * feature:use chunk files replace chunk cache db * feature: add translation config navigation and refactor translation settings * feature: 体验优化 * feature: fixed error prompt * Fix Gson deserialization error for LLM translation classes under R8 obfuscation * Fix PMD error * feature: pre-translation * feature: pre-translation * 优化 * 优化 * 增加书籍详情页关联书籍推荐功能 * 修复关联书籍"更多"按钮URL模板变量未解析的问题 * 修复发现按钮部分不执行JS的问题 * 优化书籍详情封面长按逻辑 * 阅读界面自定义图标问题 * R8反混淆问题 * 主题保存时保存图片等资源 * 在首页、发现页等长按时,提供了一个查看简短书籍信息的界面与右上角书籍信息角标。现在书籍信息角标在封面设置中显示 * 现在可配置主页图标 * 主页模块配置被遮挡的问题 * 一些优化 * fix: address code review findings (null safety, error propagation, performance) - TranslateChapterUseCase: wrap execute() in try-catch to prevent task stuck in Translating state; propagate actual translation error instead of generic "Translation incomplete"; defensive null check on pairs - DictionaryRepositoryImpl: safe call on pairs for Gson null-bypass - LlmTranslateRepositoryImpl: safe calls on json.sentences and json.choices to prevent NPE from unexpected API responses - ContentChunker: normalize \r\n to \n before splitting paragraphs to handle Windows-formatted text files - BookInfoViewModel: parallelize related books loading with async/awaitAll - CoilBookCover: add finalPath as remember key to reset state on reuse - ThemeImportExport: fallback to filesDir when getExternalFilesDir is null --------- Co-authored-by: duanhl <duanhl7749@gmail.com>
Legado with MD3
📖 介绍
Legado with MD3 是基于开源项目 阅读 (Legado) 开发的 Material Design 3 风格重构版本。
本项目在对 UI 进行重绘的基础上,加入了多项分支独有功能,并正在逐步从传统 View 迁移至 Jetpack Compose 框架,目标是提供更加现代、流畅且一致的阅读体验。
Caution
注意事项: 由于使用 Monet 引擎重构了主题系统,官方版本的主题在此版本中不再可用。
Android 12 以下设备: 暂时无法使用自定义主题与动态取色功能。此限制将在 Jetpack Compose 迁移完成后得到解决(由于开发者精力有限,迁移过程将持续较长时间)。
✨ 分支特性
相比于官方版本,本项目具有以下独有特性:
- 全新主题: 全新 Material Design 3 设计界面,支持 预测性返回手势 与 共享元素动画。
- 阅读界面: 更加个性化的阅读界面与菜单配置。
- 阅读记录: 提供详尽的阅读记录,支持 时间轴 与 章节维度 统计。
- 体验增强: 更健全的 漫画阅读 、 有声书 与 发现 等界面体验。
- 书架布局: 更多的书架布局选择,针对 平板端 进行了专门的界面优化。
- 实用功能: 新增书籍备注、智能伴生分组(自动归类已读/未读),支持手柄上下翻页。
🛠️ 核心功能
- 多格式支持: 支持本地 TXT、EPUB 阅读,智能扫描本地文件。
- 高度自定义: 切换字体、背景、行距、段距、加粗、简繁转换等。
- 净化替换: 强力去除广告,替换正文内容。
- 翻页模式: 覆盖、仿真、滑动、滚动等多种模式随心切换。
- 完全开源: 无广告,持续迭代优化。
❤️ 致谢
感谢以下优秀开源项目提供的灵感与技术支持:
- gedoor/legado (这个项目最吊的老爹)
- Luoyacheng/legado (提供了更多的扩展功能)
- komikku-app/komikku (提供了界面灵感与一些 Compose 的优秀控件)
- FoedusProgramme/Gramophone (提供了界面灵感与 View 系统的封面取色方法)
- jordond/MaterialKolor (基于 Jetpack Compose 优秀的取色实现)
- Calvin-LL/Reorderable (基于 Jetpack Compose 优秀的拖动排序实现)
- 以及更多开源项目...
⚠️ 免责声明
项目内容不代表原作者立场,与原项目作者不存在任何隶属或授权关系。
Languages
Kotlin
88.6%
Java
7.2%
HTML
1.2%
CSS
1.1%
Vue
0.9%
Other
0.9%