mohamed-chs/convoviz
关于
将 ChatGPT 历史记录导出为 Markdown:生成适合在 Obsidian 中阅读的笔记,并提供关于你如何使用 ChatGPT 的私密图表和词云。完全在本地运行。
数据与分析实测星标增长
- 24小时
- +2
- 7天
- +4
- 15天
- +6
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文convoviz
Turn your ChatGPT or Claude export into Markdown notes and charts.
Read and search your whole chat history in Obsidian or any Markdown app. Runs on your computer.
Made from an invented export. Yours never leaves your computer.
Quick start
1. In ChatGPT, open Settings → Data controls → Export data, and download the ZIP from the email. In Claude, open Settings → Privacy → Export data; the email links to several ZIPs: conversations-000.zip is the one convoviz needs, and projects-000.zip and memories-000.zip add your projects and Claude's memory.
2. Install convoviz:
# macOS / Linux
curl -LsSf https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.ps1 | iex"
3. Run it:
convoviz
It finds the newest export in Downloads and writes your archive to Documents/Chat Archive.
New to the terminal?
Open Terminal (macOS: ⌘ Space, type Terminal) or PowerShell (Windows: press Windows, type PowerShell). Paste the install line, press Enter, then open a new window and type convoviz.
The installer sets up uv, which handles Python for you. Already have uv? Run uv tool install convoviz.
What you get
| Your export | Your archive |
|---|---|
|
|
- One Markdown note per conversation, sorted by year. See a full example.
- Sources as footnotes, reasoning and tool output folded, edited replies kept.
- Images, files, Canvas documents and Claude artifacts saved next to the notes.
- Claude projects (instructions and knowledge files) and Claude's memory, each on its own page.
- An index, and a sortable table of every conversation in Obsidian.
insights.html: charts and word clouds of how you use ChatGPT and Claude, offline.
More charts
Updating
Run it again on a newer export. Only new and changed conversations are written. Notes you edited, moved or deleted stay as you left them (--force overrides that).
Options
convoviz ~/Downloads/chatgpt-export.zip -o ~/Notes/ChatGPT
| Flag | |
|---|---|
-o PATH |
Output folder |
--layout flat |
All notes in one folder, not one per year |
--branches active |
Only the replies you last viewed |
--timezone Europe/Paris |
Time zone for dates |
--no-insights |
Skip the charts |
-y |
Don't ask before using the export found in Downloads |
convoviz config init creates a settings file for labels, tags, words to leave out of word clouds, and more.
FAQ
Is my data uploaded anywhere?
No. convoviz makes no network requests, and the charts page loads nothing from the internet.
Do I need Obsidian?
No. The notes are standard Markdown and open in VS Code, on GitHub, or in any Markdown app. Only Conversations.base is Obsidian-specific.
Which exports does it read?
ChatGPT's 2026 format: the ZIP, an extracted folder, or conversations.json, including split and multi-part exports. Business and Enterprise workspaces can't export.
Claude's export from claude.ai: conversations-000.zip (or the single ZIP older exports came as), an extracted folder, or conversations.json. Add projects-000.zip and memories-000.zip to get a note per project (instructions and knowledge files) and a page of Claude's memory; other ZIPs are skipped. Exports from both assistants can go into one archive: convoviz chatgpt.zip conversations-000.zip.
Why are my Claude files missing?
Claude's export doesn't include files: not the ones you uploaded, and not the ones Claude made for download. Notes name them so you know they existed. Text Claude read from your documents is kept, folded above your prompt, and artifacts and files Claude wrote as text are saved under artifacts/.
Can I make PDFs?
Yes, with convpdf: convpdf "conversations/**/*.md" -o PDF/.
I used convoviz 0.x.
1.0 writes to a new folder and leaves the old one alone. Run convoviz config init --force to update an old config file.
Something wrong?
Run convoviz inspect --json and paste the output into a bug report. It lists the export's structure only, never your conversations.
If convoviz helped you, a ⭐ helps others find it. To contribute, see CONTRIBUTING.md. MIT license.
探索相关项目
加载中…