Skip to content

Microck/t3-chat-zipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

License

MIT Microck

About

A ViolentMonkey/TamperMonkey userscript that adds a button to t3.chat which instantly packs copied T3 Chat code blocks (with markdown fences) into a downloadable .zip.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors