notion2anki-server
v0.19.0
Published
Go from Notion togglelists to Anki Cards easily!
Downloads
11
Readme
2anki/server
The goal of the 2anki.net project is to provide a good way to make Anki flashcards easier, better and faster. The dream is to have powerful and easy ways to produce high quality flashcards. This project is a complement to Anki and Notion.
For the frontend code, please see 2anki/web.
Strategy
What We Are Not
If you are looking for a Anki or Notion replacement then this project is probably not right for you. Watch this video Notion + Anki to understand the project's goal. We are never going to compete against Anki in this project. We are building bridges 🌁
When that is said, if you are not content with Anki, you might want to checkout SuperMemo.
Benefits
- No technical skills required and free to use by anyone anywhere 🤗 *
- You can convert your Notion toggle lists to Anki cards easily.
- Support for embeds, audio files, images and more.
* Please note that due to server costs, there are quota limits in place but you can workaround this and self-host
🎁 Support the Project
This project is brought to you by our amazing patrons and GitHub sponsors 🤩 Thank you!
You can also support the project financially and receive exclusive member benefits ✨
How it works
We treats toggle lists on the top level as Anki flashcards. The toggle list line is the front of the card and everything inside in the details is the back. That's the main feature but you can customize the behaviour via card options.
Considering how powerful cloze deletions are, they are enabled by default. To see how this works in action check out this video by Alp Kaan: How to use cloze deletions in notion2anki 🤩
You can use the card type to flip which creates a mix of the cards. Basic (front & back), basic + reversed and just reversed.
So by default we are reading in the Notion styles which does not necessarily look good on all devices. Especially on iOS you can see some weird text alignment issues. Those can be solved by adding this to your card template:
body {
padding: 1rem;
text-align: left;
}
Background
This project was hacked together after seeing this post on Reddit by jacksong97:
Hey guys just need a little help with something.
I have a whole bunch of questions that I've written for myself within Notion (nested toggle questions). I was hoping I could transfer them into Anki cards fairly painlessly. I have done some just copying and pasting each side separately but it just took too long.
Is there a way to import directly or copy and paste into a txt file or something that will create the cards for me?
Thanks!
Edit: if I were to just turn them into a text file, how do I set which text goes to the back of the card? I’ve been able to get them all into seperate cards but just the fronts
https://www.reddit.com/r/Anki/comments/g29mzk/cards_imported_from_notion/
Limitations
We are still heavily relying on the APKG format. Long term we want to support AnkiWeb and make it possible to do true realtime collaboration.
Star History
Credits
Special thanks to following developers / artistans
License
Unless otherwise specified in the source:
The code is licensed under the MIT Copyright (c) 2020-2023, Alexander Alemayhu