正在自动登录…
← 返回项目列表jatechan/
jatechan/ ai-data-extractor
这是一个开源工具,用于从多种AI编程助手的本地存储中提取聊天历史,并统一转换为JSONL格式,方便备份、分析或微调。适用于希望管理自己对话数据的开发者。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/19 00:31:14 · 查看原文
- 累计 Stars
- 526
- 当前热度
- 未达当前门槛
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/10/19 00:31:14
- 使用方式
通过命令行使用,支持交互式菜单或直接指定参数运行。
查看 README 依据
python --version # 3.9+ required, 3.10+ recommended # Interactive: pick which sources to extract from a numbered menu python extract.py # Or drive it directly python extract.py --all python extract.py --sources cursor,claude_code,aider python extract.py --list # just show what's installed, don't extract python extract.py --all --merge # also write all_conversations.jsonl # Shorthand for "extract everything" ./extract_all.sh ``` ### CLI reference ``` python extract.py [--all] [--sources ids] [--list] [--output-dir DIR]
- 部署要求
需要 Python 3.9 或更高版本,推荐 3.10+。
查看 README 依据
python --version # 3.9+ required, 3.10+ recommended # Interactive: pick which sources to extract from a numbered menu python extract.py # Or drive it directly python extract.py --all python extract.py --sources cursor,claude_code,aider python extract.py --list # just show what's installed, don't extract python extract.py --all --merge # also write all_conversations.jsonl # Shorthand for "extract everything" ./extract_all.sh ``` ### CLI reference ``` python extract.py [--all] [--sources ids] [--list] [--output-dir DIR]
- 已知限制
对于 Cursor、Windsurf 和 Trae,由于存储格式未公开且可能变化,提取可能不完整或失败,需要手动调整。
查看 README 依据
times (Cursor alone has gone through at least three shapes: workspace `ItemTable` chat, inline composer, and split `bubbleId` composer). The `cursor.py` extractor implements all three known shapes explicitly. `windsurf.py` and `trae.py` instead use a **generic heuristic** (`extractors/common.py::heuristic_extract_chat_from_kv`) that scans chat-related keys and walks the parsed JSON looking for objects shaped like a role + text pair. It's honest best-effort, not a documented format - if a future version changes shape and stops matching, that's expected; adjust
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/10/12 02:40:11
- 首次达标收录
- 2026/10/19 00:26:21
- 统计更新时间
- 2026/10/22 19:01:19
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 4.0 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/10/19 00:26:21 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/10/21 01:23:37
- 许可证标识
- MIT
- Fork 数
- 96
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目