Anki Deck Sync — Lossless Incremental Sync (卡组无损增量同步)

AnkiWeb addon 1672272680

Losslessly syncs decks between authors and learners via self-contained .adsync snapshot bundles, preserving FSRS/SM-2 progress, safely matching notes, incrementally syncing referenced media, and backing up before changes.
AI-generated summary; may contain mistakes.

importexportnote-managementdeck-managementbackup-maintenance

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-11-26
Anki versions
26.09~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
zh

Maintenance

active

  • Last update or commit: 2026-11-26 (5 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.1026.09+2026-11-26
History across monthly snapshots

Loading…

Similar addons

Audio Waveform Trimmer

Adds a waveform-based audio trimmer to the card editor, letting users drag boundaries, preview selections, and losslessly trim the first sound file in a configured field.

note-management

1 votes 21% approval 👍 1 · 👎 0 ⭐ 0 Updated 2026-06-25
AnkiGit

Exports each Anki note as a Markdown file in a local Git repository, enabling snapshots, selective import, diff previews, conflict resolution, and automatic syncing.

importexportsync-integrationbackup-maintenance

1 votes 21% approval 👍 1 · 👎 0 ⭐ 5 Anki 25.09.2~ Updated 2026-05-28

Description

Anki Deck Sync

A lightweight, native Anki add-on for lossless incremental deck synchronization between deck authors and learners — no AnkiConnect or external tools required.

Key Features

  • Self-Contained .adsync Snapshot Bundle: Authors export selected decks (notes, templates/CSS, and referenced media — zero personal review data) into one compact .adsync file. Receivers diff locally on import, so skipping intermediate versions still updates cleanly in one step.
  • 100% FSRS / SM-2 Progress Preservation: Edits to note fields, deck moves, and 1-to-1 note type conversions (e.g., Basic (type in the answer) → Basic) run in-place via Anki's native API, followed by an automatic post-sync (reps, ivl) integrity check.
  • Filtered Deck Safe: Determines each card's real home deck via odid or did so cards currently in Filtered Decks are never misclassified.
  • Smart Matching & Flexible Root Mapping: Matches by guid first with content-fingerprint fallback, and auto-detects (or lets you edit) your local root deck prefix.
  • Safety Guards for Destructive Changes:
    • Obsolete notes removed by the author: unstudied notes (reps == 0) are cleaned; studied notes (reps > 0) are never silently deleted (suspended by default, or kept untouched).
    • Multi-card note type downgrades (e.g., 2 cards → 1 card): only unstudied notes are replaced; studied notes are skipped and highlighted in red.
    • Personal tags are always preserved (tag union).
  • Incremental Media Sync: Bundles referenced images, audio, and external SVGs and syncs only added/modified files by SHA-256 hash.
  • Automatic Pre-Sync Backup: Triggers Anki's native collection backup plus a local JSON/media rollback snapshot before making any changes.
  • Bilingual UI (English / 中文): Automatically follows Anki's interface language, with instant manual switching in the menu.

Usage

  • Author: Tools → Deck Sync → Export Bundle... → select decks → save .adsync.
  • Learner: Tools → Deck Sync → Import Bundle... → choose .adsync → review the categorized preview → click Apply Sync.

卡组增量同步 (Anki Deck Sync)

轻量级纯原生 Anki 插件(直接调用 mw.col,无需 AnkiConnect),用于在牌组作者与学习者之间实现无损增量同步。

核心特性

  • 自包含 .adsync 快照包:作者勾选要同步的子牌组一键导出单文件包(含笔记、模板/CSS 与引用媒体,不含个人复习进度);接收方本地实时算增量,天然幂等、跨版本一次到位。
  • 100% 保留 FSRS / SM-2 进度:改文案、改选项、挪子牌组与 1→1 换模板(如打字卡转 Basic)全部原地无损操作,并在同步前后自动校验 (reps, ivl) 总和。
  • 过滤牌组防污染:统一通过 odid or did 读取真实归属牌组,不受临时过滤牌组干扰。
  • 精准匹配与根牌组自适应:主键优先 guid + 内容指纹兜底;自动探测接收方本地挂载根牌组,并支持预览页手动修改。
  • 破坏性变更安全阀:
    • 作者已删旧卡:reps == 0 未学卡自动清理;reps > 0 已学卡绝不静默删除(默认挂起保护,可切换为保留不动)。
    • 跨卡数模板降级(如双向卡转单向卡):仅重建未学卡,已学卡强制跳过并在预览标红提示。
    • 接收方个人标签采用并集保留,绝不清空自建标签。
  • 媒体按哈希增量同步:自动收集引用的图片、音频与外部 SVG,按 SHA-256 仅写入新增或更新文件。
  • 同步前双保险自动备份:先触发 Anki 原生备份,再落盘受影响笔记/模板 JSON 与将被覆盖媒体的回滚快照。
  • 中英双语界面:默认跟随 Anki 语言自动切换,也可在菜单内免重启切换。

使用方法

  • 作者端:工具 → 卡组增量同步 → 导出同步包... → 勾选牌组 → 保存 .adsync。
  • 接收端:工具 → 卡组增量同步 → 导入同步包... → 选择 .adsync → 查看分类变动预览 → 点击执行同步。