Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

hacklmdev/aichatbackup

AI Chat Backup

CI License: GPL v3

Export your AI chat history from ChatGPT, Claude, Gemini, Perplexity & Grok and continue conversations anywhere.

Free. Local-only. No account required.

What This Does

  • Save conversations from five AI chat platforms with one click
  • Browse your vault — search, filter, and read saved threads
  • Resume anywhere — copy a seed prompt and paste it into any AI to pick up where you left off
  • Local-only storage — everything stays in your browser via chrome.storage.local
  • No telemetry — no server, no tracking, no cloud

Supported Platforms

Provider Hosts
ChatGPT chatgpt.com, chat.openai.com
Claude claude.ai
Gemini gemini.google.com
Perplexity www.perplexity.ai
Grok grok.com, x.com/i/grok

Getting Started

npm install
npm run build

Then load the dist/ folder as an unpacked extension in Chrome:

  1. Open chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked and select the dist/ directory

Navigate to any supported AI chat page. A floating dial appears — click Save to capture the conversation.

For the full walkthrough, see Getting Started.

Architecture

Directory Purpose
src/extractors/ Per-provider DOM/API parsers — one file per platform
src/content-scripts/ Injected UI: floating dial, save button, restore button
src/background/ Service worker — message router, vault writes, seed prompt generation
src/utils/vault.ts chrome.storage.local wrapper with index + full-thread split
src/types/schema.ts Canonical data model: Thread, Message, Attachment
src/popup/ Extension popup — per-provider conversation counts
src/options/ Vault Dashboard — browse, search, filter, view, delete

For the full module map and data flow, see Architecture.

Privacy

  • All data is stored locally in chrome.storage.local. Nothing leaves your browser.
  • No external server. No cloud sync. No account.
  • No telemetry or analytics of any kind.
  • The extension only reads page content on the five supported AI chat sites, and only when you click Save.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening a PR.

Legal

ChatGPT™ and OpenAI™ are trademarks of OpenAI, Inc. Claude™ is a trademark of Anthropic, PBC. Google Gemini™ and Google DeepMind™ are trademarks of Google LLC. Grok™ is a trademark of xAI Corp and/or X Corp. Perplexity™ is a trademark of Perplexity AI, Inc. All trademarks are the property of their respective owners and are used here solely to identify the third-party services with which AI Chat Backup is designed to interoperate.

AI Chat Backup is an independent, community-driven open-source project. It is not affiliated with, endorsed by, or sponsored by OpenAI, Anthropic, Google, xAI, X Corp, Perplexity AI, or any other AI provider whose services this software is designed to work with.

See NOTICES.md for the full trademark attribution table.

License

GNU General Public License v3.0 — see LICENSE.

About

Save, browse, and restore conversations from ChatGPT, Claude, Gemini, Grok, and Perplexity — entirely on your device. No cloud, no account.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors