Since starting my wiki, in addition to a note-taking tool and a writing aid, I've wanted it to be a kind of personal textbook - something that helps me memorise the knowledge that I've captured and the ideas that I'm working on.
One seemingly good way of doing that is by turning relevant parts of it into flashcards, and revising them with spaced repetition. Andy Matuschak has a lot of notes on the benefits of spaced repetition, and one in particular on using it for application, synthesis, and creation.
If notes are the seeds in your garden, then they need a bit of TLC to grow into fully-fledged, fruit-bearing ideas. Flashcards will be my reminder to water them regularly.
1. Flashcards and org
But I'm most likely to do the flashcards on my phone, not at my desktop, and none of them will work with orgzly.
So, Anki is a piece of software that will be work for this. I've used Anki it on and off in the past - it's a libre software tool for flashcards that uses spaced repetition. There's a cross-platform desktop version, a web version, and mobile apps, so you can do it in a bunch of places.
So I set that up - notes on how below. It's worth noting that anki-editor is an org-mode thing, not org-roam specific, but as I'm trying to mix my flashcards and my org-roam zettelkasten-ish personal wiki, I'll probably have more of an org-roam slant here.
2. Install Anki
First you'll need Anki. You can get it from the site, but as I'm on Ubuntu I just went for it straight from the repos.
sudo apt install anki
3. Install AnkiConnect
4. Install anki-editor
anki-editor is the Emacs extension that let's you push your cards from your org files into your Anki decks. It's on Melpa, so you can just install it however you would usually do so in your flavour of Emacs. I'm using spacemacs, so I added
anki-editor in to
dotspacemacs-additional-packages in my .spacemacs and gave everything a refresh with
SPC f e R.
5. Creating flashcards
Now you can create flashcards in your org files, and push them to Anki via AnkiConnect.
anki-editor-insert-note will create a new flashcard. Here's an example.
anki-editor-push-notes will push it to Anki.
6. Syncing Anki
6.1. From desktop
Some things it might be nice to improve:
- I feel like I'm maintaining the flashcards separately from the body of my notes - it's a bit of a duplication of effort. It'd be good to get a flow where the flashcard is just part of the note as is, and I can pull it out without duplicating it.
- I've only been pushing one flashcard at a time at the moment, when the buffer is open. I'll probably add a Make step that iterates all my notes and publishes flashcards if found.
- My flashcards are (probably?) noise that I don't want added to my published digital garden - perhaps they should be filtered out of the publish site.
I've now got a fairly simple flow for making flashcards from my wiki notes. I'm hoping this will have a dual purpose of helping me to memorise the things that I'm learning and thinking about, and will also prompt me to regularly tend to my wiki.
I'm sure I'll follow up with notes soon on how this is all working out.