ctxport is a free, open source ai interaction & interfaces project written in TypeScript and released under MIT. It has 637 GitHub stars, 134 forks and 9 open issues, and was last pushed 7 months ago. On this registry it ranks #73 of 76 tracked projects in AI Interaction & Interfaces, with 5 head-to-head comparisons available. It gained 1 stars over the last 3 tracked days.

What is ctxport?

CtxPort is a TypeScript, MIT-licensed Chrome extension for developers, researchers, and anyone who works across several AI chat tools and needs to move a full conversation out of ChatGPT, Claude, Gemini, DeepSeek, Grok, Doubao, or GitHub as clean, structured Markdown rather than a mess of copied HTML.

What it is

CtxPort is an open-source browser extension built on Manifest V3 that adds a copy control directly inside supported AI chat interfaces. One click, or the keyboard shortcut Alt+Shift+C, turns an entire conversation into a structured Markdown document that the README calls a Context Bundle. The bundle is plain text, so it can be pasted into another AI tool, an editor, a notes app, a team chat, or a pull request.

The concrete problem it solves is the clipboard. Selecting a whole conversation and copying it yields HTML artifacts, broken formatting, and missing code blocks, and the README describes spending around ten minutes fixing that output by hand. Copying message by message is slow, and screenshots turn text into an image that cannot be searched or reused. CtxPort replaces that manual select-all-and-repair workflow with a single action inside the AI chat ecosystem, and it does so entirely in the browser: no account, no upload, no server round trip.

Key capabilities

  • An in-chat copy button appears inside the conversation and copies the whole thread in one click.
  • Sidebar list copy lets a user hover over any conversation in the sidebar and copy it without even opening it.
  • The keyboard shortcut Alt+Shift+C copies the current conversation instantly.
  • Four output formats are available: Full, User Only, Code Only, and Compact.
  • Supported platforms are ChatGPT, Claude, Gemini, DeepSeek, Grok, Doubao, and GitHub.
  • Processing is 100% local with zero upload and minimal permissions, and it works offline without an account.
  • Documentation lives at https://ctxport.xiaominglab.com, and the README is published in English and Simplified Chinese.

Who uses it and how

  • A developer who worked out an architecture in ChatGPT pastes the Context Bundle into Claude to continue implementation without retyping the history.
  • A team member exports a clean .md file and shares it in team chat or attaches it to a pull request instead of sending screenshots.
  • A knowledge worker saves a conversation as structured Markdown they keep, rather than bookmarking a URL and hoping it survives.
  • Someone extracting code from a long thread switches to Code Only mode instead of scrolling through fifty messages hunting for snippets.
  • Anyone moving context between AI tools pastes the bundle rather than re-entering the conversation history.

Getting started

CtxPort is installed as a browser extension, and the README points to its Quick Start section and to the documentation site at https://ctxport.xiaominglab.com. There is no configuration, no sign-up, and no cloud step: install the extension, browse a supported platform, and press the copy button or Alt+Shift+C.

How it compares

The facts provided list no paid products that CtxPort replaces, and they name no comparable tools in this registry either. On the evidence available, it stands alone here as a local, open-source conversation exporter for AI chat interfaces.

When to use it — and when not to

Because all processing happens in the browser, a self-hoster has no database, storage bucket, or SMTP service to operate, which keeps the operational burden near zero. The trade-offs are elsewhere: the project is a browser extension, so it must be installed per browser and depends on the interfaces of the supported platforms continuing to expose their conversations, and the README excerpt given here is truncated, so install detail and full platform coverage beyond the listed badges should be confirmed on the documentation site. Anyone who needs a server-side archive, an API, or a hosted service rather than a clipboard tool should look elsewhere; the repository currently shows 9 open issues and was last pushed on 2026-03-04, so it is actively maintained but small.

project readme (upstream, from github) — read inline

CtxPort

One click. Structured Markdown. Any AI conversation.

Your AI conversations deserve a better clipboard.

GitHub Stars License: MIT PRs Welcome Manifest V3

简体中文 | English

Supported Platforms

ChatGPT Claude Gemini DeepSeek Grok Doubao GitHub


Get Started · Features · Documentation


The Problem

You just spent 45 minutes in a deep conversation with ChatGPT. You found the perfect architecture for your project. Now you need to share it with Claude for implementation.

What do you do?

Ctrl+A, Ctrl+C? You get a mess of HTML artifacts, broken formatting, and missing code blocks.

Copy each message manually? Life is too short.

Screenshot it? Text in images is where knowledge goes to die.

AI conversations are the new unit of knowledge work. But moving them between tools feels like faxing a PDF in 2026.

CtxPort fixes this. One click, and your entire conversation becomes a clean, structured Markdown document -- ready to paste into any AI tool, editor, or knowledge base.

The Difference

Without CtxPort With CtxPort
Copy a conversation Select all, copy, paste, fix formatting for 10 min One click. Done.
Move context between AIs Re-type your whole conversation history Paste the Context Bundle, keep going
Save a conversation Bookmark it and pray the URL survives Structured Markdown you own forever
Share with your team "Let me screenshot this..." Share a clean .md file
Extract just the code Scroll through 50 messages hunting for snippets Code Only mode, one click

