Introduction

For an basic introduction to AnkiMini see http://ichi2.net/anki/ankimini/

This page contains some advanced information about AnkiMini. If you have an iPod touch/iPhone or iPad, you may want to check out the official client AnkiMobile instead.

AnkiMini UI

Apart from the question/answer button, there are 8 buttons on the basic UI:

How AnkiMini works

AnkiMini runs on a local python web server (using the SimpleHTTPServer module) on port 8000. The underlying library (libanki) is identical to the desktop client. Decks and the configuration file are stored in the home directory, in ~/.anki/.

Although the ankimini library is the same, there are some behavior changes from the desktop client:

Debugging AnkiMini

If you want to debug a problem with AnkiMini, the easiest way is via SSH.

  1. Install openSSH on your device.
  2. SSH to your device. In MacOS, run Terminal and SSH to the IP of your phone. In Windows, use PuTTY

  3. Find the AnkiMini process, and kill it (so we can restart it interactively):

      mobile$ ps x |grep python
        35   ??  Ss     4:00.86 python main.py
      mobile$ kill -9 35
  4. Start a new ankimini process interactively by changing to the app directory and running the startup script:
      mobile$ cd /path/to/AnkiMini
      mobile$ ./ankimini 

The output of ankimini will now go to your console, with information about the URLs being requested. Any exceptions will give you stack traces.

open deck.. /home/mobile/.anki/newdeck.anki
please install pysqlite 2.4 for better progress dialogs
starting server on port 8000
localhost - - [26/Jan/2010 14:49:13] "GET /question HTTP/1.1" 200 -
service time 0.120165109634

AnkiWiki: AnkiMini (last edited 2010-06-14 09:10:26 by NicolasRaoul)