Skip to content

Instantly share code, notes, and snippets.

@thomasasfk
thomasasfk / copy-chat-claude.js
Created February 25, 2025 12:14
Simple tampermonkey script to add a "Copy Chat" button to Claude, copies to clipboard in markdown
// ==UserScript==
// @name Claude.ai Chat Exporter (Complete)
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Export complete Claude.ai conversations to Markdown
// @author thomasasfk
// @match https://claude.ai/chat/*
// @grant GM_setClipboard
// @run-at document-idle
// ==/UserScript==
@thomasasfk
thomasasfk / anki-addon-builder.py
Created February 21, 2025 20:07
Anki add-on builder simple single file script version. (not tested extensively)
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.8"
# dependencies = [
# "pyqt5",
# "pyqt6",
# "whichcraft",
# "typing-extensions; python_version<'3.9'"
# ]
# ///
@thomasasfk
thomasasfk / qbittorrent-to-rtorrent.py
Last active July 30, 2026 10:11
Migration script to transfer torrents from qBittorrent to rTorrent.
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.13"
# dependencies = ["qbittorrent-api"]
# ///
import argparse
from textwrap import dedent
import qbittorrentapi