ObsiCard intelligently turns your Obsidian notes into structured flashcards powered by Groq AI. Each approved flashcard is stored inside the same note and synced instantly with your Anki Desktop deck.
- ๐ง AI Flashcard Generation - Powered by Groq API for intelligent flashcard creation
- ๐ Review & Approval Modal - Review and edit flashcards before saving
- ๐ท๏ธ Smart Tag Recommendations - Dynamic or fixed tag modes
- ๐พ Auto-Save to Notes - Flashcards stored under
## Flashcardssection - ๐ Real-Time Anki Sync - Seamless integration with Anki Desktop via AnkiConnect
- ๐ก Offline Queue - Automatic retry system for failed syncs
- โ Full Validation - Schema validation and repair pipeline
- โก Smart Chunking - Handles large notes with intelligent summarization
- ๐ฏ Context Menu Integration - Right-click to generate flashcards
-
Install the Plugin
- Download the latest release from GitHub Releases
- Extract to your Obsidian vault's
.obsidian/plugins/obsicardfolder - Enable in Obsidian Settings โ Community Plugins
-
Configure API Keys
- Get a free Groq API key from https://console.groq.com
- Add your API key in ObsiCard Settings
-
Set Up Anki (Optional)
- Install Anki Desktop
- Install AnkiConnect add-on (ID: 2055492159)
- Keep Anki running in the background
-
Generate Flashcards
- Highlight text or open a note
- Right-click โ "Generate Flashcards with ObsiCard"
- Choose mode and tags
- Review and approve flashcards
- Done! Flashcards are saved and synced
- Obsidian Desktop v1.5.0 or higher
- Groq API Key (free at console.groq.com)
- Anki Desktop + AnkiConnect (optional, for syncing)
- Select text in your note
- Right-click โ "Generate Flashcards with ObsiCard"
- Choose Dynamic (AI tags) or Fixed (your tags) mode
- Review generated flashcards
- Edit, select, and approve
- Open any note
- Click the brain icon in the ribbon, or
- Use Command Palette โ "Generate Flashcards from Current Note"
- Each flashcard shows Front, Back, and Tags
- Click checkboxes to select/deselect
- Click "Edit" to modify any flashcard
- Click "Approve & Save" to save selected cards
- If Anki is running: flashcards sync immediately
- If Anki is offline: flashcards are queued
- Use "Process Anki Sync Queue" command to retry
| Command | Description |
|---|---|
| Generate Flashcards from Selection | Create flashcards from selected text |
| Generate Flashcards from Current Note | Create flashcards from entire note |
| Process Anki Sync Queue | Retry queued flashcards |
| View Sync Queue Status | Check how many flashcards are queued |
| Test API Connections | Verify Groq and Anki connectivity |
- API Key - Your Groq API key
- Model - Choose from Mixtral, Llama 3, or Gemma 2
- Test Connection - Verify API access
- AnkiConnect URL - Default:
http://127.0.0.1:8765 - Deck Name - Target Anki deck (default: "ObsiCard")
- Auto-sync - Enable/disable automatic Anki syncing
- Max Chunk Size - Token limit per chunk (default: 3500)
- Max Parallel Requests - Concurrent API calls (1-5)
- Enable Offline Queue - Queue flashcards when Anki is offline
- Max Retries - Retry attempts for failed syncs
- Default Tags - Tags applied to all flashcards
โโโโโโโโโโโโโโโโโโโ
โ Select Text โ
โ or Full Note โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Pre-Generation โ
โ Modal (Mode + โ
โ Tags Selection) โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Groq API Call โ
โ โข Chunking โ
โ โข Generation โ
โ โข Validation โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Review Modal โ
โ (Edit/Select) โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Save to Note โ
โ (## Flashcards) โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Sync to Anki โ
โ (or Queue) โ
โโโโโโโโโโโโโโโโโโโ
- No Data Collection - ObsiCard never stores or shares your notes
- Direct API Calls - Your content is sent directly to Groq (secured by your API key)
- Local Storage - All settings and queued flashcards stored locally
Released under the MIT License. You can use, modify, and distribute freely with attribution.
# Clone repository
git clone https://github.com/aerkn1/ObsiCard.git
cd obsicard
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm test
# Build for production
npm run build
# Lint code
npm run lintContributions are welcome! Please see CONTRIBUTING.md for guidelines.
- 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
See CHANGELOG.md for version history.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Wiki
- Groq Console - Get your free API key
- AnkiConnect - Anki integration add-on
- Obsidian Plugin Development
- Powered by Groq for fast AI inference
- Inspired by the Obsidian and Anki communities
- Built with Vite and TypeScript
This project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by Arda Erkan
If you find ObsiCard useful, consider โญ starring the repository!