anki-cli
v0.1.2
Published
A terminal-based flashcard application with mcp and spaced repetition
Maintainers
Readme
anki-cli
A terminal flashcard app with spaced repetition and AI integration.
Install
bun install -g anki-cliUsage
Run the app:
ankiKeyboard shortcuts:
↑/↓- Navigate menusEnter- SelectESC- Go backSpace- Flip card (in study mode)1-4- Rate difficulty (Again/Hard/Good/Easy)
Use with AI (OpenCode)
Add this to your opencode.jsonc:
{
"mcp": {
"anki": {
"type": "local",
"command": ["anki-mcp"],
"enabled": true
}
}
}Then ask your AI to create cards, start reviews, or manage your decks.
Tech Stack
- OpenTUI - Terminal UI framework
- Drizzle ORM - SQLite database
- Bun - JavaScript runtime
- MCP - Model Context Protocol for AI integration
