2anki / server

Server to create Anki flashcards faster, easier and better today ⭐️

Home Page:https://2anki.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2anki/server

Discord Twitter

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 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

Sponsors

Scrimba.com

👩🏼‍🎓👨‍🎓️👨‍🏫️👩🏽‍🏫 Scrimba - the mind-blowing way learn to code!

🎁 Support the Project

This project is brought to you by our amazing patrons and GitHub sponsors 🤩 Thank you!

Patreon ko-fi Buy Me A Coffee

GitHub Sponsor Paypal

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

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 Copyright (c) 2020-2022, Alexander Alemayhu

The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Server to create Anki flashcards faster, easier and better today ⭐️

https://2anki.net

License:Other


Languages

Language:TypeScript 85.0%Language:CSS 6.8%Language:JavaScript 5.5%Language:HTML 2.5%Language:Makefile 0.1%Language:Shell 0.1%