Skip to content

About

UV Reader(纽扣)— 中文优先的独立桌面阅读器:EPUB / PDF / FB2 / MOBI / AZW3 / CBZ,划线批注、阅读笔记与可选 AI 伴读。

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

548 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UV Reader(纽扣)

UV Reader(纽扣)

简体中文 · English · 许可证 · 免责声明 · 问题反馈

UV Reader 是一个 中文优先的本地桌面阅读器(Electron),支持 EPUB、PDF、FB2/FBZ、MOBI/AZW/AZW3、CBZ 和单张图片(PNG/JPG/WebP/GIF/BMP),内置高亮、批注、阅读笔记和可选的 AI 助读。书籍、进度和笔记默认都在本机;日常阅读不需要账号,也不需要联网。

当前版本:0.7.83。Windows / macOS 安装包见 Releases。

来源:fork 自 Obsidian 插件 qiaomu-reader,现在作为独立桌面应用维护;Obsidian 插件形态不再作为主线。

原则:做好、做快、轻量、扩展(Do it well, do it fast, keep it lean, scale it.)

近期开发(2026-10 / 11)

以下改进已进入当前代码;正式安装包版本仍以 Releases 为准。

  • 书坊引擎内置 OCR:引擎 0.1.12 自带 RapidOCR + onnxruntime,安装引擎后扫描版 PDF 的文字层 / 可搜索 PDF 不再需要本机 Python 和 pdf_tool;应用会自动使用引擎里的 OCR。
  • 本地 MinerU 修复:会先验证 mineru-kit 能否真正启动;从旧电脑拷来的、指向已不存在 Python 的 venv 会被跳过/清理,不再让 AI 答题页或内容提取以退出码 103 失败。
  • 书坊修复:试译预览会把 EPUB 章节里的插图和 CSS 背景图内嵌到预览中,不再显示破图;AI 书名、封面和分章建议按书稿隔离,切换书稿不会串用上一本的建议;AI 清理结果会正常显示,应用过的建议不会再次弹出;试译进行中修改排版或换书会取消旧预览。
  • 印刷目录 → 可跳转导航:EPUB / AZW3 可以从书前印刷目录页提取条目并匹配正文,生成结果支持预览、应用和撤销。EPUB 可以直接另存一份带 EPUB 3 nav 和 NCX 的副本;AZW3 会通过 Calibre 转换成带导航的 AZW3 副本,原书保持不变,方便其它阅读器识别目录。
  • 答题页中心:「悦空间 → 答题页」集中查看答题页,显示题目数、来源、作答状态、得分和草稿;支持已作答 / 未作答筛选,点击直接作答。交卷后仍可继续使用 AI 伴学。
  • 单张图片阅读:PNG / JPG / WebP / GIF / BMP 可以直接作为一本书打开,整页显示,支持适配宽度、滚轮缩放和拖拽平移。
  • 双语 / 文白 / 简繁电子书:电子书制作新增「仅译文」、中英 / 英中段落级对照和文言文 → 现代中文的「文白对照」,可生成纯译文或原文 + 译文的上下 / 左右对照 EPUB;另支持简体 ↔ 繁体直接转换,不生成对照、不调用 AI。EPUB 的简繁转换和翻译都会保留原排版、目录、图片和换行,只转换或插入文字。翻译可先「试译开头」预览前两章,不写入书库;AI 翻译支持取消后继续,窄屏和部分阅读器会自动回退为上下布局。
  • AI 整理标签:书库「标签」下新增 AI 整理入口。先确认可用标签(可新增),再选择全部书库或当前筛选,一键让 AI 在标签范围内归类;默认只发送书名、作者、简介和已有标签,可选择读取开头片段提高准确度(会明确发送少量正文),也可只处理还没有自定义标签的书;每本一次请求,写入后可以撤销。自动结果可继续用原有标签编辑器手动调整。
  • 电子书目录与封面选项:目录标题留空时按书籍语言自动使用「目录 / Contents / Inhalt / 目錄」等,也可自定义;目录层级可选全部、前 2 级或 1 级。指定图片封面可选择完整显示或铺满页面。适用于按文本重建的书稿;直接翻译或简繁转换 EPUB 仍保留原目录和封面。
  • 书坊引擎更新检查:设置 → 书坊 → 书坊引擎新增「检查更新」,会显示已安装版本和最新引擎版本;运行中的引擎需要先停止,再更新到新版本。
  • 任务产物只导入一次:完成的书坊任务会记录已处理状态;生成的书删掉后,重启应用不会从旧任务历史重新导入。任务行可「忽略自动导入」,也可以「恢复自动导入」。
  • 标签管理:书库标签树下可集中管理标签;重命名会合并到同名标签,删除会从所有书移除,删除前需要二次确认。
  • 装载性能:书库改为按需读取文件元数据,并在同一轮渲染中复用文件清单;答题页列表只读取 manifest 前缀并缓存结果。大书库和大量答题页的打开、刷新明显更快。

