Project Files
README
An LM Studio plugin that automatically exports your chat conversations to .md (Markdown) files ā perfect for building a searchable archive, feeding into RAG pipelines, or just keeping a tidy record of your LLM chats.
The plugin quietly watches your conversations in the background. Every time the total message count hits a threshold (default: 10 messages), it writes the entire chat to a Markdown file in a folder you choose.
Install directly from the LM Studio Hub:
Or install via the CLI:
lms install local/chat-auto-exporter
.md files will be saved (e.g. D:\My Chat Exports)That's it! Start chatting and your conversations will be exported automatically.
Files are named with a sortable date prefix and a unique chat fingerprint:
2026-05-03_1430_chat-a3f9b2c1.md 2026-05-03_1502_chat-f7e2d019.md 2026-05-04_0900_chat-a3f9b2c1.md ā same chat, updated content
Sorting by filename = chronological order. The fingerprint is derived from the first message in each chat, so the same conversation always maps to the same file.
Each exported file looks like:
# Chat Export *Exported on: 2026-05-03 14:30:00* *Messages: 10* --- ### š§ User What is the meaning of life? --- ### š¤ Assistant That's a profound question... ---
Clone and run in dev mode:
cd chat-auto-exporter npm install lms dev
The dev server watches for code changes and hot-reloads the plugin automatically.
chat-auto-exporter/ āāā manifest.json ā plugin metadata āāā package.json ā dependencies āāā tsconfig.json ā TypeScript config āāā src/ āāā index.ts ā entry point (wires everything up) āāā config.ts ā settings UI schema (export folder + threshold) āāā promptPreprocessor.ts ā core logic (count, format, export)
UNLICENSED