2anki / server

Server to create Anki flashcards faster, easier and better today ⭐️
https://2anki.net
Other
304 stars 33 forks source link
2anki anki anki-cards cloze-deletions convert flashcards genanki notion notion2anki notiontoanki toggle-lists togglelists toggles

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

My Thoughts on The Future of Anki Collaborative Deck Creation ## 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](https://youtu.be/FjifJG4FoXY) 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](https://www.super-memory.com/). ## Benefits - No technical skills required and free to use by anyone anywhere πŸ€— \* - You can convert your Notion [toggle lists][tl] 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](https://patreon.com/alemayhu) > and [GitHub sponsors](https://github.com/sponsors/alemayhu) 🀩 Thank you! [![Patreon](https://github.com/aalemayhu/aalemayhu/raw/master/assets/become_a_patron_button.png)](https://patreon.com/alemayhu) [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W6QZNY) Buy Me A Coffee [![GitHub Sponsor](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?logo=github)](https://github.com/sponsors/alemayhu/) [![Paypal](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/alemayhu) You can also support the project financially and receive exclusive member benefits ✨ [tl]: https://www.notion.so/Toggles-c720af26b4bd4789b736c140b2dc73fe ## 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](https://docs.ankiweb.net/#/editing?id=cloze-deletion) are, they are enabled by default. To see how this works in action check out this video by [Alp Kaan](https://alpkaanaksu.com/): [How to use cloze deletions in notion2anki 🀩 ](https://youtu.be/r9pPNl8Mx_Q) 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: ```css body { padding: 1rem; text-align: left; } ``` ## Background This project was hacked together after seeing this post on Reddit by [jacksong97](https://www.reddit.com/user/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 Star History Chart ## Credits Special thanks to following developers / artistans


Alexander Alemayhu

πŸ’» πŸ‘€ πŸ“– πŸ“Ή

Alp Kaan Aksu

πŸ’» πŸ“Ή

Mads Cordes

πŸ’»

Guillem Palau-SalvΓ 

πŸ’¬ πŸ€”

Marcel Walk

⚠ πŸ’»
## License Unless otherwise specified in the source: The code is licensed under the [MIT](./LICENSE) Copyright (c) 2020-2023, [Alexander Alemayhu][1] [1]: https://alemayhu.com