功能总览 · 下载与安装 · 常见问题 · 从源码运行

功能总览

阅读

  • 格式:EPUB、PDF、FB2、FBZ、MOBI、AZW、AZW3、CBZ,以及 PNG/JPG/WebP/GIF/BMP 图片;支持系统文件关联,双击书籍直接打开。
  • 单图阅读:图片作为整页阅读,支持适配宽度、滚轮缩放和鼠标 / 触控拖拽平移。
  • 阅读模式:分页 / 滚动;单栏 / 双栏;鼠标滚轮、触控板、方向键、按钮和滑动翻页;页码跳转、章节跳转、阅读位置自动恢复。
  • 版面:适配页宽 / 页高、PDF 原始页面渲染与缩放、页间距、页边距、对齐方式;不同设备可以保存不同阅读设置。
  • 目录:PDF 大纲、书前印刷目录页、正文标题等多来源目录;层级导航、当前章节定位、目录搜索。EPUB / AZW3 可从印刷目录生成并应用可跳转导航,并另存带 nav / NCX 的导航副本;AZW3 导出需要 Calibre 可用。
  • 搜索:全书搜索、结果定位、命中高亮。
  • 外观:多套阅读主题、字体、字号、行距、段距、对齐和栏数设置;内置阅读字体,也支持导入字体。
  • PDF:原页渲染、文本层、可搜索 PDF;扫描页可以通过文字层 / OCR 变成可搜索、可划线的文本。
  • PDF 填表与签名:在当前阅读页填写 AcroForm 字段;可保存多张签名图片,签名时从缩略图列表选择。未签名保存会保留可继续填写的表单,并可选择覆盖原文件;签名后保存才会扁平化并锁定副本,且不能覆盖原文件。
  • 阅读统计:累计阅读时间、连续天数、每日目标、最近两周阅读图表。
  • 位置书签:保存 / 重命名 / 删除阅读位置。

高亮、批注和笔记

  • 选中文本后高亮、写批注、改颜色、复制、搜索、翻译或询问 AI。
  • 划线注音 / 划线翻译:选中中文显示拼音和释义,可把注音固定到原文;选中文本可直接翻译,翻译结果可复制或保存到阅读笔记。
  • 高亮可以带批注和位置书签;支持跨页/跨章节选择与定位。
  • 拼音提示、词义/生词辅助;选中文本可以直接查词。
  • 删除书籍时一并清理该书的高亮、注音、书签、草稿和会话等阅读痕迹;阅读笔记保留。
  • 每本书一篇 Markdown 阅读笔记:摘录按章节分组,带原文位置链接,点击可跳回书内。
  • 书籍笔记、自动追加摘录、AI 回复追加到笔记;也可以导出全部高亮。
  • 笔记和摘录使用普通 Markdown,便于外部编辑、搜索和备份。

