ctxport  by nicepkg

AI conversation context exporter for seamless cross-platform transfer

Created 2 weeks ago

New!

279 stars

Top 93.3% on SourcePulse

GitHubView on GitHub
Project Summary

CtxPort is a browser extension designed to streamline the process of copying and transferring AI conversations across various platforms. It addresses the common pain point of messy, unformatted text when moving content between tools like ChatGPT, Claude, and Gemini, offering a one-click solution to generate clean, structured Markdown "Context Bundles." This benefits users who rely on AI for knowledge work and need to efficiently share or repurpose AI-generated insights.

How It Works

CtxPort functions as a browser extension that integrates directly with supported AI chat interfaces. Upon activation (via a button or keyboard shortcut), it captures the current conversation locally. It then processes this data, generating a structured Markdown document that includes metadata (source, URL, date, title) and the conversation nodes. This "Context Bundle" can be pasted into any other AI tool, document, or chat, preserving formatting and context without requiring uploads or internet connectivity.

Quick Start & Requirements

  • Install: A Chrome Web Store release is planned but not yet available. Currently, users must build from source.
  • Build from Source: Clone the repository, install dependencies using pnpm install, build packages with pnpm build, and start the extension in development mode with pnpm dev:ext. Load the unpacked extension from apps/browser-extension/dist/chrome-mv3-dev in chrome://extensions.
  • Prerequisites: pnpm (Node.js package manager) is required. A Chrome browser is needed for development and usage.
  • Documentation: https://ctxport.xiaominglab.com

Highlighted Details

  • Supports one-click copying of entire conversations from ChatGPT, Claude, Gemini, DeepSeek, Grok, and GitHub.
  • Features a unique "Sidebar List Copy" function, allowing conversations to be copied directly from the sidebar without opening them.
  • Generates structured Markdown "Context Bundles" with frontmatter metadata for precise context transfer.
  • Offers multiple copy formats: Full, User Only, Code Only, and Compact.
  • Operates 100% locally, ensuring zero data upload, offline functionality, and minimal browser permissions.

Maintenance & Community

The project has a detailed roadmap including planned features like a Chrome Web Store release, Firefox support, and Context Bundle import/export capabilities. Contributions are welcomed via pull requests.

Licensing & Compatibility

The project is licensed under the MIT License, permitting broad use, modification, and distribution, including for commercial purposes.

Limitations & Caveats

The official Chrome Web Store release is pending. Firefox support is planned but not yet implemented. Advanced features such as Context Bundle import and batch export are still under development.

Health Check
Last Commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
3
Star History
282 stars in the last 18 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
9 more.

companion-app by a16z-infra

0.1%
6k
AI companion stack for personalized chatbots
Created 2 years ago
Updated 1 year ago
Feedback? Help us improve.