A command-line tool that processes JSON exports of ChatGPT conversations and converts them into well-formatted markdown files.
- Converts ChatGPT JSON exports to individual markdown files
- Exports conversations to a specified output directory or current directory
- Supports limiting the number of conversations processed
- Simple and efficient processing
This tool is written in Go and requires compilation before use.
Requirements:
- Go 1.16 or higher
Build:
go build -o chatGPTImportInstallation (Linux):
sudo install -m 755 chatGPTImport /usr/local/bin/After installation, you can run chatGPTImport from any directory.
chatGPTImport [source] [optional output] [flags]-l, --limit <number>- Maximum number of conversations to process (0 for no limit, Default)-h, --help- Display help information
chatGPTImport ./chatgptExport/conversations.json ./markdown -l 10MIT