书库

  • 本地导入 EPUB / PDF / MOBI / AZW3 / FB2 / CBZ 和 PNG/JPG/WebP/GIF/BMP 图片,支持拖拽、批量导入和文件关联。
  • 封面、书名、作者、语言、标签、简介等元数据编辑;可以选封面、自动取封面或生成模板封面。
  • 最近阅读、阅读进度、阅读中/未读状态、书库筛选和搜索。
  • AI 整理标签:在标签树下先确认标签范围,再对全部书库或当前筛选一键归类;默认只发送书名、作者、简介和已有标签,可选择开头片段、只处理未归类书籍;每本一次请求,可撤销上次结果。
  • 网络搜书:按书名检索可配置的第三方书源(如 Project Gutenberg、Standard Ebooks),查看可用版本并下载到书库;使用下载内容时请遵守来源授权和免责声明。
  • 所有书籍、进度、标注和笔记都保存在本地应用数据目录,不依赖云书库。
  • 制作完成的电子书自动入库;从阅读器返回书库会刷新列表,不再显示旧内容。

答题页

  • 答题页列表:「悦空间 → 答题页」集中查看生成的答题页,显示题目数、来源文件、作答状态、最近得分和草稿;支持全部 / 已作答 / 未作答筛选和直接打开。
  • 独立答题页:每份答题页是自包含 HTML,作答记录和草稿保存在本机;交卷后可以查看分数,并继续用 AI 伴学针对当前题或整卷提问。
  • AI 生成:从 PDF、图片等文档生成可交互答题页的流程在「书坊」;生成后可以直接在 UV Reader 打开。

书坊(Workshop)

书坊是阅读器内置的文档处理工作台,任务进入队列,可以取消、重试、打开产物。

文字层与可搜索 PDF

  • 把扫描 PDF 变成可搜索、可划线的 PDF。
  • 支持本地文字层写回阅读器,也可以导出 <源名>.uvtext.pdf。
  • 可选 OCR DPI、识别模式;处理过程有进度和失败页统计。

格式转换(DocVortex)

  • 输入:PDF、Office(DOC/DOCX/PPT/PPTX/XLS/XLSX/CSV/TSV/RTF)、ODF、HTML/MHTML、EPUB、OFD、Markdown、纯文本等。
  • 输出:Markdown、HTML、LaTeX、DOCX、PDF;另有 EPUB → Markdown、图片 → PDF 预设。
  • 内容提取生成的 HTML 会把 $…$ / $$…$$ 公式离线渲染成 MathML,直接打开即可阅读,不依赖 CDN。
  • 尽量保持内容与版式;Markdown / 纯文本会先渲染成 HTML 再交给 DocVortex。
  • 可选公式优先路径(MinerU)处理公式较多的 PDF。

内容提取

  • PDF / DOCX / 图片 / Office / ODF / OFD / HTML / EPUB / Markdown / 纯文本 → Markdown / HTML / 结构化 JSON / 图片资源。
  • 文本型 PDF 使用本地确定性提取:去页眉页脚、页码、水印,合并跨页段落和代码。
  • 扫描 PDF / 公式文档可走 MinerU;公式保留为 LaTeX / MathML。
  • 题库提取:生成 uvreader.question-bank/v1 JSON,作为答题页和外部工具的索引。
  • 提取结果可以在面板里预览 Markdown / HTML / JSON,并查看缺图、重复图、失败页等体检信息。