Key Benefits

  No account required           Works offline
  Zero data uploaded            100% local processing
  Minimal permissions           Open source (MIT)

How It Works

graph LR
    A["AI Conversation<br/>(ChatGPT, Claude, etc.)"] --> B["CtxPort<br/>Browser Extension"]
    B --> C["Context Bundle<br/>Structured Markdown"]
    C --> D["Another AI Tool"]
    C --> E["Your Notes / Docs"]
    C --> F["Team Chat / PR"]
  1. Browse any supported platform
  2. Click the CtxPort copy button (or press Alt+Shift+C)
  3. Paste your structured Context Bundle anywhere

That's it. No configuration. No sign-up. No cloud.


Features

Copy From Anywhere

Feature Description
In-Chat Copy Button A copy button appears right in the conversation -- click to copy the entire thread
Sidebar List Copy Hover over any conversation in the sidebar and copy without even opening it
Keyboard Shortcut Alt+Shift+C copies the current conversation instantly
Multiple Formats Full, User Only, Code Only, Compact -- pick what you need

Sidebar List Copy -- The Feature Nobody Else Has

Most copy tools make you open a conversation first. CtxPort lets you hover over conversations in the sidebar and copy them directly. Need to grab 5 conversations for a project brief? Hover, click, hover, click. No page loads. No waiting.

Context Bundle Format

Every copy produces a structured Markdown document with frontmatter metadata:

---
ctxport: v2
source: chatgpt
url: https://chatgpt.com/c/abc123
title: "Discuss REST API Authentication"
date: 2026-02-07T14:30:00Z
nodes: 24
format: full
---

## User

I'm building a SaaS product and need to choose between
API key auth and OAuth2. What do you recommend?

## Assistant

Based on your scenario, I'd recommend a layered approach...

The frontmatter tells any receiving tool exactly where this conversation came from, when it happened, and how many messages it contains. Structured context, not just raw text.

Copy Formats

Format What You Get Best For
Full Complete conversation with all messages Context transfer between AI tools
User Only Only your messages (prompts) Reusing your prompts in a different AI
Code Only Extracted code blocks with language tags Grabbing implementation snippets
Compact Condensed single-paragraph messages Quick sharing in chat or email

Quick Start

Install from Chrome Web Store

Coming soon -- currently in development. Star the repo to get notified!

Build from Source

# Clone the repo
git clone https://github.com/nicepkg/ctxport.git
cd ctxport

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Start the extension in dev mode
pnpm dev:ext

Then load the unpacked extension from apps/browser-extension/dist/chrome-mv3-dev in chrome://extensions.

Usage

  1. Navigate to any supported platform (ChatGPT, Claude, Gemini, DeepSeek, Grok, Doubao, GitHub)
  2. Start or open a conversation
  3. Click the CtxPort copy button that appears in the chat, or press Alt+Shift+C
  4. Paste your Context Bundle wherever you need it

For sidebar list copy: hover over any conversation in the left sidebar to reveal the copy icon.


Roadmap

  • ChatGPT support
  • Claude support
  • Gemini support
  • DeepSeek support
  • Grok support
  • Doubao (豆包) support
  • GitHub Issues & PRs support
  • Sidebar list copy
  • Multiple copy formats
  • Keyboard shortcuts
  • Chrome Web Store release
  • Firefox support
  • Context Bundle import (paste a bundle to restore conversation context)
  • Batch export (select multiple conversations, export as a bundle)
  • Custom format templates

Architecture

ctxport/
  packages/
    core-schema/       # Zod schemas for Context Bundle format
    core-plugins/      # Platform adapters (ChatGPT, Claude, etc.)
    core-markdown/     # Markdown serialization engine
    shared-ui/         # Shared React components
  apps/
    browser-extension/ # WXT + React 19 + Tailwind CSS 4

Built as a monorepo with pnpm workspaces and Turborepo. Each platform adapter is a self-contained plugin, making it straightforward to add new platforms.


Contributing

Contributions are welcome! Whether it's a bug report, feature request, or pull request -- every contribution helps.

# Fork and clone the repo
git clone https://github.com/YOUR_USERNAME/ctxport.git

# Install dependencies
pnpm install

# Start development
pnpm dev:ext

See CONTRIBUTING.md for detailed guidelines.

Contributors


License

MIT -- Use it however you want.


If CtxPort saves you time, consider giving it a star.

It helps others discover the project and keeps development going.

[Star on GitHub](https://github.com/nicepkg/ctxpor

readme truncated — read the full docs on github

Frequently asked questions

Is ctxport free to use?

ctxport is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does ctxport do?

Copy AI conversations as clean Markdown Context Bundles — one click from ChatGPT, Claude, Gemini, DeepSeek, Grok & GitHub. Copy from sidebar without opening. Ze

What is ctxport written in?

ctxport is primarily written in TypeScript. Its source is publicly available at https://github.com/nicepkg/ctxport, and it has 637 GitHub stars.