Anki add-on: Addon Sync

Bootstrap Addon Sync 可以通过 AnkiWeb 的媒体同步机制，同步你已安装的 Anki 插件清单。 它会在你的 Anki 媒体文件夹中写入一个名为 _addon_sync_manifest.json 的清单文件。正常完成 AnkiWeb 媒体同步后，另一台电脑可以读取这个清单，检测缺失的插件，并在你确认后复制或安装 AnkiWeb 插件。同时，它还可以同步插件的启用/禁用状态，并可选择性同步指定的插件配置字段。 功能 将当前已安装的 AnkiWeb 插件导出到 _addon_sync_manifest.json 通过 AnkiWeb 媒体同步机制同步插件清单 在另一台电脑上检测缺失插件 复制缺失插件的 AnkiWeb 插件代码 在用户确认后安装缺失的 AnkiWeb 插件 同步插件的启用/禁用状态 可选的插件配置同步 支持按字段选择要同步的配置项 敏感字段和本机相关字段默认不勾选 基本使用流程 源电脑： Tools > Bootstrap Addon Sync > Export manifest to media 正常同步 Anki，并确保媒体文件也完成同步 目标电脑： 手动安装 Bootstrap Addon Sync 正常同步 Anki，并确保媒体文件也完成同步 Tools > Bootstrap Addon Sync > Check missing add-ons from manifest 安装缺失插件，或复制插件代码后手动安装 应用插件启用/禁用状态以及选中的配置项 重启 Anki 安全说明 本插件不会执行来自卡片、笔记或 manifest 文件中的 Python 代码。 自动安装功能仅限于数字形式的 AnkiWeb 插件 ID，并且始终需要用户确认。 配置同步是可选功能。敏感字段或本机相关字段默认不会被勾选，包括包含以下关键词的字段： token, secret, password, passwd, api_key, apikey, key, auth, credential, cookie, session, local_path, path, cache, folder, directory, dir, email 如果你清楚风险，也可以手动勾选这些字段。 源代码 https://github.com/justsosdds/bootstrap-addon-sync 许可证 GNU Affero General Public License v3.0 Bootstrap Addon Sync lets you synchronize your installed Anki add-on list through AnkiWeb media sync. It writes a manifest file named _addon_sync_manifest.json into your Anki media folder. After normal AnkiWeb media sync, another computer can read the manifest, detect missing add-ons, copy or install AnkiWeb add-ons after confirmation, sync enabled/disabled states, and optionally sync selected add-on configuration fields. Features Export installed AnkiWeb add-ons to _addon_sync_manifest.json Sync manifest through AnkiWeb media sync Detect missing add-ons on another computer Copy missing add-on codes Install missing AnkiWeb add-ons after confirmation Sync enabled/disabled add-on states Optional add-on config sync Field-level config selection Sensitive/local fields are unchecked by default Basic workflow Source computer: Tools > Bootstrap Addon Sync > Export manifest to media Sync Anki, including media Target computer: Install Bootstrap Addon Sync manually Sync Anki, including media Tools > Bootstrap Addon Sync > Check missing add-ons from manifest Install missing add-ons or copy the codes Apply enabled/disabled states and selected configs Restart Anki Security This add-on does not execute Python code from cards, notes, or manifest files. Automatic installation is limited to numeric AnkiWeb add-on IDs and always requires user confirmation. Configuration sync is optional. Sensitive or machine-specific fields are unchecked by default, including: token, secret, password, passwd, api_key, apikey, key, auth, credential, cookie, session, local_path, path, cache, folder, directory, dir, email You can manually select fields if you understand the risk. Source code https://github.com/justsosdds/bootstrap-addon-sync License GNU Affero General Public License v3.0

GitHub repository: justsosdds/bootstrap-addon-sync