电子书制作

  • 从 PDF、Office、ODF、OFD、HTML、EPUB、txt、Markdown、图片制作 EPUB。
  • 「选择书稿」只列书库中的 EPUB / PDF / 图片;txt、Markdown、Office 等书库外文件用「打开本地文件…」选择。
  • 自动提取 / 分章,编辑章节标题、合并 / 拆分 / 排序,设置元数据、封面、目录和基础排版样式。目录标题可按书籍语言自动生成或自定义,目录层级可选 1 / 2 / 3 级;图片封面可完整显示或铺满页面。
  • EPUB 3 输出(nav + NCX),公式转 MathML,图片嵌入,生成后可直接在 UV Reader 打开。
  • 翻译与对照:支持中文 ↔ English、Deutsch → 中文以及文言文 → 现代中文的段落级翻译,可只输出译文,或生成原文 + 译文的上下 / 左右对照 EPUB。原文语言自动识别(中文 / English / Deutsch),目标语言可选择 English / 简体中文(外文原文)/ Deutsch,只有「是否文言文」需要手动勾选;可选「术语表」(每行 原文=译文)统一人名、地名和专名;可选「逐行对齐(诗歌 / 短句)」保证原文与译文行数对应;简繁转换使用「简繁转换(本机)」或旁边的「转为简体 / 转为繁体」快捷按钮,不调用 AI;翻译走 AI,可取消后继续,左右布局在窄屏自动回退为上下;EPUB 会保留原排版、目录和换行,只插入译文。可先「试译开头」预览前两章,完成后自动弹出预览,确认格式后再生成全书,试译不会写入书库。默认书名会自动加「(English)」「(中文)」「(中英对照)」「(中德对照)」「(文白对照)」「(简体)」「(繁體)」等后缀;翻译模式需要先在「设置 → AI 助读」配置模型,简繁转换只支持中文书稿且不需要 AI。EPUB 直接转换保留原书结构、目录、图片和换行,且不应用本次封面/排版设置;其它格式仍按文本重建。
  • 通过 Calibre 可继续转换为 AZW3 / MOBI;图片可以打包成 CBZ 或 EPUB。
  • 一次选择一本书制作;批量成书暂未提供。

答题页

  • AI 答题页:用提示词让 AI 从 Markdown 生成整页答题页,支持答案解析、导航配色、MathML 公式、代码格式化和圆圈数字占位符;生成后用本地后处理内联图片、校正公式/代码。格式转换默认生成 AI 答题页,并可在 UV Reader 内直接打开作答。
  • AI 伴学:交卷后可针对当前题或整卷继续提问;与普通阅读里的「AI 伴读」共用同一套 AI 设置。
  • AI 答题页需要先在「设置 → AI 助读」配置模型。

任务与外部组件

  • 统一的运行队列:进度、取消、重试、产物打开、失败信息。
  • 可选本地引擎:pdf_tool / MinerU / DocVortex / Calibre;设置页提供探测、路径配置、启动状态和引擎版本更新检查。
  • 外部工具缺失时只影响对应功能,不影响阅读和已有书籍。

AI(可选)

  • 支持 HTTP OpenAI 兼容服务(DeepSeek、Kimi、通义千问、智谱 GLM、OpenCode Go、OpenRouter、OpenAI、Gemini 等),也支持本地 OpenAI 兼容端点(Ollama、llama.cpp、LM Studio)。
  • AI 助读:选中文本解释、总结、追问、翻译,读取书籍上下文;可以自定义提示词和回复语言。
  • AI 伴读:AI 对话会记录提问时所在的书籍位置,点击位置标签即可回到书内;支持整页截图或框选截图提问,并结合当前书籍上下文继续追问。顶部只保留新建对话、本书历史对话和关闭;阅读笔记改在阅读器主工具栏打开,历史对话也只列出当前这本书的会话,避免把别的书的上下文带进来。
  • AI 书坊:推断元数据、生成封面文案、建议分章规则、按块做最小文本清理、在成书时生成中英 / 英中双语对照。
  • AI 书库整理:按用户确认的标签范围给书库批量打标签,可限定当前筛选、保留已有标签,并撤销上一次整理。
  • 文档工具:伴读侧栏的「文档工具」会在对话里带编号列出当前文档可做的操作,鼠标停留可看简短说明;选择后先确认参数,不会自动开始,也不再弹出单独的「我能对文档做什么」窗口。
  • AI 答题页:生成答案、解析和整页交互 HTML(实验功能)。
  • 不配置 AI 时,阅读、标注、笔记、转换、成书全部照常工作;AI 请求只���用户主动操作时发生。

其他

  • 界面支持 9 种语言。
  • 本地优先:无账号、无强制云同步;支持系统凭据存储保存 AI 密钥。
  • 阅读器核心与 Electron 壳解耦,90+ 个 host-agnostic 模块,便于测试和后续扩展。

下载与安装

  • 安装包:GitHub Releases。
  • Windows:UV-Reader-<版本>-setup.exe 安装版,或 UV-Reader-<版本>-portable.exe 免安装版。
  • macOS:按 Releases 页面提供的 UV-Reader-<版本>-<架构>.dmg 安装。
  • 首次启动不需要账号;AI、OCR 和文档转换组件都是可选的,不配置也能正常阅读和做笔记。

