google / google/llm-sidebar-with-context

Feature request: Export chat history as a markdown file

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
33
Forks
8
PR merge metrics
No merged PRs in 30d

Description

## Problem
Chat history is stored locally in `chrome.storage.local`, no way to export, share or back it up. If the extension is uninstalled or Chrome resets its storage, all conversation history is lost.

## Proposed Solution
Add an "Export" button next to the existing "New Chat" button in the bottom. Clicking it would download current chat history as a `.md` file, formatted like:

**You**

Explain this code snippet from the documentation.

**Gemini**

This code snippet demonstrates...

The filename would include the date, e.g. `chat-export-2026-04-13.md`.

## Scope
This initial implementation would export the transcript only, since `ChatMessage` does not currently store timestamps or tab metadata. Those could be added in a future enhancement.

## Would you like me to implement this?
I am happy to submit a PR for this if it aligns with the project's goals.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.