Chat Shared Conversation To File banner
Dicklesworthstone Dicklesworthstone

Chat Shared Conversation To File

Communication community

Description

CLI tool that converts public share links from ChatGPT, Gemini, Grok, and Claude into clean Markdown and static HTML transcripts with GitHub Pages publishing

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

csctf — Chat Shared Conversation → File

![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-blue) ![Runtime](https://img.shields.io/badge/runtime-Bun%201.3+-purple) ![Status](https://img.shields.io/badge/status-alpha-orange) ![License](https://img.shields.io/badge/License-MIT%2BOpenAI%2FAnthropic%20Rider-blue)

Single-file Bun-native CLI that turns public ChatGPT, Gemini, Grok, and Claude share links into clean Markdown + HTML transcripts with preserved code fences, stable filenames, and rich terminal output.

curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/chat_shared_conversation_to_file/main/install.sh?$(date +%s)" \
  | bash

✨ Highlights

  • Zero-setup binaries: Installer prefers published release binaries per-OS; falls back to Bun source build automatically.
  • Accurate Markdown + HTML: Preserves fenced code blocks with detected language, strips citation pills, normalizes whitespace and line terminators, and renders a styled HTML twin.
  • Deterministic filenames: Slugifies the conversation title and auto-increments to avoid clobbering existing files.
  • Readable progress: Colorized, step-based console output powered by chalk.
  • Multi-provider: Works with public shares from ChatGPT (chatgpt.com/share), Gemini (gemini.google.com/share), Grok (grok.com/share), and Claude (claude.ai/share).

💡 Why csctf exists

  • Copy/pasting AI share links often breaks fenced code blocks, loses language hints, and produces messy filenames. csctf fixes that with stable slugs, language-preserving fences, and collision-proof outputs.
  • Exports both Markdown and a static HTML twin (no JS) for easy hosting/archiving, with normalized whitespace and cleaned citations.
  • Optional GitHub Pages publishing turns a single command into a shareable, indexed microsite.

🧭 Design principles

  • Determinism: slugging and collision handling are explicit; writes are t