Grok Export Viewer
Convert, browse, and search your Grok Chat export (prod-grok-backend.json) offline into Markdown, HTML (with live search), CSV, SQLite, or JSON.
Installation
pip install grok-export-viewer
Usage
# Place your JSON file in data/
grok-export-viewer -s data/prod-grok-backend.json -f html
open data/html/index.html # macOS (use xdg-open on Linux, start on Windows)
# Other formats: md, csv, json, sqlite
grok-export-viewer -s data/prod-grok-backend.json -f csv
Sample Input JSON
Below is an example structure for prod-grok-backend.json:
{
"conversations": [
{
"conversation": { "title": "Sample Chat" },
"responses": [
{ "response": { "sender": "user", "message": "Hello" } },
{ "response": { "sender": "grok", "message": "Hi!" } }
]
}
]
}
Features
- Convert Grok JSON exports to multiple formats.
- HTML output includes a searchable index.
- Lightweight and offline processing.
- Supports Python 3.8+.
Development
git clone https://github.com/your-username/grok-export-viewer.git
cd grok-export-viewer
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e ".[test]"
python -m pytest
Contributing
See CONTRIBUTING.md for guidelines.
Changelog
See CHANGELOG.md for release history.
License
MIT License. See LICENSE for details.
Metadata
Release files for grok-export-viewer 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grok_export_viewer-0.1.3.tar.gz | 6.1 kB | Without provenance | Details for grok_export_viewer-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grok_export_viewer-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for grok_export_viewer-0.1.3-py3-none-any.whl |
Total release size: 12.7 kB
Release files / grok_export_viewer-0.1.3.tar.gz
| Download URL | grok_export_viewer-0.1.3.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f8eae9f2957a1864d03fe4ec689682b58bb69dbbb8dd16ef43b8f75a9b17e22
|
|
BLAKE2b-256 checksum How to use checksums |
4ec2a6af26fb84371a0cfb616b20958abf493f069df258d3d676c51487d0fc79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Release files / grok_export_viewer-0.1.3-py3-none-any.whl
| Download URL | grok_export_viewer-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c12bdae9995a4cd7bedb252dc4b432de40509dd9aaca85b3d7958837411c60c9
|
|
BLAKE2b-256 checksum How to use checksums |
a33b7c337e185e323d96864b7aea7a5b8b63bc7f5795492b28c922d4e66e6432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Security for grok-export-viewer 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.