常见问题

不配置 AI 能用吗?

可以。阅读、划线、注音、翻译、笔记、书库和书坊的本地功能都不依赖 AI;AI 只在主动使用时发送请求。

AI 密钥和书籍内容会发到哪里?

密钥保存在系统凭据存储。云端 AI、Google 翻译和 MinerU 云端 OCR 只会在你主动使用对应功能时发送所需内容;本地模型端点不会离开本机。详见 数据与隐私。

OCR 或格式转换提示缺少组件怎么办?

pdf_tool、MinerU、DocVortex、Calibre 等是可选外部工具;在「设置 → 书坊」里配置或探测即可。缺少组件只影响对应工具,不影响阅读已有书籍。本地 MinerU 默认自动查找程序并直接走本机 CLI,不需要填写地址或端口;常驻服务是高级选项,点「启动服务」时会自动使用 http://127.0.0.1:8123。

网络搜书下载的内容可以直接使用吗?

不保证。请只从有权访问的来源下载,并遵守来源授权和当地法律;项目不托管第三方书源。详见免责声明。

阅读笔记在哪里?

每本书可以关联一篇普通 Markdown 阅读笔记,笔记和书籍数据默认保存在本机;可在设置中调整笔记文件夹。打开笔记面板后可点「编辑」直接写 Markdown,内容会自动保存;需要复杂排版或批量整理时,用「在文件中打开」交给系统默认 Markdown 工具。

「保存为独立笔记」和「追加到本书阅读笔记」有什么区别?

  • 保存为独立笔记:新建一篇 Markdown 笔记,可以改标题、文件夹和标签;本书阅读笔记里只留下指向它的链接。
  • 追加到本书阅读笔记:把内容直接写入本书已关联的那一篇阅读笔记,不新建文件。
  • 一本书可以有一篇关联阅读笔记,也可以有很多篇独立笔记;每条 AI 或手动记录都会带上时间、来源,以及「AI 回复 / 手动输入」标记。
  • 桌面版会识别阅读笔记里的 [[独立笔记]] 链接,点击后直接在右侧笔记面板打开,不依赖 Obsidian。

从源码运行

前置:Node.js 22 或更高版本。

npm ci
npm run desktop:install   # 安装 Electron;网络受限时可设置 ELECTRON_MIRROR
npm run desktop:build
npm run desktop:start

开发:

npm run desktop:dev       # watch 编译 + 启动应用
npm run desktop:smoke     # 启动冒烟测试,退出码 0/1
npm run desktop:e2e       # Playwright-Electron 端到端

构建与发布

npm run desktop:dist:dir       # 只生成安装目录 apps/desktop/release/win-unpacked
npm run desktop:dist           # Windows NSIS 安装包 + 便携版;macOS 生成 dmg
npm run desktop:smoke:packaged # 用打包产物做冒烟测试
npm run build:icon             # logo.jpg → 应用图标
npm run build:icons            # uvreader_icons.png → 各平台图标
  • 发行产物:apps/desktop/release/UV-Reader-<版本>-setup.exe、-portable.exe、macOS .dmg。
  • 发版:修改根 package.json 版本,提交后推送 v<版本> tag;.github/workflows/release.yml 会校验版本、跑测试、构建 Windows/macOS 并创建 GitHub Release。
  • 详细工具链:docs/workshop-implementation.md。

项目结构

apps/desktop/         Electron 壳:主进程、preload、渲染进程、构建脚本
  src/main/           阅读/书坊/引擎/AI 主进程服务
  src/preload/        受控 IPC 桥
  src/renderer/       阅读器、书库、书坊、设置界面
packages/reader/src/  阅读器核心:阅读引擎、标注、笔记、AI 适配等 90+ 模块
  main.js             薄入口,export { default } from "./wire.js"
  wire.js             依赖装配与宿主接线
  plugin.js           Obsidian 兼容适配器(仅保留兼容)
  settings-tab.js     设置页适配器
