Post

Anki Sync Server

The official self-hosted sync server for Anki flashcards, suitable for individual and family use.

Anki Sync Server
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.

Installation

Default install:

1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/anki-sync-server.sh)"
CPU: 1 cores RAM: 512 MB Disk: 4 GB OS: Debian 13

Default Credentials

UsernamePassword
ankiGenerated during installation

Configuration

Config file:

1
/opt/anki-sync-server/.env

Notes

The generated username and password are stored in /opt/anki-sync-server/.env. Add additional SYNC_USER variables there for more users, then restart the service.
The server uses unencrypted HTTP. Restrict access to a trusted local network or place a VPN or HTTPS reverse proxy in front of it before exposing it publicly.
Keep the server version aligned with your Anki clients, as newer clients can require a newer sync protocol.

Web Interface

Port: 8080

Source code
Loading...