The following blog post acts like a diary and carries the personal thoughts of Elder Prince, founder of Blossomsoft Games.
Today, during one of the rare times I could spend on the computer, I created a PHP script (with some help from ChatGPT) that lets me break down a very large HTML file into smaller, manageable chunks.
Why did I need to do this?
Every month or so, I export all my chat sessions from the OpenAI interface and clear the slate to start fresh. Their platform isn’t designed for proper organization—although they’ve recently added a “Projects” feature after three years of bad management, it’s still super limited and awkward to use. Honestly, how can a multi-million-dollar company have such a lackluster interface? It doesn’t even match the standards we had back in the ’90s. It’s baffling. The add-ons created by other users to tweak the search engine and make ChatGPT more flexible are often unreliable.
Overall, their export tool only dumps your entire chat history into one massive HTML file. My most recent export was 30 MB, which made it almost impossible to navigate. With the script I wrote, it splits that huge file into about 500 smaller HTML files (for a total of 5 MB), each one named based on the chat title.
The best part? I can now import all these smaller files into Stagsi and tag each one with proper labels, making it super easy to find specific ChatGPT discussions later.
This script is an absolute lifesaver!
You can download the RAR file here if you think it might be helpful for you too. However, it might not be compatible with future changes to OpenAI’s file export structure.
Leave a Reply