AnnaNative App Store

Sync with your own server

AnnaNative syncs with any server that speaks Anki's sync protocol, including AnkiWeb.1 The simplest one you run yourself is the sync server built into Anki itself, which you can run on a computer at home or on a small always-on server. Desktop Anki, AnkiMobile and AnkiDroid can all point to the same server, so your devices stay in step. There is no preset server: you enter the address yourself.

Sync is optional. If you only study on your iPhone, or move decks with files, you don't need a server at all.

Before you start

Option 1: the server inside Anki desktop

Quickest for trying it on a computer that is already on. On a Mac, in Terminal:

SYNC_USER1=yourname:yourpassword /Applications/Anki.app/Contents/MacOS/anki --syncserver

On Linux, run SYNC_USER1=yourname:yourpassword anki --syncserver. The manual has the Windows command. The server listens on port 8080. Add more people with SYNC_USER2, SYNC_USER3 and so on.

Option 2: an always-on server

On any machine with Python 3.9 or later:

python3 -m venv ~/syncserver
~/syncserver/bin/pip install anki
SYNC_USER1=yourname:yourpassword ~/syncserver/bin/python -m anki.syncserver

For Docker, the Anki repository has a community Dockerfile. Useful settings: SYNC_BASE for the data folder, SYNC_HOST and SYNC_PORT for the address, and MAX_SYNC_PAYLOAD_MEGS to raise the 100 MB upload limit for large collections.

Connect AnnaNative

  1. Open Settings and tap the sync row at the top.
  2. Enter the Server Address, for example http://192.168.1.20:8080/. Use the address of the computer running the server, and keep the trailing slash.
  3. Enter the Username and Password you set in SYNC_USER1, then tap Sign In and Sync.
  4. The first sync replaces one side with the other, so AnnaNative asks you to choose. If both sides have cards, pick Download Server Collection to take what is on the server, or Upload This iPhone's Collection to replace the server's copy with your iPhone's. If your iPhone has no cards of its own yet, only the download is offered, so an empty iPhone never replaces the server's collection. You confirm the choice once more, and AnnaNative backs up your iPhone's collection before it starts.

When AnnaNative syncs

The first time you connect to a server on your home network, iOS asks whether AnnaNative may find devices on your local network. Allow it, or the server can't be reached.

Connect your other devices

About AnkiWeb

To sync with AnkiWeb, sign in the same way with the AnkiWeb sync address and your AnkiWeb account.1 The only thing AnnaNative takes out before any sync is its own sample deck, so those paintings never reach the server.

If sync fails

Source: Anki manual: self-hosted sync server.

Notes

  1. AnnaNative is not a sync client approved by the Anki team; AnkiWeb's terms name Anki, AnkiMobile, AnkiDroid and AnkiUniversal as approved clients. You enter the sync server address yourself, either AnkiWeb or a self-hosted server; there is no preset server. Sync runs on Anki's own unmodified sync code and does nothing to your data that Anki itself wouldn't. Whether to use AnkiWeb with AnnaNative is your decision under AnkiWeb's terms. ↩

Last updated 2026-12-04