All Projects → tomzx → anki-server

tomzx / anki-server

Licence: MIT license
An Anki (http://ankisrs.net/) AnkiWeb replacement in PHP

Programming Languages

PHP
23972 projects - #3 most used programming language
ApacheConf
554 projects

Anki Server

License Latest Stable Version Latest Unstable Version Build Status Code Quality Code Coverage Total Downloads

Anki Server is an alternative to AnkiWeb.

Requirements

  • PHP 5.4 <=

Installation

  1. Download the source code (either by downloading a release or cloning the git repository)
  2. Install the dependencies via composer php composer.phar install

Use with Anki (desktop)

  1. Go to Tools - Add-ons - Open Add-ons folder
  2. Create a new file called my-server.py with the following content (make sure to edit your-server-address.
import anki.sync
anki.sync.SYNC_BASE = 'http://your-server-address/'

Use with AnkiDroid

As of now (2014-12-31) AnkiDroid does not support specifying a custom AnkiServer. I've submitted a PR that should make it possible to do so.

  1. Go to Settings - Advanced - Anki Server URL
  2. Change the URL to point to http://your-server-address/

Note

This code was developed/tested with Anki Desktop 2.0.31 and a custom build of AnkiDroid. Anki 1 is not supported and any previous versions of Anki Desktop may not work. Try at your own risk.

License

The code is licensed under the MIT license. See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].