Previously. I started to use Claude Code to generate flashcards for my (new) Tech Deck via AnkiConnect, covering books and topics I’m studying for to consolidate my SWE-SRE knowledge. The workflow: I tell Claude which book or topic to cover, it researches their key concepts, checks my existing cards (notes) for potential overlap, and batch-adds new ones via the AnkiConnect HTTP API: python def anki_request(action, **params): payload = json.dumps({"action": action, "version": 6, "params": params}) req = urllib.request.Request("http://localhost:8765", data=payload.encode(), method="POST") with urllib.request.urlopen(req) as resp: return json.loads(resp.read())["result"] notes = [ { "deckName": "Tech 💻", "modelName": "Basic", "fields": { "Front": "DDIA: <b>LSM-Trees vs B-Trees</b> — how do they differ?", "Back": "..." # HTML-formatted answer }, "tags": ["ddia"], }, # ... more notes ] anki_request("addNotes", notes=notes) In a sample session, topics covered: Topic Cards Tag SRE (Google)…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.