⚠️ Early stages. This works but is very much a prototype. Built in response to Dwarkesh Patel and Andy Matuschak's conversation on studying and spaced repetition.
A local PDF reader with built-in highlighting and spaced repetition flashcards. Highlight text in any PDF, turn highlights into flashcards, and review them with an SRS system. All data stored locally in ~/.config/pdfx/.
- Open any PDF in the viewer
- Highlight text to create flashcards
- Hit the review button to study with spaced repetition (Again/Hard/Good/Easy ratings)
- Highlights and review state persist across sessions
Make sure you have Bun installed.
git clone https://github.com/sasha-computer/pdfcards.git
cd pdfcards
bun install
bun run index.ts <path-to-your.pdf>Opens a local viewer at http://localhost:3000.
Bun, TypeScript, pdf.js, vanilla HTML/CSS/JS
