The Flashcard Generator plugin automatically generates flashcards from your Obsidian notes using the OpenAI API and pushes them to a local Anki app.
- Automatically generate flashcards from bullet points(they work best) in Obsidian notes.
- Push generated flashcards to the Anki app.
- Specify a custom deck name for the generated flashcards in Anki.
- Configure the OpenAI GPT model to use for flashcard generation.
- Specify a custom user prompt to be used for generating the flashcards.
- Open a note in Obsidian.
- Run the "Generate flashcards from current file" command. The plugin will extract flashcards from the note and push them to the Anki app running locally.
To specify a custom deck name for the generated flashcards, add a line at the beginning of the note in the following format:
Deck: Computer Science::Python
You can configure the following settings in the Flashcard Generator plugin:
- OpenAI API Key: Add your OpenAI API key to enable the flashcard generation feature.
- Anki Deck Name: Specify the default Anki deck name where flashcards will be added.
- OpenAI GPT Model Name: Select the OpenAI GPT model to use for flashcard generation.
This plugin requires the following dependencies:
- Obsidian
- OpenAI (
openai
) - Anki app running locally with AnkiConnect installed
If you encounter any issues, please report them on the GitHub issues page.