本地批注工作区

批注 / 高亮 / 修订 / 笔记全部保存在你的本地:浏览器只是工作缓冲,绑定的 .jsonl 文件(你自己的文件夹)是唯一数据源——服务器不存储任何批注数据,你的 AI 工具(Trae/ZCode 等)可直接读写该文件。

数据格式(JSONL,每行一条)

{"type":"highlight","book_id":"shang-han-lun","section_n":1,"para":2,"quote":"脉浮","color":"y","created_at":"2026-08-20T00:00:00Z"}
{"type":"annotation","book_id":"shang-han-lun","section_n":1,"para":0,"quote":"太阳之为病","text":"六经总纲,参见 [[s:shang-han-lun:5]]","created_at":"2026-08-20T00:00:00Z"}
{"type":"edit","book_id":"shang-han-lun","section_n":1,"para":0,"quote":"桂枝","replacement":"桂(桂枝)","note":"别名注","created_at":"2026-08-20T00:00:00Z"}
{"type":"note","book_id":"shang-han-lun","title":"太阳病纲要","body":"参见 [[s:shang-han-lun:1]] 与 [[a:批注id]]","created_at":"2026-08-20T00:00:00Z"}

双向引用([[...]])

自动保存 / 自动加载

工作流

  1. 浏览器工作:阅读页选中文字 → 高亮 / 批注 / 修订;「笔记」标签记录跨书理解
  2. AI 工具直读:Trae/ZCode 用自带文件工具直接读写 JSONL(不经服务器)
  3. 建工作区friendlyai notes new shang-han-lun --dir ./notes 生成全书 .md + 空批注模板 + 说明

相关:AI 概览 · Skills 库 · 分享画廊