convoviz 0.4.0__tar.gz → 0.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- convoviz-0.4.1/PKG-INFO +215 -0
- convoviz-0.4.1/README.md +190 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/pyproject.toml +1 -1
- convoviz-0.4.0/PKG-INFO +0 -146
- convoviz-0.4.0/README.md +0 -121
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/__init__.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/__main__.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/analysis/__init__.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/analysis/graphs.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/analysis/wordcloud.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/colormaps.txt +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/AmaticSC-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/ArchitectsDaughter-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/BebasNeue-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Borel-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Courgette-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/CroissantOne-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Handjet-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/IndieFlower-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Kalam-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Lobster-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/MartianMono-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/MartianMono-Thin.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Montserrat-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Mooli-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Pacifico-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/PlayfairDisplay-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Raleway-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/RobotoMono-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/RobotoMono-Thin.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/RobotoSlab-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/RobotoSlab-Thin.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Ruwudu-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Sacramento-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/SedgwickAveDisplay-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/ShadowsIntoLight-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/TitilliumWeb-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Yellowtail-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/YsabeauOffice-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/YsabeauSC-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/YsabeauSC-Thin.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/fonts/Zeyada-Regular.ttf +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/assets/stopwords.txt +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/cli.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/config.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/exceptions.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/interactive.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/io/__init__.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/io/assets.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/io/loaders.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/io/writers.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/logging_config.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/models/__init__.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/models/collection.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/models/conversation.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/models/message.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/models/node.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/pipeline.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/py.typed +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/renderers/__init__.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/renderers/markdown.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/renderers/yaml.py +0 -0
- {convoviz-0.4.0 → convoviz-0.4.1}/convoviz/utils.py +0 -0
convoviz-0.4.1/PKG-INFO
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: convoviz
|
|
3
|
+
Version: 0.4.1
|
|
4
|
+
Summary: Get analytics and visualizations on your ChatGPT data!
|
|
5
|
+
Keywords: markdown,chatgpt,openai,visualization,analytics,json,export,data-analysis,obsidian
|
|
6
|
+
Author: Mohamed Cheikh Sidiya
|
|
7
|
+
Author-email: Mohamed Cheikh Sidiya <mohamedcheikhsidiya77@gmail.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Requires-Dist: orjson>=3.11.5
|
|
13
|
+
Requires-Dist: pydantic>=2.12.5
|
|
14
|
+
Requires-Dist: pydantic-settings>=2.7.0
|
|
15
|
+
Requires-Dist: questionary>=2.1.1
|
|
16
|
+
Requires-Dist: rich>=14.2.0
|
|
17
|
+
Requires-Dist: tqdm>=4.67.1
|
|
18
|
+
Requires-Dist: typer>=0.21.0
|
|
19
|
+
Requires-Dist: nltk>=3.9.2 ; extra == 'viz'
|
|
20
|
+
Requires-Dist: wordcloud>=1.9.5 ; extra == 'viz'
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
|
+
Project-URL: Repository, https://github.com/mohamed-chs/convoviz
|
|
23
|
+
Provides-Extra: viz
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<h1 align="center">Convoviz 📊</h1>
|
|
28
|
+
<p align="center"><strong>Visualize your entire ChatGPT data</strong></p>
|
|
29
|
+
<p align="center">
|
|
30
|
+
Convert your ChatGPT history into well-formatted Markdown files.<br>
|
|
31
|
+
Visualize your data with word clouds 🔡☁️ and usage graphs 📈.
|
|
32
|
+
</p>
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
<p align="center">
|
|
36
|
+
<a href="https://pypi.org/project/convoviz/"><img src="https://img.shields.io/pypi/v/convoviz?style=flat-square&logo=pypi&logoColor=white&label=PyPI" alt="PyPI Version"></a>
|
|
37
|
+
<a href="https://pepy.tech/projects/convoviz"><img src="https://static.pepy.tech/personalized-badge/convoviz?period=total&units=INTERNATIONAL_SYSTEM&left_color=GREY&right_color=GREEN&left_text=Downloads" alt="PyPI Downloads"></a>
|
|
38
|
+
<a href="https://github.com/mohamed-chs/convoviz/blob/main/LICENSE"><img src="https://img.shields.io/github/license/mohamed-chs/convoviz?style=flat-square" alt="License"></a>
|
|
39
|
+
</p>
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## ✨ Features
|
|
44
|
+
|
|
45
|
+
| Feature | Description |
|
|
46
|
+
|---------|-------------|
|
|
47
|
+
| 📝 **Markdown Export** | Clean, well-formatted Markdown with optional YAML headers |
|
|
48
|
+
| 🖼️ **Inline Images** | Media attachments rendered directly in your Markdown files |
|
|
49
|
+
| ☁️ **Word Clouds** | Visual breakdowns of your most-used words and phrases |
|
|
50
|
+
| 📈 **Usage Graphs** | Bar plots and charts showing your conversation patterns |
|
|
51
|
+
|
|
52
|
+
> 💡 **See examples in the [`demo/`](demo) folder!**
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 📖 How to Use
|
|
57
|
+
|
|
58
|
+
### Step 1: Export Your ChatGPT Data
|
|
59
|
+
|
|
60
|
+
1. Sign in at [chatgpt.com](https://chatgpt.com)
|
|
61
|
+
2. Navigate to: **Profile Name** (bottom left) → **Settings** → **Data controls** → **Export**
|
|
62
|
+
3. Click **Confirm export**
|
|
63
|
+
4. Wait for the email from OpenAI, then download the `.zip` file
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### Step 2: Install Convoviz
|
|
68
|
+
|
|
69
|
+
<details open>
|
|
70
|
+
<summary><strong>🚀 Quick Install (Recommended)</strong></summary>
|
|
71
|
+
|
|
72
|
+
One command installs everything you need — [uv](https://github.com/astral-sh/uv) (a fast Python package manager) and convoviz with graphs and word clouds.
|
|
73
|
+
|
|
74
|
+
**Linux / macOS:**
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
curl -fsSL https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.sh | bash
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Windows (PowerShell):**
|
|
81
|
+
|
|
82
|
+
```powershell
|
|
83
|
+
irm https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.ps1 | iex
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
</details>
|
|
87
|
+
|
|
88
|
+
<details>
|
|
89
|
+
<summary><strong>📦 Alternative: Install with pip</strong></summary>
|
|
90
|
+
|
|
91
|
+
If you prefer using `pip` directly:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
# Create a virtual environment (keeps your system Python clean)
|
|
95
|
+
python3 -m venv .venv
|
|
96
|
+
|
|
97
|
+
# Activate the virtual environment
|
|
98
|
+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
|
99
|
+
|
|
100
|
+
# Install convoviz with visualization extras
|
|
101
|
+
pip install "convoviz[viz]"
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
</details>
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
### Step 3: Run Convoviz
|
|
109
|
+
|
|
110
|
+
The simplest way is to run the command and follow the interactive prompts:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
convoviz
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Or, provide arguments directly to skip the prompts:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
convoviz --input path/to/your/export.zip --output path/to/output/folder
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
<details>
|
|
123
|
+
<summary><strong>⚙️ Command Line Options</strong></summary>
|
|
124
|
+
|
|
125
|
+
#### Selective Output
|
|
126
|
+
|
|
127
|
+
By default, all outputs (Markdown, graphs, word clouds) are generated. Use `--outputs` to pick specific ones:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
convoviz --input export.zip --outputs markdown --outputs graphs
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Available options: `markdown`, `graphs`, `wordclouds`
|
|
134
|
+
|
|
135
|
+
> In interactive mode, you'll be prompted to choose which outputs to generate.
|
|
136
|
+
|
|
137
|
+
#### Other Useful Flags
|
|
138
|
+
|
|
139
|
+
| Flag | Description |
|
|
140
|
+
|------|-------------|
|
|
141
|
+
| `--zip` / `-z` | Alias for `--input` (for convenience) |
|
|
142
|
+
| `--no-interactive` | Force non-interactive mode |
|
|
143
|
+
| `--flat` | Put all Markdown files in a single folder (instead of organizing by date) |
|
|
144
|
+
| `--verbose` / `-v` | Enable detailed logging (use `-vv` for debug logs) |
|
|
145
|
+
| `--log-file PATH` | Specify a custom log file location |
|
|
146
|
+
|
|
147
|
+
For a complete list of options:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
convoviz --help
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
</details>
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
### Step 4: Check the Output 🎉
|
|
158
|
+
|
|
159
|
+
After running the script, head to your output folder to see:
|
|
160
|
+
- 📝 Neatly formatted Markdown files
|
|
161
|
+
- 📊 Visualizations and graphs
|
|
162
|
+
|
|
163
|
+

|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 💌 Share Your Feedback!
|
|
168
|
+
|
|
169
|
+
I hope you find this tool useful. I'm continuously looking to improve on this, but I need your help for that.
|
|
170
|
+
|
|
171
|
+
Whether you're a tech wizard or you're new to all this, I'd love to hear about your journey with the tool. Found a quirk? Have a suggestion? Or just want to send some good vibes? I'm all ears!
|
|
172
|
+
|
|
173
|
+
👉 **[Open an Issue](https://github.com/mohamed-chs/convoviz/issues)**
|
|
174
|
+
|
|
175
|
+
And if you've had a great experience, consider giving the project a ⭐ **star**! It keeps me motivated and helps others discover it!
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## 📝 Notes
|
|
180
|
+
|
|
181
|
+
<details>
|
|
182
|
+
<summary><strong>About This Project</strong></summary>
|
|
183
|
+
|
|
184
|
+
This is just a small thing I coded to help me see my convos in beautiful markdown. It was originally built with [Obsidian](https://obsidian.md/) (my go-to note-taking app) in mind, but the default output is standard Markdown.
|
|
185
|
+
|
|
186
|
+
I wasn't a fan of the clunky, and sometimes paid, browser extensions.
|
|
187
|
+
|
|
188
|
+
It was also a great opportunity to learn more about Python and type annotations. I had mypy, pyright, and ruff all on strict mode, 'twas fun.
|
|
189
|
+
|
|
190
|
+
</details>
|
|
191
|
+
|
|
192
|
+
<details>
|
|
193
|
+
<summary><strong>Using as a Library</strong></summary>
|
|
194
|
+
|
|
195
|
+
It should also work as a library, so you can import and use the models and functions. I need to add more documentation for that though. Feel free to reach out if you need help.
|
|
196
|
+
|
|
197
|
+
</details>
|
|
198
|
+
|
|
199
|
+
<details>
|
|
200
|
+
<summary><strong>Offline / Reproducible Runs</strong></summary>
|
|
201
|
+
|
|
202
|
+
Word clouds use NLTK stopwords. If you're offline and NLTK data isn't installed yet, pre-download it:
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
python -c "import nltk; nltk.download('stopwords')"
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
</details>
|
|
209
|
+
|
|
210
|
+
<details>
|
|
211
|
+
<summary><strong>Bookmarklet (Experimental)</strong></summary>
|
|
212
|
+
|
|
213
|
+
There's also a JavaScript bookmarklet flow under `js/` for exporting additional conversation data outside the official ZIP export. This is experimental.
|
|
214
|
+
|
|
215
|
+
</details>
|
convoviz-0.4.1/README.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<h1 align="center">Convoviz 📊</h1>
|
|
3
|
+
<p align="center"><strong>Visualize your entire ChatGPT data</strong></p>
|
|
4
|
+
<p align="center">
|
|
5
|
+
Convert your ChatGPT history into well-formatted Markdown files.<br>
|
|
6
|
+
Visualize your data with word clouds 🔡☁️ and usage graphs 📈.
|
|
7
|
+
</p>
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
<p align="center">
|
|
11
|
+
<a href="https://pypi.org/project/convoviz/"><img src="https://img.shields.io/pypi/v/convoviz?style=flat-square&logo=pypi&logoColor=white&label=PyPI" alt="PyPI Version"></a>
|
|
12
|
+
<a href="https://pepy.tech/projects/convoviz"><img src="https://static.pepy.tech/personalized-badge/convoviz?period=total&units=INTERNATIONAL_SYSTEM&left_color=GREY&right_color=GREEN&left_text=Downloads" alt="PyPI Downloads"></a>
|
|
13
|
+
<a href="https://github.com/mohamed-chs/convoviz/blob/main/LICENSE"><img src="https://img.shields.io/github/license/mohamed-chs/convoviz?style=flat-square" alt="License"></a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## ✨ Features
|
|
19
|
+
|
|
20
|
+
| Feature | Description |
|
|
21
|
+
|---------|-------------|
|
|
22
|
+
| 📝 **Markdown Export** | Clean, well-formatted Markdown with optional YAML headers |
|
|
23
|
+
| 🖼️ **Inline Images** | Media attachments rendered directly in your Markdown files |
|
|
24
|
+
| ☁️ **Word Clouds** | Visual breakdowns of your most-used words and phrases |
|
|
25
|
+
| 📈 **Usage Graphs** | Bar plots and charts showing your conversation patterns |
|
|
26
|
+
|
|
27
|
+
> 💡 **See examples in the [`demo/`](demo) folder!**
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 📖 How to Use
|
|
32
|
+
|
|
33
|
+
### Step 1: Export Your ChatGPT Data
|
|
34
|
+
|
|
35
|
+
1. Sign in at [chatgpt.com](https://chatgpt.com)
|
|
36
|
+
2. Navigate to: **Profile Name** (bottom left) → **Settings** → **Data controls** → **Export**
|
|
37
|
+
3. Click **Confirm export**
|
|
38
|
+
4. Wait for the email from OpenAI, then download the `.zip` file
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
### Step 2: Install Convoviz
|
|
43
|
+
|
|
44
|
+
<details open>
|
|
45
|
+
<summary><strong>🚀 Quick Install (Recommended)</strong></summary>
|
|
46
|
+
|
|
47
|
+
One command installs everything you need — [uv](https://github.com/astral-sh/uv) (a fast Python package manager) and convoviz with graphs and word clouds.
|
|
48
|
+
|
|
49
|
+
**Linux / macOS:**
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
curl -fsSL https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.sh | bash
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**Windows (PowerShell):**
|
|
56
|
+
|
|
57
|
+
```powershell
|
|
58
|
+
irm https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.ps1 | iex
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
</details>
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
<summary><strong>📦 Alternative: Install with pip</strong></summary>
|
|
65
|
+
|
|
66
|
+
If you prefer using `pip` directly:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
# Create a virtual environment (keeps your system Python clean)
|
|
70
|
+
python3 -m venv .venv
|
|
71
|
+
|
|
72
|
+
# Activate the virtual environment
|
|
73
|
+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
|
74
|
+
|
|
75
|
+
# Install convoviz with visualization extras
|
|
76
|
+
pip install "convoviz[viz]"
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
</details>
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
### Step 3: Run Convoviz
|
|
84
|
+
|
|
85
|
+
The simplest way is to run the command and follow the interactive prompts:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
convoviz
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Or, provide arguments directly to skip the prompts:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
convoviz --input path/to/your/export.zip --output path/to/output/folder
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
<details>
|
|
98
|
+
<summary><strong>⚙️ Command Line Options</strong></summary>
|
|
99
|
+
|
|
100
|
+
#### Selective Output
|
|
101
|
+
|
|
102
|
+
By default, all outputs (Markdown, graphs, word clouds) are generated. Use `--outputs` to pick specific ones:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
convoviz --input export.zip --outputs markdown --outputs graphs
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Available options: `markdown`, `graphs`, `wordclouds`
|
|
109
|
+
|
|
110
|
+
> In interactive mode, you'll be prompted to choose which outputs to generate.
|
|
111
|
+
|
|
112
|
+
#### Other Useful Flags
|
|
113
|
+
|
|
114
|
+
| Flag | Description |
|
|
115
|
+
|------|-------------|
|
|
116
|
+
| `--zip` / `-z` | Alias for `--input` (for convenience) |
|
|
117
|
+
| `--no-interactive` | Force non-interactive mode |
|
|
118
|
+
| `--flat` | Put all Markdown files in a single folder (instead of organizing by date) |
|
|
119
|
+
| `--verbose` / `-v` | Enable detailed logging (use `-vv` for debug logs) |
|
|
120
|
+
| `--log-file PATH` | Specify a custom log file location |
|
|
121
|
+
|
|
122
|
+
For a complete list of options:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
convoviz --help
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
</details>
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
### Step 4: Check the Output 🎉
|
|
133
|
+
|
|
134
|
+
After running the script, head to your output folder to see:
|
|
135
|
+
- 📝 Neatly formatted Markdown files
|
|
136
|
+
- 📊 Visualizations and graphs
|
|
137
|
+
|
|
138
|
+

|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## 💌 Share Your Feedback!
|
|
143
|
+
|
|
144
|
+
I hope you find this tool useful. I'm continuously looking to improve on this, but I need your help for that.
|
|
145
|
+
|
|
146
|
+
Whether you're a tech wizard or you're new to all this, I'd love to hear about your journey with the tool. Found a quirk? Have a suggestion? Or just want to send some good vibes? I'm all ears!
|
|
147
|
+
|
|
148
|
+
👉 **[Open an Issue](https://github.com/mohamed-chs/convoviz/issues)**
|
|
149
|
+
|
|
150
|
+
And if you've had a great experience, consider giving the project a ⭐ **star**! It keeps me motivated and helps others discover it!
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## 📝 Notes
|
|
155
|
+
|
|
156
|
+
<details>
|
|
157
|
+
<summary><strong>About This Project</strong></summary>
|
|
158
|
+
|
|
159
|
+
This is just a small thing I coded to help me see my convos in beautiful markdown. It was originally built with [Obsidian](https://obsidian.md/) (my go-to note-taking app) in mind, but the default output is standard Markdown.
|
|
160
|
+
|
|
161
|
+
I wasn't a fan of the clunky, and sometimes paid, browser extensions.
|
|
162
|
+
|
|
163
|
+
It was also a great opportunity to learn more about Python and type annotations. I had mypy, pyright, and ruff all on strict mode, 'twas fun.
|
|
164
|
+
|
|
165
|
+
</details>
|
|
166
|
+
|
|
167
|
+
<details>
|
|
168
|
+
<summary><strong>Using as a Library</strong></summary>
|
|
169
|
+
|
|
170
|
+
It should also work as a library, so you can import and use the models and functions. I need to add more documentation for that though. Feel free to reach out if you need help.
|
|
171
|
+
|
|
172
|
+
</details>
|
|
173
|
+
|
|
174
|
+
<details>
|
|
175
|
+
<summary><strong>Offline / Reproducible Runs</strong></summary>
|
|
176
|
+
|
|
177
|
+
Word clouds use NLTK stopwords. If you're offline and NLTK data isn't installed yet, pre-download it:
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
python -c "import nltk; nltk.download('stopwords')"
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
</details>
|
|
184
|
+
|
|
185
|
+
<details>
|
|
186
|
+
<summary><strong>Bookmarklet (Experimental)</strong></summary>
|
|
187
|
+
|
|
188
|
+
There's also a JavaScript bookmarklet flow under `js/` for exporting additional conversation data outside the official ZIP export. This is experimental.
|
|
189
|
+
|
|
190
|
+
</details>
|
convoviz-0.4.0/PKG-INFO
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: convoviz
|
|
3
|
-
Version: 0.4.0
|
|
4
|
-
Summary: Get analytics and visualizations on your ChatGPT data!
|
|
5
|
-
Keywords: markdown,chatgpt,openai,visualization,analytics,json,export,data-analysis,obsidian
|
|
6
|
-
Author: Mohamed Cheikh Sidiya
|
|
7
|
-
Author-email: Mohamed Cheikh Sidiya <mohamedcheikhsidiya77@gmail.com>
|
|
8
|
-
License-Expression: MIT
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
-
Requires-Dist: orjson>=3.11.5
|
|
13
|
-
Requires-Dist: pydantic>=2.12.5
|
|
14
|
-
Requires-Dist: pydantic-settings>=2.7.0
|
|
15
|
-
Requires-Dist: questionary>=2.1.1
|
|
16
|
-
Requires-Dist: rich>=14.2.0
|
|
17
|
-
Requires-Dist: tqdm>=4.67.1
|
|
18
|
-
Requires-Dist: typer>=0.21.0
|
|
19
|
-
Requires-Dist: nltk>=3.9.2 ; extra == 'viz'
|
|
20
|
-
Requires-Dist: wordcloud>=1.9.5 ; extra == 'viz'
|
|
21
|
-
Requires-Python: >=3.12
|
|
22
|
-
Project-URL: Repository, https://github.com/mohamed-chs/convoviz
|
|
23
|
-
Provides-Extra: viz
|
|
24
|
-
Description-Content-Type: text/markdown
|
|
25
|
-
|
|
26
|
-
# Convoviz 📊: Visualize your entire ChatGPT data
|
|
27
|
-
|
|
28
|
-
Convert your ChatGPT history into well-formatted Markdown files. Visualize your data with word clouds 🔡☁️ and usage graphs 📈.
|
|
29
|
-
|
|
30
|
-
## Features
|
|
31
|
-
|
|
32
|
-
- **YAML Headers**: Optional and included by default.
|
|
33
|
-
- **Inline Images**: Media attachments rendered directly in Markdown.
|
|
34
|
-
- **Data Visualizations**: Word clouds, graphs, and more.
|
|
35
|
-
|
|
36
|
-
See examples [here](demo).
|
|
37
|
-
|
|
38
|
-
## How to Use 📖
|
|
39
|
-
|
|
40
|
-
### 1. Export Your ChatGPT Data 🗂
|
|
41
|
-
|
|
42
|
-
- Sign in at [chatgpt.com](https://chatgpt.com).
|
|
43
|
-
- Navigate: Profile Name (bottom left) -> **Settings** -> **Data controls** -> **Export** -> **Confirm export**.
|
|
44
|
-
- Await email from OpenAI and download the `.zip` file.
|
|
45
|
-
|
|
46
|
-
### 2. Install the tool 🛠
|
|
47
|
-
|
|
48
|
-
One command to install everything:
|
|
49
|
-
|
|
50
|
-
**Linux / macOS:**
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
curl -fsSL https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.sh | bash
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
**Windows (PowerShell):**
|
|
57
|
-
|
|
58
|
-
```powershell
|
|
59
|
-
irm https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.ps1 | iex
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
This installs [uv](https://github.com/astral-sh/uv) (if needed) and convoviz with graphs and word clouds.
|
|
63
|
-
|
|
64
|
-
#### Alternative: pip
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
python3 -m venv .venv
|
|
68
|
-
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
69
|
-
pip install "convoviz[viz]"
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
### 3. Run the tool 🏃♂️
|
|
73
|
-
|
|
74
|
-
Simply run the command and follow the prompts:
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
convoviz
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
#### Command Line Arguments
|
|
81
|
-
|
|
82
|
-
You can provide arguments directly to skip the prompts:
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
convoviz --input path/to/your/export.zip --output path/to/output/folder
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
##### Selective Output
|
|
89
|
-
|
|
90
|
-
By default, all outputs are generated. Use `--outputs` to pick specific ones:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
convoviz --input export.zip --outputs markdown --outputs graphs
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
Options: `markdown`, `graphs`, `wordclouds`. In interactive mode, you'll be prompted.
|
|
97
|
-
|
|
98
|
-
##### Other Notes
|
|
99
|
-
|
|
100
|
-
- `--zip` / `-z` is kept as an alias for `--input` for convenience.
|
|
101
|
-
- You can force non-interactive mode with `--no-interactive`.
|
|
102
|
-
- Use `--flat` to put all Markdown files in a single folder instead of organizing by date.
|
|
103
|
-
- Use `--verbose` or `-v` for detailed logging (use `-vv` for debug logs).
|
|
104
|
-
- Use `--log-file` to specify a custom log file (logs default to a temporary file if not specified).
|
|
105
|
-
|
|
106
|
-
For more options, run:
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
convoviz --help
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### 4. Check the Output 🎉
|
|
113
|
-
|
|
114
|
-
And that's it! After running the script, head over to the output folder to see your neatly formatted Markdown files and visualizations.
|
|
115
|
-
|
|
116
|
-

|
|
117
|
-
|
|
118
|
-
## Share Your Feedback! 💌
|
|
119
|
-
|
|
120
|
-
I hope you find this tool useful. I'm continuously looking to improve on this, but I need your help for that.
|
|
121
|
-
|
|
122
|
-
Whether you're a tech wizard or you're new to all this, I'd love to hear about your journey with the tool. Found a quirk? Have a suggestion? Or just want to send some good vibes? I'm all ears! (see [issues](https://github.com/mohamed-chs/convoviz/issues))
|
|
123
|
-
|
|
124
|
-
And if you've had a great experience, consider giving the project a star ⭐. It keeps me motivated and helps others discover it!
|
|
125
|
-
|
|
126
|
-
## Notes
|
|
127
|
-
|
|
128
|
-
This is just a small thing I coded to help me see my convos in beautiful markdown. It was originally built with [Obsidian](https://obsidian.md/) (my go-to note-taking app) in mind, but the default output is standard Markdown.
|
|
129
|
-
|
|
130
|
-
I wasn't a fan of the clunky, and sometimes paid, browser extensions.
|
|
131
|
-
|
|
132
|
-
It was also a great opportunity to learn more about Python and type annotations. I had mypy, pyright, and ruff all on strict mode, 'twas fun.
|
|
133
|
-
|
|
134
|
-
It should(?) also work as library, so you can import and use the models and functions. I need to add more documentation for that tho. Feel free to reach out if you need help.
|
|
135
|
-
|
|
136
|
-
### Offline / reproducible runs
|
|
137
|
-
|
|
138
|
-
Word clouds use NLTK stopwords. If you're offline and NLTK data isn't installed yet, pre-download it:
|
|
139
|
-
|
|
140
|
-
```bash
|
|
141
|
-
python -c "import nltk; nltk.download('stopwords')"
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
### Bookmarklet
|
|
145
|
-
|
|
146
|
-
There's also a JavaScript bookmarklet flow under `js/` (experimental) for exporting additional conversation data outside the official ZIP export.
|
convoviz-0.4.0/README.md
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# Convoviz 📊: Visualize your entire ChatGPT data
|
|
2
|
-
|
|
3
|
-
Convert your ChatGPT history into well-formatted Markdown files. Visualize your data with word clouds 🔡☁️ and usage graphs 📈.
|
|
4
|
-
|
|
5
|
-
## Features
|
|
6
|
-
|
|
7
|
-
- **YAML Headers**: Optional and included by default.
|
|
8
|
-
- **Inline Images**: Media attachments rendered directly in Markdown.
|
|
9
|
-
- **Data Visualizations**: Word clouds, graphs, and more.
|
|
10
|
-
|
|
11
|
-
See examples [here](demo).
|
|
12
|
-
|
|
13
|
-
## How to Use 📖
|
|
14
|
-
|
|
15
|
-
### 1. Export Your ChatGPT Data 🗂
|
|
16
|
-
|
|
17
|
-
- Sign in at [chatgpt.com](https://chatgpt.com).
|
|
18
|
-
- Navigate: Profile Name (bottom left) -> **Settings** -> **Data controls** -> **Export** -> **Confirm export**.
|
|
19
|
-
- Await email from OpenAI and download the `.zip` file.
|
|
20
|
-
|
|
21
|
-
### 2. Install the tool 🛠
|
|
22
|
-
|
|
23
|
-
One command to install everything:
|
|
24
|
-
|
|
25
|
-
**Linux / macOS:**
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
curl -fsSL https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.sh | bash
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
**Windows (PowerShell):**
|
|
32
|
-
|
|
33
|
-
```powershell
|
|
34
|
-
irm https://raw.githubusercontent.com/mohamed-chs/convoviz/main/install.ps1 | iex
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
This installs [uv](https://github.com/astral-sh/uv) (if needed) and convoviz with graphs and word clouds.
|
|
38
|
-
|
|
39
|
-
#### Alternative: pip
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
python3 -m venv .venv
|
|
43
|
-
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
44
|
-
pip install "convoviz[viz]"
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### 3. Run the tool 🏃♂️
|
|
48
|
-
|
|
49
|
-
Simply run the command and follow the prompts:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
convoviz
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
#### Command Line Arguments
|
|
56
|
-
|
|
57
|
-
You can provide arguments directly to skip the prompts:
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
convoviz --input path/to/your/export.zip --output path/to/output/folder
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
##### Selective Output
|
|
64
|
-
|
|
65
|
-
By default, all outputs are generated. Use `--outputs` to pick specific ones:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
convoviz --input export.zip --outputs markdown --outputs graphs
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
Options: `markdown`, `graphs`, `wordclouds`. In interactive mode, you'll be prompted.
|
|
72
|
-
|
|
73
|
-
##### Other Notes
|
|
74
|
-
|
|
75
|
-
- `--zip` / `-z` is kept as an alias for `--input` for convenience.
|
|
76
|
-
- You can force non-interactive mode with `--no-interactive`.
|
|
77
|
-
- Use `--flat` to put all Markdown files in a single folder instead of organizing by date.
|
|
78
|
-
- Use `--verbose` or `-v` for detailed logging (use `-vv` for debug logs).
|
|
79
|
-
- Use `--log-file` to specify a custom log file (logs default to a temporary file if not specified).
|
|
80
|
-
|
|
81
|
-
For more options, run:
|
|
82
|
-
|
|
83
|
-
```bash
|
|
84
|
-
convoviz --help
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
### 4. Check the Output 🎉
|
|
88
|
-
|
|
89
|
-
And that's it! After running the script, head over to the output folder to see your neatly formatted Markdown files and visualizations.
|
|
90
|
-
|
|
91
|
-

|
|
92
|
-
|
|
93
|
-
## Share Your Feedback! 💌
|
|
94
|
-
|
|
95
|
-
I hope you find this tool useful. I'm continuously looking to improve on this, but I need your help for that.
|
|
96
|
-
|
|
97
|
-
Whether you're a tech wizard or you're new to all this, I'd love to hear about your journey with the tool. Found a quirk? Have a suggestion? Or just want to send some good vibes? I'm all ears! (see [issues](https://github.com/mohamed-chs/convoviz/issues))
|
|
98
|
-
|
|
99
|
-
And if you've had a great experience, consider giving the project a star ⭐. It keeps me motivated and helps others discover it!
|
|
100
|
-
|
|
101
|
-
## Notes
|
|
102
|
-
|
|
103
|
-
This is just a small thing I coded to help me see my convos in beautiful markdown. It was originally built with [Obsidian](https://obsidian.md/) (my go-to note-taking app) in mind, but the default output is standard Markdown.
|
|
104
|
-
|
|
105
|
-
I wasn't a fan of the clunky, and sometimes paid, browser extensions.
|
|
106
|
-
|
|
107
|
-
It was also a great opportunity to learn more about Python and type annotations. I had mypy, pyright, and ruff all on strict mode, 'twas fun.
|
|
108
|
-
|
|
109
|
-
It should(?) also work as library, so you can import and use the models and functions. I need to add more documentation for that tho. Feel free to reach out if you need help.
|
|
110
|
-
|
|
111
|
-
### Offline / reproducible runs
|
|
112
|
-
|
|
113
|
-
Word clouds use NLTK stopwords. If you're offline and NLTK data isn't installed yet, pre-download it:
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
python -c "import nltk; nltk.download('stopwords')"
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
### Bookmarklet
|
|
120
|
-
|
|
121
|
-
There's also a JavaScript bookmarklet flow under `js/` (experimental) for exporting additional conversation data outside the official ZIP export.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|