Flashcard Maker

You're going to build a tool that eats your messy class notes and hands back a clean deck of study flashcards, then exports them so they drop straight into Anki. By lesson 8 it's a real command-line tool. This lesson builds the smallest slice that works: notes

8 lessons, each with runnable code in the browser.

  1. Notes In, One Card Out
  2. Chunking the Notes
  3. The Extraction Prompt: Ask for JSON
  4. Parsing Messy JSON Safely
  5. Deduping the Deck
  6. Watching the Cost
  7. Keeping Only Good Cards
  8. Export to CSV and Ship

Compilearn home