packages/host-shim/   Obsidian API 兼容层,仅由适配器使用
assets/starter-books/ 内置公版示例书
docs/                 设计、实现、实验和验收记录
scripts/              构建、检查、预览和转换工具

阅读器核心不依赖 Electron/Obsidian;AI 请求和文档工具由桌面主进程提供。独立答题页与阅读器内阅读界面分开,阅读器不再内置旧答题面板。

测试与检查

npm test              # reader-core 单元测试
npm run test:shim     # host-shim 兼容层测试
npm run test:desktop  # 桌面壳测试
npm run check:i18n    # 9 种语言的字典 / 占位符 / 链接一致性
npm run check:epub -- "path/to/book.epub"   # EPUB 结构检查
npx eslint packages/reader/src packages/host-shim apps/desktop/src apps/desktop/test apps/desktop/scripts apps/desktop/build.mjs tests scripts --max-warnings=0

CI 顺序:test → test:shim → test:desktop → check:i18n → eslint → desktop build → xvfb 下的 smoke。转换矩阵可用 npm run desktop:matrix 跑 DocVortex / 文本 PDF / MinerU / Calibre / CBZ 等真实链路。

数据与隐私

  • 书籍、封面、阅读进度、高亮、笔记和设置默认保存在本机应用数据目录;没有账号体系。
  • AI 只在主动使用时发送所选文本 / 书籍上下文;AI 标签整理默认只发送书名、作者、简介和已有标签;开启「读取开头片段」后会额外发送少量正文;本地模型端点不会离开本机。
  • 翻译使用 Google Translate 网络请求(可关闭);MinerU 云端模式会把扫描页发送到对应服务。
  • AI 密钥保存在系统凭据存储,不写进书籍或笔记文件。
  • 具体安全说明见 SECURITY.md。

许可证

GPL-3.0-only。第三方组件、字体和示例书声明见 NOTICE.md、fonts/README.md 和 licenses/。商业授权请联系项目作者。使用前请阅读免责声明。


English

UV Reader is a Chinese-first standalone desktop reader (Electron) for EPUB, PDF, FB2/FBZ, MOBI/AZW/AZW3, CBZ and standalone images (PNG/JPG/WebP/GIF/BMP). Reading, highlighting, notes, library management and optional AI assistance live in one local-first app; Obsidian is no longer required.

Principles: do it well, do it fast, keep it lean, scale it.

Features · Download · FAQ · Build

Status: 0.7.83; Windows and macOS installers are available on Releases. Read the Disclaimer before use.

Recent updates (Oct–Nov 2026)

