amber-cards
v0.8.0
Published
A spaced repetition app that turns Claude Code conversations into flashcards.
Readme
Amber
A spaced repetition app that turns Claude Code conversations into flashcards.
CLI
Install the CLI to manage flashcards from your terminal:
npm install -g amber-cardsAuthenticate
amber login # browser OAuth
amber login --api-key # paste an API key insteadOr set the AMBER_CARDS_API_KEY environment variable.
Commands
| Command | Description |
| --- | --- |
| amber upload [file] | Create cards from a JSON file or inline |
| amber list | List cards (supports --status, --query, --json) |
| amber review | Interactive spaced repetition session |
| amber delete <ids...> | Delete cards by ID |
| amber import <file> | Import from Anki (.apkg), Mochi (.mochi), or Amber (.json) |
| amber export | Export all cards to JSON |
| amber status | Show card counts and review status |
| amber login | Authenticate with the Amber server |
Auto-flashcard plugin
Install the Claude Code plugin to automatically generate flashcards from your conversations:
# Add the marketplace and install the plugin
claude plugin marketplace add julianwemmie/amber-claude-plugin
claude plugin install amber-flashcards@amberTo uninstall:
claude plugin uninstall amber-flashcards@amberRequires claude CLI or ANTHROPIC_API_KEY.
Web App Development
Tech Stack
- React 19, Vite, Tailwind CSS, shadcn/ui
- Express 5, TypeScript
- Supabase (Postgres),
pg - ts-fsrs (spaced repetition scheduling)
- better-auth (authentication)
- Anthropic SDK (LLM grading)
Getting Started
- Install dependencies:
npm install - Copy
.env.exampleto.envand fill in the values - Start Supabase:
supabase start && supabase migration up - Run the dev server:
npm run dev
Docs
See docs/ for a project overview.
