!!! Warning. The software is in a early stage, backup your data before use !!!
anki is a great website. It's supposed to be a life saver for people want to learn with flash cards. However, their sever is too slow and often fail to sync data from my iPhone.
This project is a personal web server replacement for the official ankiweb with limited functions. Inspired by anki-sync-server.
Python 3.
anki-web-server requires the anki-sync-server from tsudoko.
-
Build up a anki-sync-server. Make sure you have already enabled user authentication and add some cards to the sync server.
-
Modify anki-sync-server code. Open anki-sync-server/ankisyncd/thread.py. Change the value of monitor_frequency and monitor_inactivity in to a small value(say 1 and 3).
-
Install anki.
$ git submodule update --init $ cd anki-bundled $ pip install -r requirements.txt
-
Install requirements for anki-web-server.(different from anki)
$ pip install -r requirements.txt
-
Rename ankiweb/ankiweb.conf.sample to ankiweb/ankiweb.conf and modity the content with your setup.
-
Run anki-web-server.
$ cd ankiweb $ python app.py
-
Open http://127.0.0.1:27702/ankiweb/ in your browser.