These changes are in the current codebase; installers still follow the Releases page.

  • Workshop engine OCR: engine 0.1.12 bundles RapidOCR + onnxruntime, so scanned-PDF text layers and searchable PDFs no longer need a local Python/pdf_tool checkout; the app uses the engine automatically.
  • Local MinerU fix: the app now verifies that mineru-kit can actually start. A copied venv pointing at a missing Python is skipped/cleared instead of failing AI answer pages or extraction with exit code 103.
  • Workshop fixes: translation previews now embed chapter images and CSS background images instead of showing broken images; AI title, cover and chapter suggestions stay with the book that produced them, so switching books cannot reuse the previous book's suggestion; AI cleanup results now appear, applied suggestions stay dismissed, and changing layout or switching books cancels an in-flight preview.
  • Printed contents → navigation: EPUB and AZW3 can build clickable TOC entries from the book's printed contents page, with preview, apply and undo. EPUB can save a new copy with EPUB 3 nav and NCX; AZW3 is converted through Calibre into a new AZW3 copy with navigation. The original stays untouched.
  • Answer-page hub: Reading Space → Answer pages lists generated pages with question count, source, answered state, scores and drafts, with answered/unanswered filters and direct opening. The AI study companion remains available after submission.
  • Standalone images: PNG/JPG/WebP/GIF/BMP files open as a full-page reader with fit-width, wheel zoom and drag-to-pan.
  • Bilingual / literary-Chinese / script-conversion ebooks: ebook creation supports translation-only, paragraph-level Chinese↔English source/translation editions, German→Chinese editions, and classical-Chinese → modern-Chinese editions in stacked or side-by-side layouts; the source language is detected automatically (Chinese / English / German), the target language can be English / Simplified Chinese / German, an optional glossary (source=target per line) keeps names and terms consistent; an optional line-alignment mode keeps poetry and short lines one-to-one; literary Chinese is a manual checkbox. Chinese Simplified↔Traditional conversion replaces the text directly, with no pairs and no AI call (use the dedicated conversion action, not the translation target); for EPUB sources both conversion and translation keep the original layout, TOC, images and line breaks, with translations inserted in place. A two-chapter sample preview opens automatically when ready and can be checked before generating the full book; it never enters the library. Default titles get suffixes such as (English), (中文), (中英对照), (中德对照), (文白对照), (简体) or (繁體); AI translation is resumable and narrow readers fall back to stacked pairs.
  • AI library tagging: confirm the allowed tags (and add new ones) under the library's Tags section, then tag all books or only the current filter in one pass. By default only titles, authors, descriptions and existing tags are sent; an optional opening excerpt adds a little book text for accuracy, and an untagged-only option skips books that already have custom tags. One request per book; the batch can be undone and individual tags stay editable.
  • Ebook TOC and cover options: the TOC title defaults to the book language (Contents, Inhalt, 目錄, etc.) and can be overridden; TOC depth can keep all levels, two levels or one. Image covers can be contained or fill the page. These apply to rebuilt sources; direct EPUB translation and script conversion keep the original TOC and cover.
  • Workshop engine updates: Settings → Workshop → Workshop engine now has Check for updates, showing the installed and latest engine versions. Stop a running engine before updating it.
  • One-time task output adoption: completed workshop tasks remember what was already adopted. Deleting a generated book no longer lets an old task history re-import it after a restart. Each task row has Ignore automatic import and Restore automatic import actions.
  • Tag management: the library’s Tags section has a global manager; renaming merges into an existing tag, deleting removes the tag from every book, and deletes require a second confirmation.
  • Faster loading: the library reads file metadata on demand and reuses one inventory per render; the answer-page list reads only the manifest prefix and caches results.

Features

  • Reading: paged or scrolling mode, single/two columns, wheel/keyboard/swipe paging, page and chapter jumps, fit width/height, PDF original-page rendering and zoom, standalone PNG/JPG/WebP/GIF/BMP images with fit-width, wheel zoom and drag pan, multiple themes and fonts, per-device reading settings, location bookmarks, reading statistics and daily goals. Printed contents pages in EPUB/AZW3 can be turned into clickable navigation and saved as a portable copy with nav/NCX; AZW3 export requires Calibre.
  • Annotations and notes: multi-colour highlights, inline comments, cross-page selection, pinyin annotations pinned to the text, selection translation (copy it or save it to the reading note), word hints, AI explain/ask, bookmarks; one Markdown reading note per book with chapter-grouped excerpts and links back to the source; book notes and highlight export. Deleting a book also removes its highlights, pinyin pins, bookmarks, drafts and conversations; reading notes are kept.
  • Library: local import, covers and metadata editing, tags, recent books, progress, search and file associations; AI library tagging uses a confirmed tag vocabulary for all books or the current filter, can include a short opening excerpt, can skip books that already have custom tags, and can be undone; generated ebooks are added automatically, and returning to the library refreshes the list. Configurable online book search can query sources such as Project Gutenberg and Standard Ebooks, preview available versions and download them into the library; verify the source's rights before using downloaded content (see the Disclaimer).
  • Answer pages: a Reading Space list of standalone interactive HTML papers with question count, source, answered state, scores and drafts; open directly, filter by answered state, and continue with the AI study companion after submission.
  • Workshop: OCR/text layers for scanned PDFs; DocVortex format conversion (Office/ODF/PDF/EPUB/HTML/OFD/Markdown/text → Markdown/HTML/LaTeX/DOCX/PDF, EPUB → Markdown, images → PDF); content extraction to Markdown/HTML/JSON/assets (extracted HTML renders LaTeX as offline MathML); question-bank extraction; EPUB creation from PDF/Office/text/Markdown/images with chapters, metadata, covers and a configurable TOC title/depth (the source picker lists only library EPUB/PDF/image books; other formats use the local-file picker); translation-only, Chinese↔English, German→Chinese, or classical-Chinese→modern-Chinese editions with paragraph-level stacked or side-by-side source/translation blocks (AI model required), plus direct Simplified↔Traditional Chinese conversion without pairs or AI; EPUB sources keep their original layout and TOC for both translation and conversion, with a two-chapter preview before full translation; AZW3/MOBI via Calibre; image → CBZ/EPUB; AI answer-page generation with direct in-app answering.
  • AI (optional): OpenAI-compatible cloud providers or local endpoints (Ollama, llama.cpp, LM Studio); AI companion conversations remember the book location with a clickable chip back to the passage and support full-page or region screenshots; explanations, summaries, translation, custom prompts; AI metadata/cover copy/chapter suggestions/cleanup; AI library tagging within a confirmed tag vocabulary, with undo; bilingual ebook translation; document tools for ebook creation, translation, bilingual/side-by-side, literary-to-modern Chinese, and script conversion; AI answer-page generation. All local reading, annotation and conversion features work without AI.
  • Local-first: no account, no mandatory cloud library; keys use OS credential storage; network is used only for explicitly enabled AI, translation, or cloud OCR.

