Chat Session to Markdown

GPT-4 Chat Session to Markdown Converter: A handy command-line tool that uses JQ to convert GPT-4 chat session JSON data into a more readable and visually appealing Markdown format.

View the Project on GitHub rabestro/gpt4-session-to-markdown

GPT-4 Session to Markdown

This script converts GPT-4 chat session JSON data to markdown format and adds YAML front matter to the top of the file to prepare it for publishing on a Jekyll site.

Requirements

Usage

  1. Clone the repository:
    git clone https://github.com/rabestro/gpt4-session-to-markdown.git
    cd gpt4-session-to-markdown
    
  2. Make the script executable:
    chmod +x post
    
  3. Run the script with the JSON file as an argument:
    ./post <file.json>
    

    Replace <file.json> with the path to your GPT-4 chat session JSON file.

Configuration

You can customize the script by modifying the following variables at the beginning of the post script:

Showcases

License

This project is licensed under the MIT License. See the LICENSE file for details.