llmmd2pdf

llmmd2pdf Documentation

llmmd2pdf is a local utility that streamlines the process of archiving conversations from Large Language Models (LLMs) like ChatGPT, Gemini, and Claude. It cleans raw markdown exports, adds metadata, and converts them to professional-looking PDFs using Quarto.

Interface Overview

llmmd2pdf Interface

The application interface is divided into two main sections: the Settings Sidebar (left) and the Content Editor (right).

1. Settings Sidebar

This is where you configure the output details for your document.

2. Content Editor

Workflow Guide

  1. Launch the App: Run llmmd2pdf in your terminal.
  2. Paste Text: Copy the entire conversation from your browser and paste it into the Content area.
  3. Set Destination: Select where you want the PDF to go.
  4. Metadata: Ensure the Model and Author are correct.
  5. Generate: Click Save & Convert.
    • Success: A green message appears confirming the file creation.
    • Clean Slate: The content area clears automatically so you are ready for the next chat.

Configuration

Your preferences (Author name, Port, Custom Models) are saved automatically in a configuration file found here:

OS Configuration Path
macOS ~/Library/Application Support/llmmd2pdf/config.toml
Windows %APPDATA%/llmmd2pdf/config.toml
Linux ~/.config/llmmd2pdf/config.toml

You can edit this file manually to change the default port or clean up the model list.

Development Notes

Please refer to the Development Reminders for guidelines on building new releases, local module testing, and other development tasks.