iAnki
An offline Anki client for use on devices such as iPhone, iPod Touch, Windows Mobile
Overview
This is an Anki plugin that allows you to run a simple Anki client on iPhone/iPod Touch (2.1+ software), and on platforms that support Google's Gears. Jailbreaking your iPhone is NOT necessary.
Installation
Extract the entire iAnki zip file to your plugins folder. This can be found in Anki menu "Settings>Plugins>Open Plugins Folder". Remove the top folder if necessary (ianki_ext, ianki.py, ianki.txt, and ianki.pyc all need to be visible at the top level in the plugins directory) and restart Anki.
Once you've done this, 'iAnki Server' will be added to Anki's 'Plugins' menu (On older version of Anki it is added to the 'Tools' menu). Click 'iAnki Server' to run.
iAnki Server settings
- Address: Set this to the IP of your network adapter, or leave as the default value to use default adapter. (default 0.0.0.0)
- The easiest way to get this IP address is to run "ipconfig" It will be the IPv4 address.
- Port: Set this to the port that the server will listen on. (default 8000)
- Max Cards: The maximum cards iAnki will sync. Anything from 1 to 1000.
- Days of Reviews: Days worth of future due cards to sync. Anything from 1 to 4. Set this higher if you won't be able to sync iAnki for a few days.
Load iAnki in your device's browser
If not using an iPhone/iPod Touch, you need to have Gears installed on your browser from here http://gears.google.com/.
With your device connected by WiFi, open Safari and browse to http://address:8000 where the IP address matches the computer that you have Anki running on. (The same IPv4 address from above)
If you are using the latest version of OSX, you will probably have to add an exception for Anki in your firewall settings.
- For iPhone/iPod Touch click through the link on the page that displays "Bookmark the following link iAnki (0.2.1)".
- For Opera Mobile, click through the "iAnki Mobile" link.
The iAnki web page should load. Now is a good time to bookmark this page in your browser. On iPhone/iPod Touch you can bookmark and select 'Add to Home Screen'.
On Opera Mobile use "Saved Pages" to save the iAnki page for offline use. Do this before syncing your Anki deck.
Synching your Anki deck
Click 'Sync' on the iAnki webpage to sync the deck from Anki. iAnki will currently sync cards up to the number specified as "Max cards" from your deck at any one time, giving priority to failed cards followed by reviews due based on the "Days of Reviews" setting.
If your deck is larger than "Max cards" cards, then you won't have your entire deck in iAnki, but you'll have the ones that need to be reviewed next.
After doing some reviews, when you 'Sync' to iAnki Server the next time, all the review data will be updated in your Anki deck, and new cards will be synched to iAnki.
You can repeat the 'Sync' process on multiple decks by opening them in Anki and repeating the sync steps. All will be saved in iAnki for you to review offline. The 'Deck' button on iAnki allows you to choose which deck to review, and you can delete decks from your device on the same page.
Due to currently limited storage on iPhone/iPod Touch, I don't recommend having more than 5 decks at any one time. This restriction doesn't apply if using other devices.
The latest iAnki is not compatible with Internet Explorer.
Finally
iAnki is still under development; it's believed to work well but needs wider testing. Your deck will be backed up to .anki\backups\ each time you sync, so you can revert if anything goes wrong.
Upgrading from older versions (important)
When upgrading from an older version of iAnki, the safest procedure is sync your deck to Anki if you have any reviews you want to sync, and delete the deck stored by iAnki before upgrading to a new version.
NOTE: The latest version of iAnki can be downloaded from Anki, File->Download->Shared Plugin...
The following is an older version for manual install: iAnki_0.2.9.zip
Development tree is at http://github.com/ianki/ianki/tree/master.