Download

Installers are available on GitHub Releases. Windows builds include UV-Reader-<version>-setup.exe and UV-Reader-<version>-portable.exe; macOS builds provide UV-Reader-<version>-<arch>.dmg. No account is required on first launch, and AI, OCR and document-conversion components are optional.

FAQ

Can I use it without AI?

Yes. Reading, highlights, pinyin, translation, notes, the library and local workshop tools work without AI; AI requests are sent only when you explicitly use an AI feature.

Where do AI keys and book content go?

Keys use OS credential storage. Cloud AI, Google Translate and MinerU cloud OCR send only the content needed for the action you invoke; local model endpoints stay on your machine. See Data and privacy below.

What if OCR or conversion reports a missing component?

pdf_tool, MinerU, DocVortex and Calibre are optional external tools. Configure or probe them in Workshop settings; a missing tool affects only that feature, not reading. Local MinerU discovers the executable and uses the local CLI by default, so no address or port is required. The resident service is an advanced option and uses http://127.0.0.1:8123 when started.

Are books found online free to use?

Not necessarily. Download only from sources you are entitled to use and follow their licenses and local law. The project does not host third-party book sources; see the Disclaimer.

Build

Requires Node.js 22+.

npm ci
npm run desktop:install
npm run desktop:build
npm run desktop:start

Tests: npm test, npm run test:shim, npm run test:desktop, npm run check:i18n, npm run check:epub -- "path/to/book.epub", and the ESLint command in the Chinese section.

Release: set the root package.json version, push a v<version> tag; the release workflow verifies the version, builds Windows/macOS installers and creates the GitHub Release.

Architecture: apps/desktop is the Electron shell; packages/reader/src contains the host-agnostic reader core (90+ modules); packages/host-shim is only used by the Obsidian compatibility adapters. The reader no longer embeds an answering panel; interactive answer pages are standalone HTML exports.

Data and privacy

  • Books, covers, reading progress, highlights, notes and settings live in the local app-data directory by default; there is no account system.
  • AI sends selected text or book context only when explicitly used; AI library tagging sends titles, authors, descriptions and existing tags by default; enabling the opening excerpt also sends a small amount of book text. Local model endpoints never leave the machine.
  • Translation uses Google Translate and requires network access (can be disabled); MinerU cloud mode uploads scanned pages to the configured service.
  • AI keys are stored in OS credential storage, not in books or notes. See SECURITY.md.

License

GNU GPL v3.0 only. See LICENSE, NOTICE.md and the Disclaimer.

About

UV Reader(纽扣)— 中文优先的独立桌面阅读器:EPUB / PDF / FB2 / MOBI / AZW3 / CBZ,划线批注、阅读笔记与可选 AI 伴读。

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages