Custom Anki Server iOS

Hi,

Is it somehow possible to have a custom server setup in iOS? I’ve done it for my local installation and would be glad to have it on iOS, too.

Thanks

AnkiMobile does not currently support custom servers, but there’s a reasonable chance this will change in the coming months.

I have also been looking for options to use AnkiMobile on IOS devices with a private server.

  • the last discussion I read about this indicated the dev team is not in a position to take on a new feature to allow alternate servers

This got me to wondering:

  • given that AnkiWeb supports all clients, is there a common API protocol or does AnkiWeb implement client-specific protocols (particularly for the AnkiMobile)?

Here’s where I am going with this question …

  • if AnkiWeb supports all clients using the same API protocol
  • if AnkiWeb and Ankiserver both support that same API protocol
  • then if it were possible to point the AnkiMobile client to Ankiserver, would they talk as expected?

What if I were to use Pi-hole to resolve AnkiWeb to the IP of my local Ankiserver …

  • this would only be done for clients on my LAN, no desire to sync across the internet
  • if the protocol is identical, then neither the AnkiMobile client nor the Ankiserver would know the difference
    … simply an Anki client talking to an Anki server

IDK if Ankiserver and AnkiWeb are functional equivalents (for syncing), but perhaps there is reason to hope they operate with common protocols.

It would be pretty simple to have Pi-Hole direct AnkiWeb DNS resolutions to the private Ankiserver IP. If the client-server ports and protocols were the same, perhaps the clients and server would simply start talking.

Could it be this easy?

  • no need to modify AnkiMobile and support a new feature (i.e. specify private server address)

thanks

With custom DNS and SSL certificates you may be able to accomplish this, but I do not recommend it, as the community sync servers tend to break each time Anki makes changes. Recent Anki versions include a built-in sync server, but it does not yet support media. Once media is also supported, AnkiMobile will likely gain an option to specify a custom server.

Dae,

Thanks for the informative reply.

B

Hello, I’m a iOS Anki user from China, the sync server is very slow sometimes. I really look forward to a custum sync server and find this discusstions. Is there any plan for this? Sorry for poor English.

It’s still on the todo list

i desperately want to…

Accidentally bought the app, after cursory googling and having an impression that the external sync server works. Requesting a refund from Apple, will buy again when the feature is working.

It’s currently in beta testing, so is not far off at this point.

The version history on App Store said that “Advanced users can now self-host their own sync server, using the server embedded in Anki 2.1.57+.” on 5 Feb 2023. But I still failed to sync my cards with my private server.

Did you use the server that came with 2.1.57? Sync Server - Anki Manual

2 posts were split to a new topic: Copy protection on decks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.