Skip to content

Add plugin Serious Reading v1.0.0#288

Open
Taitres wants to merge 4 commits into
ZToolsCenter:mainfrom
Taitres:plugin/serious-reading
Open

Add plugin Serious Reading v1.0.0#288
Taitres wants to merge 4 commits into
ZToolsCenter:mainfrom
Taitres:plugin/serious-reading

Conversation

@Taitres

@Taitres Taitres commented Jul 3, 2026

Copy link
Copy Markdown

插件信息

  • 名称: Serious Reading
  • 插件ID: serious-reading
  • 版本: 1.0.0
  • 描述: 一款对待摸鱼阅读很严肃的阅读插件
  • 作者: N/A
  • 类型: 新增

本次变更

V1.0 发布

截图 / 演示

自检清单

  • plugin.json 的 name / title / version / description / author 字段均已检查
  • 已移除调试日志、未使用文件、敏感信息(.env、token、密钥等)
  • 本次 PR 的 diff 仅涉及 plugins/serious-reading/ 目录
  • 已在本地 ZTools 客户端实际加载并测试过此插件,主要功能正常
  • 同意以仓库声明的开源协议发布此插件

此 PR 由 ztools-plugin-cli 自动管理:每次 ztools publish 在分支上追加一个 commit,PR 链接保持不变。

- v0.1
- v0.2
- v1.0
- v1.0发布
- v1.0发布
- v1.0发布

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces 'Serious Reading', a stealth-focused local reading plugin for the ZTools platform supporting TXT, EPUB, and PDF formats. Key feedback from the review includes a critical security concern regarding the use of regular expressions for HTML sanitization in EPUB rendering, which is vulnerable to XSS. Additionally, the reviewer noted a limitation in the pagination algorithm with nested HTML elements, a performance bottleneck from redundant EPUB parsing, a bug in search offset location due to title gaps, potential reference errors when accessing the global ztools object, and inconsistent chapter title parsing between the main and reader preload scripts.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread plugins/serious-reading/src/shared/parser.ts
Comment thread plugins/serious-reading/src/reader/App.tsx Outdated
Comment thread plugins/serious-reading/src/main/App.tsx
Comment thread plugins/serious-reading/src/main/components/SearchDialog.tsx
Comment thread plugins/serious-reading/preload/main.js Outdated
Comment thread plugins/serious-reading/preload/reader.js Outdated
Taitres added 3 commits July 3, 2026 14:05
- v0.1
- v0.2
- v1.0
- v1.0发布
- v1.0发布
- v1.0发布
- v1.1: 改名为严肃阅读 + 修复 Code Review 6 项问题
- bump version to 1.1.0
- v0.1
- v0.2
- v1.0
- v1.0发布
- v1.0发布
- v1.0发布
- v1.1: 改名为严肃阅读 + 修复 Code Review 6 项问题
- bump version to 1.1.0
- fix: TXT 章节标题被吞,在正文前展示标题 heading
- v0.1
- v0.2
- v1.0
- v1.0发布
- v1.0发布
- v1.0发布
- v1.1: 改名为严肃阅读 + 修复 Code Review 6 项问题
- bump version to 1.1.0
- fix: TXT 章节标题被吞,在正文前展示标题 heading
- docs: README 改为用户使用角度撰写
- docs: 更新README
@lzx8589561 lzx8589561 marked this pull request as ready for review July 4, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant