T3 Chat Zipper

Build ZIP from clipboard, last message, or last X messages

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Microck
日安装量
0
总安装量
1
评分
0 0 0
版本
6.3.1
创建于
2025-11-19
更新于
2025-11-29
大小
11.2 KB
许可证
MIT
适用于

T3 Chat Zipper

Install with TamperMonkey Install with ViolentMonkey

A ViolentMonkey/TamperMonkey userscript that adds three ZIP export buttons to t3.chat. Automatically extracts code blocks from messages and downloads them as a ZIP archive.

Features

  • ZIP from Clipboard: Reads clipboard content with code blocks
  • ZIP from Last Message: Extracts the most recent message in the chat
  • ZIP from Last X Messages: Combines multiple recent messages into one ZIP
  • Detects filenames from markdown fences, header lines, or info strings
  • Creates ZIP files named t3chat-YYYY-MM-DD-HH-MM.zip
  • Matches T3's reflect button styling (semi-transparent, full color on hover)

Installation

  1. Install a userscript manager: ViolentMonkey or TamperMonkey
  2. Create a new userscript and paste the code, or use the raw URL
  3. Open https://t3.chat and refresh the page
  4. Three buttons appear in the bottom-right corner

Usage

ZIP from Clipboard
Copy any message containing code blocks, then click the button.

ZIP from Last Message
Click the button to extract the most recent message automatically.

ZIP from Last X Messages
Click the button, enter a number (e.g., 3), and combine that many recent messages.

The script automatically detects filenames from:

  • Header lines above fences: js/script.js`js
  • Fence info strings: `ts filename=src/app.ts
  • Bare paths: `path/to/file.ext