tomzx/anki-server
Composer 安装命令:
composer create-project tomzx/anki-server
包简介
An Anki (http://ankisrs.net/) AnkiWeb replacement in PHP
README 文档
README
Anki Server is an alternative to AnkiWeb.
Requirements
- PHP 5.4 <=
Installation
- Download the source code (either by downloading a release or cloning the git repository)
- Install the dependencies via composer
php composer.phar install
Use with Anki (desktop)
- Go to Tools - Add-ons - Open Add-ons folder
- 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.
- Go to Settings - Advanced - Anki Server URL
- 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.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-14