Baby come back, any kind of fool could see
There was something in everything about you
Baby come back, you can blame it all on me
I was wrong and I just can't live without you
- Baby Come Back, Player
As a developer, I’ve found ChatGPT to be an invaluable resource for getting quick answers to programming questions,
brainstorming solutions, and even tackling the occasional debugging conundrum. It’s even helping write this blog
post. It’s like having a virtual team of experienced developers at your disposal 24/7. But as much as I have come
to rely upon ChatGPT, I needed a better way to organize my chats with it.
Enter Obsidian, a powerful note-taking and knowledge management app that is my go-to tool for organizing
thoughts, code snippets, and more. I realized that if I could import my ChatGPT exports into Obsidian, I’d have
a highly efficient way to search, reference, and build upon my ChatGPT conversations.
I wrote the following small Go program to parse a ChatGPT export file and generate a series of Markdown files from it,
one per conversation, suitable for Obsidian or any other Markdown based editor. The program takes two arguments,
the name of the conversations.json file from the export, and the directory where the generated Markdown files should
To generate a ChatGPT export, click on Settings from the hamburger menu at the bottom left corner of the page.
That will bring up a dialog with a Export Data link. You will be emailed a link to download the export when it’s ready.