cardsmith: offline flashcards from your own PDFs, checked against the source
说明与用途
cardsmith 能自动从 PDF、PPTX 和文本文件生成闪卡,检查引用是否与原文一致,使用 SM‑2 算法本地存储,并可导出为 Anki 卡包。
问题
Creating flashcards from long PDFs or slide decks manually is time‑consuming, leading users to skip active recall and rely on weaker rereading.
结果
On a 3,248‑word biology chapter, cardsmith produced 152 cards in ~13 minutes, with 92.5% factual accuracy after manual review.
工作流
- Point cardsmith at a PDF, PPTX, or text file
- cardsmith splits the document into 120‑900 word chunks
- each chunk is sent to a local Ollama model (default qwen3:4b)
- model generates flashcards with a verbatim source_quote
- cardsmith checks if source_quote is an exact substring of the chunk
- flagged cards are shown in preview for editing or deletion
- cards are stored in a local SQLite database with SM‑2 scheduler
- grade cards with four buttons to record recall quality
- export deck to .apkg via genanki for Anki use
证据
The mechanical quote check matched 142 of 152 cards to an exact substring of the source text. I then hand rated a 40 card sample against the source and found 37 factually accurate, 1 inaccurate, and 2 unusable, for 92.5 percent accuracy.
- 记录日期: 2026-10-01T01:44:10.844Z