T3 Chat Zipper

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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