Transform your Google AI Studio chats into beautifully formatted Markdown documents with ease!
-
Navigate to Your Google Drive Folder:
-
Download Your AI Studio Files:
-
Run the Script:
The script will:
- 🗂️ Unzip the file
- 📁 Create a new folder called "AI_Studio_Chats"
- 📦 Move all the files into the new folder
- ✏️ Rename the files to have a
.json
extension - 📁 Create a new folder called "Markdown Chats"
- 🔄 Convert the JSON files to Markdown files and place them in the "Markdown Chats" folder
-
Clone the Repository:
git clone https://github.com/wh0isdsmith/aistudio2md cd aistudio2md
-
Place Your Zip File:
- Ensure your downloaded zip file is in the same directory as the script.
-
Run the Script:
python gemini2md.py
-
Check the Output:
- Find your converted Markdown files in the "Markdown Chats" folder.
Here's a quick example of running the script:
python gemini2md.py
Unzipping complete and .json extension added to files.
Successfully converted 'AI_Studio_Chats/example.json' to 'Markdown Chats/example.md'
- Ensure the zip file is in the correct directory.
- Verify that the JSON files are properly formatted.
- Check the console output for error details if you encounter any issues.
This project is licensed under the MIT License.