Build ZIP from clipboard, last message, or last X messages
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.
t3chat-YYYY-MM-DD-HH-MM.zipZIP 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:
js/script.js → `js`ts filename=src/app.ts`path/to/file.ext