hosting-anki

Deploy Anki sync server and AnkiConnect API on NixOS with Tailscale.

4|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/greenheadHQ/nixos-config --skill hosting-anki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hosting-anki
Source: https://github.com/greenheadHQ/nixos-config/tree/main/.claude/skills/hosting-anki
Command: npx skills add https://github.com/greenheadHQ/nixos-config --skill hosting-anki

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage Anki sync server and AnkiConnect API on MiniPC homeserver. Trigger: 'Anki', 'anki sync', 'AnkiConnect', '카드 덱', '동기화 서버', 'anki 백업', 'headless anki', 'anki 서비스'. NOT for 컨테이너/Podman 일반 관리 (use running-containers).

Core Features & Use Cases

  • Self-hosted deployment of Anki Sync Server and AnkiConnect API with NixOS modules.
  • Secure, VPN-restricted access via Tailscale and agenix-managed secrets.
  • Automated bootstrapping, periodic backups, and configurable sync parameters for headless Anki.

Quick Start

Bootstrap and configure the MiniPC to run AnkiSync and AnkiConnect, then verify ports 27701 and 8765 are listening behind Tailscale.

Frequently Asked Questions about hosting-anki

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I self-host an Anki sync server on a MiniPC with NixOS?

You can self-host an Anki sync server on a MiniPC by deploying NixOS modules that bootstrap the service, configure ports 27701 and 8765, and automate startup with periodic sync and backups.

Can I restrict access to my self-hosted AnkiConnect API using Tailscale?

Yes, you can restrict AnkiConnect API access by integrating Tailscale VPN, which bounds connectivity to authorized devices and secures connections using agenix-managed secrets.

Does this Anki sync server deployment support headless operation and automated backups?

Yes, the NixOS deployment supports headless Anki operation by automating startup, configuring periodic sync parameters, and scheduling regular backups for disaster recovery.

What is the best way to manage secrets for a self-hosted Anki sync server?

The best way to manage secrets for a self-hosted Anki sync server is using agenix, which securely handles encryption and provides secrets to NixOS modules during deployment.

Can I use this self-hosted Anki deployment for a small team or classroom environment?

Yes, this self-hosted Anki deployment suits small teams and classrooms by providing VPN-bounded access, offline-first sync, and automated disaster recovery on a MiniPC.

Why do I need to verify ports 27701 and 8765 when setting up Anki sync?

You need to verify ports 27701 and 8765 to ensure the Anki sync server and AnkiConnect API are correctly listening behind Tailscale after bootstrapping the MiniPC profile.