An Obsidian plugin that generates Anki flashcards from trigger words in your notes. Transform your structured notes into effective spaced repetition study material by identifying definitions, examples, formulas, and key concepts.
- 🎯 Trigger Processing: Convert trigger words (definitions, examples, formulas) into flashcards
- 🚀 Direct Anki Export: Send cards directly to Anki using AnkiConnect
- 📂 Batch Processing: Process multiple folders at once
- ⚡ Fast Processing: Local processing for immediate results
The plugin focuses on triggers that help structure your learning material. Front of anki note will be triggers and Back of note will be the remaining line after triggers. Simply add trigger words in the settings.
Example triggers:
prototypical example:
- Create example cardskey point:
- Create key point cards
Usage example:
In markdown notes, begin lines with trigger words followed by your content. (Applying bold or italics to triggers are allowed)
Run the "Export All Files Directly to Anki" command. Open the Anki app to see your new cards.
For each trigger, the deck is created automatically in Anki.
- Download the latest release from the Releases page
- Extract the files to your Obsidian vault's
.obsidian/plugins/anki-trigger-flashcards/
folder - Enable the plugin in Obsidian Settings > Community Plugins
- Go to Settings > Community Plugins > Anki Trigger Flashcards
- Paste your Gemini API key (optional)
- Configure triggers and folder paths as needed
- Generate Cards from Triggers - Main functionality that creates cards from trigger words
- Process Multiple Folders for Triggers - Batch process multiple folders for trigger words
- Export All Files Directly to Anki - Generate cards directly to Anki via AnkiConnect
- Test AnkiConnect Connection - Verify AnkiConnect setup and show available decks
- Test Gemini API Connection - Verify your Gemini API key is working
- List Available Folders - Show all folders in your vault for configuration
Configure triggers and folder paths in the plugin settings:
- Triggers: Add/modify the list of triggers to recognize
- Folder Paths: Set specific folders to process when using batch operations
- AnkiConnect: Enable direct export to Anki and configure connection settings
For direct export to Anki:
- Install AnkiConnect: In Anki, go to Tools → Add-ons → Get Add-ons → Code:
2055492159
- Restart Anki: Close and reopen Anki after installation
- Enable in Plugin: Go to plugin settings and enable AnkiConnect
- Test Connection: Use "Test AnkiConnect Connection" command to verify setup
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Built with Obsidian Plugin API
- Thanks to the Obsidian community