Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

docs: add new issue and pull request templates and contribution guidelines (#2432)

十三37f28da69994
diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml
new file mode 100644
index 00000000..3d5b99cc
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/1-bug.yml
@@ -0,0 +1,107 @@
+name: Bug 反馈
+description: 提交一个问题反馈。
+title: '[BUG]: '
+labels: ['bug']
+body:
+ - type: markdown
+ attributes:
+ value: |
+ 请填写以下内容,以方便我们进行问题定位和修复。
+ 填写前,请先查看 [Issues 列表](https://github.com/Predidit/Kazumi/issues) 查看是否已经有和你主题重复的 Issue。重复 Issue 会被关闭。
+ 如果你的 Kazumi 版本不为最新版,请先更新再重试查看问题是否仍然存在。旧版本的 Issue 可能不会被处理,因为新版可能已经修复了问题。
+
+ - type: textarea
+ id: description
+ attributes:
+ label: 描述
+ description: 简要描述发生了什么问题,你的预期行为是什么。
+ validations:
+ required: true
+
+ - type: input
+ id: version
+ attributes:
+ label: Kazumi 版本
+ description: '你所使用的 Kazumi 版本。版本号可以在 我的-设置-关于 页面底部找到。'
+ validations:
+ required: true
+
+ - type: dropdown
+ id: platform
+ attributes:
+ label: 你所使用的平台
+ options:
+ - macOS
+ - Android
+ - Windows
+ - Linux
+ - iOS
+ validations:
+ required: true
+
+ - type: input
+ id: os-version
+ attributes:
+ label: 系统版本
+ description: '所使用的系统版本,例如 “Windows 11 25H2”, “Android 15”, “iOS 26.5”'
+ validations:
+ required: true
+
+ - type: textarea
+ id: hardware
+ attributes:
+ label: 硬件信息
+ description: 如果你使用独立显卡或核显,请提供显卡、 CPU 型号、显卡驱动版本等信息。手机设备无需提供。例如 “NVIDIA RTX 2070 Super 驱动版本 610.47”, “Apple M4”, “AMD RX 6500 XT”
+ validations:
+ required: false
+
+ - type: textarea
+ id: steps
+ attributes:
+ label: 复现步骤
+ description: 简要说明这个问题是如何复现的。
+ placeholder: |
+ 第一步...
+ 第二步...
+ 第三步...
+ 最后错误出现:...
+ validations:
+ required: true
+
+ - type: textarea
+ id: logs
+ attributes:
+ label: 日志信息
+ description: |
+ 请进入 我的-设置-关于 页面,找到错误日志,复制并粘贴在上方。
+ 如果日志过多,可以放在文本文档中以压缩包形式发送。
+ value: |
+ <details open><summary>Log</summary>
+
+ ```shell
+ [在此处粘贴你的日志]
+ ```
+
+ </details>
+ validations:
+ required: true
+
+ - type: textarea
+ id: screenshots
+ attributes:
+ label: 截图
+ description: 如果可以,请附上出现错误时的截图。
+ validations:
+ required: false
+
+ - type: checkboxes
+ id: validations
+ attributes:
+ label: 提交前确认
+ options:
+ - label: 我已经查看了 [Issues 列表](https://github.com/Predidit/Kazumi/issues) ,没有发现重复问题。
+ required: true
+ - label: 我已经提交了日志信息,并说明了问题和复现步骤。
+ required: true
+ - label: 我正在使用最新版本的 Kazumi 应用,问题没有被修复。
+ required: true
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/2-feature.yml b/.github/ISSUE_TEMPLATE/2-feature.yml
new file mode 100644
index 00000000..e9b0e48c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/2-feature.yml
@@ -0,0 +1,47 @@
+name: 期待新功能
+description: 希望 Kazumi 能添加一个新功能。
+title: '[feat]: '
+labels: ['enhancement']
+body:
+ - type: markdown
+ attributes:
+ value: |
+ 请填写以下内容,以方便我们讨论该功能的用途。
+ 填写前,请先查看 [Issues 列表](https://github.com/Predidit/Kazumi/issues) 查看是否已经有和你主题重复的 Issue。重复 Issue 会被关闭。
+ 如果你的 Kazumi 版本不为最新版,请先更新再查看该功能是否已被添加。旧版本的 Issue 可能不会被处理,因为新版可能已经添加了功能。
+
+ - type: textarea
+ id: reason
+ attributes:
+ label: 提出原因
+ description: 为什么你想添加一个新功能?现在的哪个功能你不满意,还是这个功能目前并不存在?
+ validations:
+ required: true
+
+ - type: textarea
+ id: idea
+ attributes:
+ label: 你的想法
+ description: 你需要什么样的新功能?它有什么作用?它应该是如何工作的?
+ validations:
+ required: true
+
+ - type: textarea
+ id: solution
+ attributes:
+ label: 可供参考的内容
+ description: |
+ 有没有某个应用已经实现了你想要的功能?那看起来是什么样的?
+ 提供截图可以更好地展示功能。
+
+ - type: checkboxes
+ id: validations
+ attributes:
+ label: 提交前确认
+ options:
+ - label: 我已经查看了 [Issues 列表](https://github.com/Predidit/Kazumi/issues) ,没有发现重复问题。
+ required: true
+ - label: 我知道一个新功能需要进行讨论并考虑是否添加,并不是一定会被接受。
+ required: true
+ - label: 我正在使用最新版本的 Kazumi 应用,功能还没有添加。
+ required: true
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/3-other.yml b/.github/ISSUE_TEMPLATE/3-other.yml
new file mode 100644
index 00000000..de69457a
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/3-other.yml
@@ -0,0 +1,27 @@
+name: 我有其它内容
+description: 上面的模板我都用不到!
+body:
+ - type: markdown
+ attributes:
+ value: |
+ 请填写以下内容,以方便我们了解你的目的。
+ 填写前,请先查看 [Issues 列表](https://github.com/Predidit/Kazumi/issues) 查看是否已经有和你主题重复的 Issue。重复 Issue 会被关闭。
+ 如果你的 Kazumi 版本不为最新版,请先更新。旧版本的 Issue 可能不会被处理,因为新版可能已经解决了你的一些目的。
+
+ - type: textarea
+ id: content
+ attributes:
+ label: 填写内容
+ description: 你想说些什么呢?
+ validations:
+ required: true
+
+ - type: checkboxes
+ id: validations
+ attributes:
+ label: 提交前确认
+ options:
+ - label: 我已经查看了 [Issues 列表](https://github.com/Predidit/Kazumi/issues) ,没有发现重复问题。
+ required: true
+ - label: 我正在使用最新版本的 Kazumi 应用,我还是需要这个 Issue。
+ required: true
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
deleted file mode 100644
index 8ea97b65..00000000
--- a/.github/ISSUE_TEMPLATE/bug.yml
+++ /dev/null
@@ -1,65 +0,0 @@
-name: Bug 反馈
-description: 提交一个 Bug 反馈。
-title: "[Bug]: "
-labels: ["bug"]
-body:
- - type: markdown
- attributes:
- value: |
- 请详细填写以下内容~
- - type: textarea
- id: buginfo
- attributes:
- label: 在使用的时候发生了什么 Bug ?
- description: 并且,还请写出您是如何触发这个 Bug 的。
- validations:
- required: true
- - type: dropdown
- id: os
- attributes:
- label: 您在使用哪个操作系统?
- multiple: false
- options:
- - Android
- - Windows
- - macOS / iOS
- - Linux
- validations:
- required: true
- - type: textarea
- id: osver
- attributes:
- label: 请具体提供设备、版本号等信息。
- description: 例如,“Redmi K40S,Android 13”、“Windows 10 22H2” 等。
- validations:
- required: true
- - type: textarea
- id: hardware
- attributes:
- label: (选填)一些与 Bug 相关的硬件信息。
- description: (选填)例如,有视频播放问题,可以填写“显卡型号”、“显卡驱动版本”等。
- - type: textarea
- id: logs
- attributes:
- label: 日志信息
- description: 请在 “我的 - 关于 - 错误日志” 界面复制错误日志,并粘贴在这里。
- value: |
- <details open><summary>Log</summary>
-
- ```shell
- [在此处粘贴你的日志]
- ```
-
- </details>
- validations:
- required: true
- - type: checkboxes
- id: terms
- attributes:
- label: 提交前确认
- description: 在提交前,请确认以下内容
- options:
- - label: issue 列表中,没有我发现的这个 Bug
- required: true
- - label: 我正在使用最新版本的 Kazumi
- required: true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 00000000..5f118464
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+ - name: Telegram 群组
+ url: https://t.me/kazumi_app
+ about: 如果你需要讨论和帮助,也可以加入 Telegram 群组。
diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml
deleted file mode 100644
index 52ee69f3..00000000
--- a/.github/ISSUE_TEMPLATE/other.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: 其他 issue
-description: 新功能需求、问题询问等
-body:
- - type: markdown
- attributes:
- value: |
- 请详细填写以下内容~
- - type: textarea
- id: buginfo
- attributes:
- label: issue 内容
- description: 请填写您的 issue 内容。要添加附件,请点击输入框后,直接将附件拖进输入框。
- validations:
- required: true
- - type: checkboxes
- id: terms
- attributes:
- label: 提交前确认
- description: 在提交前,请确认以下内容
- options:
- - label: issue 列表中,没有我的新功能需求 / 问题
- required: true
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 00000000..8c9de5b5
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,44 @@
+<!--
+提交 PR 前,请确认您已经阅读 [贡献指引](static/doc/CONTRIBUTING.md)。不符合的 PR 可能会被延迟处理或直接关闭。
+请勿随意删除此模板的任何部分。
+-->
+
+## 描述
+
+<!-- 这个 PR 都做了什么工作?解决了什么问题?或是开发了什么新功能? -->
+
+## 关联的 Issues
+
+<!-- 这个 PR 和哪些 Issues 关联?例如 #123, #87, #314 -->
+
+## PR 类型
+
+<!-- 这个 PR 属于什么类型的改动? -->
+
+- [ ] Bug 修复
+- [ ] 添加新功能
+- [ ] 重构实现
+- [ ] 文档或格式
+- [ ] 其它
+
+## AI 辅助开发
+
+<!-- 这个 PR 的工作是否用到了 AI 辅助? -->
+
+- [ ] 没有使用 AI 辅助
+- [ ] AI 辅助开发了部分功能,但是我已检查并理解 AI 所写的代码
+- [ ] 基本上都由 AI 实现,但是我非常了解 AI 的代码与写完的产物
+
+AI 辅助模型:
+
+<!-- 请按照要求,填写完整的 AI 模型名称,如 “Claude Fable 5”,“Kimi-K3” -->
+
+## 提交前检查
+
+- [ ] 我已经填写了 PR 模板中的所有内容
+- [ ] 我已经阅读了 [贡献指引](static/doc/CONTRIBUTING.md) ,并遵守指引进行开发
+- [ ] 这个 PR 的功能已经经过我的测试,并且我完全理解我(或 AI)做出的改动
+
+## 附注
+
+<!-- 简要写下一些附注。注意如果是对 PR 工作的描述,应该写在开头的 “描述” 一栏中 -->
\ No newline at end of file
diff --git a/README.md b/README.md
index 114a7f9b..08c5cead 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,19 @@
<div align=center>
- <h1>Kazumi</h1>
+<h1>Kazumi</h1>
- <img src="assets/images/logo/logo_rounded.png" width=200></img>
+<img src="assets/images/logo/logo_rounded.png" width=200></img>
- <a href="https://t.me/kazumi_app"><img src="https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white"></img></a>
+<a href="https://t.me/kazumi_app"><img src="https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white"></img></a>
- <img src="https://img.shields.io/badge/Flutter-03A9F4?style=for-the-badge&logo=flutter&logoColor=white"></img>
- <img src="https://img.shields.io/badge/Dart-00B4AB?style=for-the-badge&logo=Dart&logoColor=white"></img>
-
- <a href="https://trendshift.io/repositories/11432"><img src="https://trendshift.io/api/badge/trendshift/repositories/11432/yearly?language=Dart"></img></a>
- <a href="https://hellogithub.com/repository/Predidit/Kazumi" target="_blank"><img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=68d824ea55ee4b07aba6fe1dd61ac939&claim_uid=J9Qu6aDd8LT1nU0"/></img></a>
-
- <p>使用 Flutter 开发的基于自定义规则的番剧采集与在线观看程序。使用最多五行基于 <code>Xpath</code> 语法的选择器构建自己的规则。支持规则导入与规则分享。支持基于 <code>Anime4K</code> 的实时超分辨率。绝赞开发中 (~ ̄▽ ̄)~</p>
-</div>
+<img src="https://img.shields.io/badge/Flutter-03A9F4?style=for-the-badge&logo=flutter&logoColor=white"></img>
+<img src="https://img.shields.io/badge/Dart-00B4AB?style=for-the-badge&logo=Dart&logoColor=white"></img>
+<a href="https://trendshift.io/repositories/11432"><img src="https://trendshift.io/api/badge/trendshift/repositories/11432/yearly?language=Dart"></img></a>
+<a href="https://hellogithub.com/repository/Predidit/Kazumi" target="_blank"><img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=68d824ea55ee4b07aba6fe1dd61ac939&claim_uid=J9Qu6aDd8LT1nU0"/></img></a>
+<p>使用 Flutter 开发的基于自定义规则的番剧采集与在线观看程序。使用最多五行基于 <code>Xpath</code> 语法的选择器构建自己的规则。支持规则导入与规则分享。支持基于 <code>Anime4K</code> 的实时超分辨率。绝赞开发中 (~ ̄▽ ̄)~</p>
+</div>
## 支持平台
@@ -26,7 +24,7 @@
- iOS 13 及以上 (需要 [侧载](https://kazumi.app/docs/misc/how-to-install-in-ios))
- HarmonyOS 5.0 及以上 (位于 [分支仓库](https://github.com/ErBWs/Kazumi/releases/latest),需要 [侧载](https://kazumi.app/docs/misc/how-to-install-in-ohos))
-## 屏幕截图
+## 屏幕截图
<table>
<tr>
@@ -43,31 +41,31 @@
## 功能 / 开发计划
-- [x] 规则编辑器
-- [x] 番剧目录
-- [x] 番剧搜索
-- [x] 番剧时间表
-- [x] 番剧字幕
-- [x] 分集播放
-- [x] 视频播放器
-- [x] 多视频源支持
-- [x] 规则分享
-- [x] 硬件加速
-- [x] 高刷适配
-- [x] 追番列表
-- [x] 番剧弹幕
-- [x] 在线更新
-- [x] 历史记录
-- [x] 倍速播放
-- [x] 配色方案
-- [x] 跨设备同步
-- [x] 无线投屏 (DLNA)
-- [x] 外部播放器播放
-- [x] 超分辨率
-- [x] 一起看
-- [x] 番剧下载
-- [ ] 番剧更新提醒
-- [ ] 还有更多 (/・ω・\)
+- [X] 规则编辑器
+- [X] 番剧目录
+- [X] 番剧搜索
+- [X] 番剧时间表
+- [X] 番剧字幕
+- [X] 分集播放
+- [X] 视频播放器
+- [X] 多视频源支持
+- [X] 规则分享
+- [X] 硬件加速
+- [X] 高刷适配
+- [X] 追番列表
+- [X] 番剧弹幕
+- [X] 在线更新
+- [X] 历史记录
+- [X] 倍速播放
+- [X] 配色方案
+- [X] 跨设备同步
+- [X] 无线投屏 (DLNA)
+- [X] 外部播放器播放
+- [X] 超分辨率
+- [X] 一起看
+- [X] 番剧下载
+- [ ] 番剧更新提醒
+- [ ] 还有更多 (/・ω・\)
## 下载
@@ -160,6 +158,10 @@ A: 本项目编译需要良好的网络环境, 除了由 Google 托管的 Flutte
</details>
+## 开发
+
+欢迎您提交 PR!在开始之前, 请阅读 [贡献指引](static/doc/CONTRIBUTING.md) 以了解我们对 PR 和 AI 参与辅助开发的规定。
+
## 美术资源
本项目图标来自 [Yuquanaaa](https://www.pixiv.net/users/66219277) 发表在 [Pixiv](https://www.pixiv.net/artworks/116666979) 上的作品。
@@ -179,15 +181,17 @@ A: 本项目编译需要良好的网络环境, 除了由 Google 托管的 Flutte
我们不收集任何用户数据, 不使用任何遥测组件。
## 代码签名策略
+
提交者: [贡献者](https://github.com/Predidit/Kazumi/graphs/contributors)
审阅者: [所有者](https://github.com/Predidit)
## 赞助
-| ![signpath](https://signpath.org/assets/favicon-50x50.png) | Free code signing on Windows provided by [SignPath.io](https://about.signpath.io/), certficate by [SignPath Foundation](https://signpath.org/) |
-|------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
-| <img src="https://kilo.ai/favicon/favicon.svg" width="50"> | **Automatic PR review provided by [Kilo Code](https://kilo.ai/), sponsored by the [Kilo OSS Program](https://kilo.ai/oss)** |
-| <a href="https://m.do.co/c/0062035db3e4"><img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_icon_blue.svg" width="50" height="50"></a> | **Cloud infrastructure is supported by [DigitalOcean](https://m.do.co/c/0062035db3e4)** |
+
+| ![signpath](https://signpath.org/assets/favicon-50x50.png) | Free code signing on Windows provided by[SignPath.io](https://about.signpath.io/), certficate by [SignPath Foundation](https://signpath.org/) |
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
+| <img src="https://kilo.ai/favicon/favicon.svg" width="50"> | **Automatic PR review provided by [Kilo Code](https://kilo.ai/), sponsored by the [Kilo OSS Program](https://kilo.ai/oss)** |
+| <a href="https://m.do.co/c/0062035db3e4"><img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_icon_blue.svg" width="50" height="50"></a> | **Cloud infrastructure is supported by [DigitalOcean](https://m.do.co/c/0062035db3e4)** |
## 致谢
@@ -210,5 +214,3 @@ A: 本项目编译需要良好的网络环境, 除了由 Google 托管的 Flutte
感谢 [avbuild](https://github.com/wang-bin/avbuild) 本项目使用了来自 avbuild 的树外补丁实现非标准视频流播放。
感谢 [hive](https://github.com/isar/hive) 本项目持久化储存能力来自 hive。
-
-
diff --git a/static/doc/CONTRIBUTING.md b/static/doc/CONTRIBUTING.md
new file mode 100644
index 00000000..4a59d276
--- /dev/null
+++ b/static/doc/CONTRIBUTING.md
@@ -0,0 +1,153 @@
+# 贡献指引
+
+欢迎您提交 Pull Request 来一起建设这个项目!
+
+在开始之前, 请先阅读这份指引, 以保障审阅者和您之间的协作效率。
+
+## 开发环境设置
+
+### 前置需求
+
+- [Flutter SDK](https://flutter.dev/) - 本项目的开发框架。
+- 良好的网络环境
+ - 建议至少保证 Google, Github, SourceForge, MavenCentral, pub.dev 的可访问性。
+ - 某些资源访问质量不佳时, 可能需要通过设置镜像地址或其他方式解决。
+- 开发侧所需的 SDK, 如 [Android SDK](https://developer.android.com/) 等。在配置 Flutter 时, 也会要求下载安装开发侧 SDK.
+
+### 基本配置
+
+```bash
+# 克隆仓库
+git clone https://github.com/Predidit/Kazumi.git
+cd Kazumi
+
+# 检查 Flutter SDK 状态并下载相关包
+flutter doctor -v
+flutter pub get
+
+# 进行检查
+flutter test
+flutter analyze --no-fatal-infos --fatal-warnings
+
+# 进行调试
+flutter run
+# flutter run --profile
+# flutter run --release
+
+# 为生产环境编译
+flutter build apk --release
+# flutter build windows --release
+# flutter build macos --release
+# ...
+```
+
+## 代码质量
+
+您的更改应该通过检查和验证。
+
+```bash
+flutter test
+flutter analyze --no-fatal-infos --fatal-warnings
+```
+
+## 编写规范
+
+项目大多数功能都遵循 `抽象 -> 调用` 的实现。不同组件按职责分类存放, UI 组件、功能、页面、服务分属不同目录, 互不混写。
+
+有关项目中不同组件的分类, 可以参考 [项目结构树](STRUCTURE.md) 或自行查看。
+
+开发过程中, 您应该**慎重考虑**新增外部库、会导致包体积大量膨胀的实现和其它不安全的行为。
+
+- 如果要引入新的外部库 - 考虑一下是否有更轻便的实现方法?
+- 如果功能会导致包体积巨增 - 也许这个功能目前不应该实现?
+- 如果需要使用 `Print()` 等输出 - 使用 `KazumiLogger` 或其它代替?
+- 如果性能表现大打折扣 - 当前功能的思路是不是需要重新考虑?
+
+当出现行为或风险改动时, 您应该完善测试文件。有的修改也无需测试文件, 可在推送 PR 后关注审查者意见。
+
+## 更改与 Commits
+
+建议使用 [Conventional Commits](https://www.conventionalcommits.org/):
+
+```
+feat(theme): 增加新的主题设计
+fix(external_player): 修复外部播放器启动失败的问题
+refactor: re-design parser implements
+chore: replace print() with KazumiLogger
+docs: 更新文档 Q&A
+```
+
+**不建议您使用模糊不清的 commits**, 反之, 上述建议能够使 commits 准确简洁地说明您做出的工作, 为审查提供便利。
+
+## 推送与 Pull Requests
+
+### 限制
+
+您的 PR 至少应该符合以下基本要求:
+- **一个 PR 只解决一件事情**。比起把多个功能、调整和修复都堆在一个 PR 中, 把它们拆开并分别创建 PR, 分别提交是正确的选择。
+- **一个 PR 更改的代码量不应太多**。1000 行甚至更多的更改是不建议的, 可以分成几个 PR 分别提交, 利于审查和修改。
+- **提交 PR 时的描述部分必须由您亲自填写**。您可以利用 AI 润色措辞, 但不得让 AI 直接生成整个描述, 也不得完全依赖 AI 撰写。
+
+### 类型
+
+在推送 PR 时, 根据类型不同可以分为:
+- Bug 修复 - 您应当打开 Issue 并确认所描述的 Bug 已修复, 然后在 PR 中引用该 Issue。
+- 新功能 - 编写代码和推送前, 请确认这个新功能已经被维护者批准, 以防您的贡献因为不在计划中而拒绝合并。
+- 功能重构 - 重构和新功能应当清楚分开。在重构功能时, 不要加入新功能。
+
+### PR 标题
+
+您的 PR 标题应该遵循 [Conventional Commits](https://www.conventionalcommits.org/) 的格式:
+
+```
+refactor: 重构 WebDAV 同步功能
+feat(danmaku): 为弹幕添加了新的屏蔽方法
+fix(network): fix proxy issues
+```
+
+同样, 遵循该规范能够使标题准确、简洁地说明您做出的工作。
+
+### 推送 PR 之后
+
+KiloCode Bot 会对您的 PR 和改动先进行检查。如果出现了问题, 您需要进行修复。
+当检查通过、没有合并冲突且审查者没有其他意见时, PR 会被合并。
+
+如果最终 PR 未被接受合并, 通常可能是因为该实现有以下问题之一:
+- 这个实现的性能开销无法接受。
+- 这个实现会导致安全或隐私问题。
+- 这个实现过于臃肿, 可能有更好的方法。
+- 这个实现只有部分设计比较好, 其它的部分有更好的方法。
+- 这个实现不在计划中。
+- 其它...
+
+一般情况下都会解释为什么您的 PR 没有被接受。**这并非对您工作的否定, 只是因为您的贡献可能并不适合项目当前的情况。我们感谢您所做的付出!**
+
+### AI 参与辅助开发
+
+我们欢迎您使用 AI 辅助开发工作, 这可以为您带来便利。然而, 我们无法接受的是直接让 AI 生成代码, 却不加检查就直接提交, 根本没有处理 AI 产物中的冗余和问题 (Vibe Coding -> AI Slop)。这不仅严重降低审查者和您之间的协作效率, 还不利于 PR 处理。
+
+因此, 当您使用了 AI 参与开发工作时, 您必须遵守以下规则。
+
+#### 规则:
+
+1. **如果您使用了 AI 辅助开发, 您不应该隐瞒。**
+2. 您应当理解 AI 写出的每行代码, 了解 AI 做了什么。
+3. 当审查者询问某处改动的原因, 您需要作出解释, 不论这是您写的还是 AI 写的。
+4. 您的 PR 中不应该出现 `AI 生成 -> 修复 -> 修复 -> 修复` 多次这样的循环, 这可能显示您并没有审查 AI 生成的代码, 而是在出现问题后再让 AI 自己修复, 循环往复。
+
+#### 提交:
+
+Pull Request 模板中有关于 AI 辅助的部分。如果您使用了 AI 辅助开发, 您需要说明所使用的**确切模型**, 例如 `OpenAI GPT-5.6 Sol` 或 `Claude Fable 5` 。
+
+```
+AI 辅助模型: Kimi-K3
+```
+
+某些模型在辅助开发方面的性能不足, 而这种信息能够帮助我们更好地判断代码质量。
+
+审查 AI 生成的代码有时会比审查人类所写的代码更耗时耗力。我们制定这样的规则, 是为了维护 Pull Request 秩序, 避免被繁杂无效的纯 AI 生成产物干扰。**因此, 如果您的 Pull Request 违反了上述规则, 您的 Pull Request 可能被延后处理或直接关闭。**
+
+
+## 许可证
+
+本项目基于 [GNU 通用公共许可证第 3 版(GPL-3.0)](../../LICENSE)授权。参与贡献即说明您同意您的代码以此许可证进行许可。
\ No newline at end of file
diff --git a/static/doc/STRUCTURE.md b/static/doc/STRUCTURE.md
new file mode 100644
index 00000000..3d86c583
--- /dev/null
+++ b/static/doc/STRUCTURE.md
@@ -0,0 +1,99 @@
+# Kazumi/
+
+> Generated by DeepSeek-V4-Flash.
+
+```
+Kazumi/
+├── lib/ # Dart 代码
+├── test/ # 测试
+├── assets/ # 资源
+├── static/ # 文档与静态素材
+├── android/ ios/ linux/ macos/ windows/ web/ # Flutter 平台框架
+├── fastlane/ # 打包脚本
+├── .github/ # CI workflow + 模板
+├── pubspec.yaml # 依赖与版本
+├── analysis_options.yaml # lint 配置
+├── LICENSE
+└── README.md
+```
+
+## lib/
+
+```
+lib/
+├── main.dart # 入口
+├── app_module.dart # 根模块
+├── core_module.dart # App 单例注册
+├── app_widget.dart # 应用外壳
+├── navigation.dart # 全局 navigatorKey / routeObserver
+├── hive_registrar.g.dart # Hive adapter 注册表
+│
+├── bbcode/ # BBCode 解析器
+│ ├── bbcode_base_listener.dart
+│ ├── bbcode_elements.dart
+│ ├── bbcode_widget.dart
+│ ├── README.md
+│ └── generated/
+│
+├── bean/ # UI 组件
+│ ├── appbar/
+│ ├── card/
+│ ├── dialog/
+│ ├── settings/
+│ └── widget/
+│
+├── modules/ # 数据模型
+│ ├── bangumi/
+│ ├── character/ characters/
+│ ├── collect/ # 收藏
+│ ├── comments/ staff/ # 评论、staff 响应
+│ ├── danmaku/ # 弹幕
+│ ├── download/ # Download
+│ ├── history/ # 历史记录
+│ ├── my/ # 我的
+│ ├── plugin/ # 规则商店
+│ ├── roads/ # 线路+剧集
+│ └── search/ # 搜索
+│
+├── pages/ # 页面
+│ ├── index_module.dart / index_page.dart / init_page.dart
+│ ├── router.dart # 底部 Tab 路由表
+│ ├── route_error_page.dart
+│ ├── about/ bangumi/ collect/ download/ error/ history/
+│ ├── info/ # 番剧详情
+│ ├── logs/ menu/ my/
+│ ├── onboarding/ # 首次引导
+│ ├── player/ # 播放器主体 + controller/ 子目录(弹幕/进度/调试等)
+│ ├── plugin_editor/ # 规则编辑/商店/测试
+│ ├── popular/ search/ timeline/ video/ webdav_editor/
+│ └── settings/ # 各设置页 + danmaku/ + proxy/
+│
+├── plugins/ # 规则 schema 与规则管理
+│
+├── repositories/ # 仓储接口 Hive
+│
+├── request/ # 网络
+│ ├── apis/
+│ ├── clients/
+│ ├── config/
+│ └── core/
+│
+├── services/ # 服务
+│ ├── download/
+│ ├── logging/
+│ ├── network/
+│ ├── platform/
+│ ├── player/
+│ ├── plugin/
+│ ├── shaders/
+│ ├── storage/
+│ ├── sync/
+│ ├── update/
+│ └── video_source/
+│
+├── utils/ # 无状态工具
+│
+└── webview/ # WebView
+ ├── captcha/
+ └── video/
+```
\ No newline at end of file