Add a Fully-Offline Option to Anki Desktop

I really like Anki, but I want to ensure that there’s a totally offline build (for privacy purposes, think contact cards/personal info etc.).

Would be cool if there was an option on Anki desktop to install an offline mode (where networking is ensured to be turned off) or have an option to set to offline mode (could add a warning when Anki starts up that it’s in offline mode) for some uses.

As far as I know, Anki works totally offline unless you create an acoount and use the sync feature.

3 Likes

If you are already logged in, you can log out or disable automatic syncing from Tools > Preferences > Network.

2 Likes

Thank you for your suggestion, paulrmolina. I have the same problem. Anki’s offline functionality is not sufficient for me, either. I created another thread titled “Disable networking at build time” which is similar to this one and more explicit about the difference between builds and run-time options.

use firewall to block anki.exe
work for me

Doesn’t work when users don’t have administrative (or limited) access to the PC they’re working on ):

  • On Windows : I can use Anki offline

  • But on Linux, it’s impossible! It’s a real pity. Which developer can I contact to use Anki offline?

Would you like to say more about what is going wrong?
What is Anki trying to connect to that it cannot?
What are you trying to do when the problem occurs?
What error messages are you getting?
Are you sure it’s Anki and not an add-on?

Hello,
When I launch Anki without a connection, my home page is completely empty. I can do absolutely nothing.
However, if I restore my connection, I can create packages and notes.

I haven’t installed any add-ons.

I have the latest version: anki-24.04.1-linux-qt6

I am not a dev. But, AFAIK, Anki uses a local web server to display its various UI elements. This server doesn’t connect with the internet but is used by Anki to communicate with itself.

So, if you are blocking the connection using something like a firewall, Anki may be unable to communicate with itself.

Here’s the discussion on a similar issue in AnkiDroid: Docs: document that `android.permission.INTERNET` is necessary for people with other OS · Issue #15718 · ankidroid/Anki-Android · GitHub

2 Likes