Giter VIP home page Giter VIP logo

chatgpt2md's Introduction

ChatGPT to MD

Hey there! 👋 Welcome to the ChatGPT Conversation Exporter! This nifty Python script helps you filter and export your ChatGPT conversations to markdown files, making it a breeze to organize and search through your chats. 🔍📝

What does it do? 🤔

This script takes a JSON file containing all your ChatGPT conversations and lets you:

  • Filter conversations based on a search term (can be anything, like an emoji or a keyword)
  • Export the filtered conversations to individual markdown files
  • Add custom tags to the exported files for easy categorization
  • Save the markdown files to a directory of your choice

Pretty cool, right? 😎

How to use it 🛠️

Using this script is super easy! Just follow these steps:

  1. Make sure you have Python installed on your machine. If you don't, head over to the Python website and grab the latest version.

  2. Download the chatgpt_exporter.py script from this repo and save it somewhere on your computer.

  3. Open your terminal or command prompt and navigate to the directory where you saved the script.

  4. Run the script by typing python chatgpt_exporter.py and hit Enter.

  5. The script will prompt you for some info:

    • The path to your conversations.json file (this is the file containing all your ChatGPT conversations)
    • The output directory where you want to save the exported markdown files (default is obsidian_import)
    • Any tags you want to add to the exported files, separated by commas (default is chatgpt)
    • The search term you want to use to filter your conversations
  6. Sit back and let the script work its magic! ✨ It'll filter your conversations and export the matching ones to markdown files in the output directory you specified.

  7. Once the script is done, you'll find your exported conversations in the output directory, ready to be imported into your favorite note-taking app or shared with the world! 🌍

Troubleshooting 🚧

If something goes wrong, don't panic! The script logs any errors to a file called conversion.log in the same directory. Check this file for clues on what might have gone wrong.

If you're still stuck, feel free to open an issue on this repo, and we'll do our best to help you out! 💪

Happy exporting! 🎉

That's it! You're now ready to filter and export your ChatGPT conversations like a pro. Happy organizing and searching! 🗂️🔎

chatgpt2md's People

Contributors

profsynapse avatar

Stargazers

 avatar  avatar Michał Połtyn avatar KidKarmaツ avatar  avatar Jen avatar Pablo Jimeno avatar

Watchers

Jen avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.