Bỏ qua đến nội dung

CrowdAnki: JSON export&import. Edit history. Collaborate on deck creation.

Chờ xử lý #anki #addon #crowdanki #json #exportimport #edit #history
https://github.com/Stvad/CrowdAnki/issues
30/10/2023

Cách tải addon CrowdAnki: JSON export&import. Edit history. Collaborate on deck creation.

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

1788670778

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 1788670778 và copy

61
5

Mô tả chi tiết

CrowdAnki is a plugin for http://ankisrs.net/ that allows users to import and export decks/notes and all relevant information in a hierarchical JSON format. The main purpose is to facilitate crowd-sourcing for Anki decks and notes.

Starting with version 0.6 it also features a close integration with Git. Providing you with an ability to automatically maintain history of edits for your decks. See more details below.

Please note that I can’t reply to your comments here (and I’m not getting notified about them). If you want to get in touch - please ping me on GitHub: https://github.com/Stvad/CrowdAnki

If you would like to support the plugin - please consider becoming a Patron!

Suggested collaboration workflow (a more detailed version is available on GitHub):

The current workflow could be described as following:

The user creates or imports a deck inside of Anki. Makes some modification to it (i.e. to notes, deck settings, deck structure or note models). Then the user can export the deck in JSON format (accompanied by media directory with media files used in that deck) and share it with other users. For example by creating GitHub repo with it. Other people then can either modify JSON directly or import the deck to their instance of Anki and then make some modifications to it. Original JSON then can be updated the with the changes, these people made (merging several changes together if necessary). After that original user (and other people) can import updated deck to integrate these new changes into their collection.

Export To perform the export go to menu File>Export Select the deck (note: export of “All decks” is not supported, you need to select a specific deck) and the export format “CrowdAnki JSON representation”. After pressing the Export button - select directory where the result should be stored.

Import To perform the import go to menu File>CrowdAnki: Import from disk and select the directory where the deck is stored.

Import from GitHub

To get the deck from GitHub go to menu File>“CrowdAnki: Import from GitHub” and enter GitHub username and repository name in suggested format. So, for example, to get my git deck (https://github.com/Stvad/Software_Engineering__git) you would need to enter Stvad/Software_Engineering__git.

Things to note for the Import:

Automatic backup would be triggered prior to the import; If note model for the note has changed, or if note model itself changed in a way that it’s not easy to update it automatically: you would be prompted with the window, that will ask you to specify correspondence between old and new model; If the note was moved to another deck in JSON file, on import all cards from that note (except the ones, that are in dynamic decks) will be moved to the specified deck. To get more information or get in touch with author, please visit https://github.com/Stvad/CrowdAnki

Snapshots CrowdAnki can help you preserve the history of edits for your decks. It does this by exporting them in a specified location and creating a git commit each time you do a snapshot. You can take snapshots manually via File > CrowdAnki: Snapshot menu action. Or you can enable automated snapshots in add-on configuration (see below) which will take a snapshot each time you open or close anki.

Configuration Settings You can find the add-on’s config page via Tools -> Add-ons, select CrowdAnki then hit Config. In here you can set a some config options, as well as a detailed explanation on what each does, with examples and default behaviour.

Here is a general summary of the currently available config options:

Snapshot Path: location of the snapshot will be exported to Snapshot Root Decks: when a snapshot is taken a git repo will be generated for each of these decks Automated Snapshot: whether the snapshot happens automatically Do Not Move Existing Cards on Import: whether to move already existing cards on import or not Deck Sort Methods: how to sort cards on export Reverse Sort Order: whether to reverse the sorting of cards on export

Please note that I can’t reply to your comments here (and I’m not getting notified about them). If you want to get in touch - please ping me on GitHub: https://github.com/Stvad/CrowdAnki


Screenshots


Liên kết hỗ trợ


Reviews (24)

👍 2026-01-06

Excellent

👍 2025-05-20

Works as advertised

👍 2025-05-18

works as expected

👍 2024-09-27

works well

👍 2024-08-06

I don’t know if Im doing something wrong, but it’s not working

👍 2024-08-03

It is an excellent way to backup my decks and review them periodically with an external tool as https://www.syntevo.com/smartgit/

👍 2024-03-19

nice way of collaborating on anki decks

👍 2024-02-28

awesome solution.

👍 2024-02-14

Awesome add-on! It solved a problem that has been bothering me for a long time!

👍 2024-02-06

Thank you!

👍 2023-08-02

Works perfectly, thanks!

👍 2023-07-31

Easy to use and still does an exelent job

👍 2023-05-06

A great way to mass-import Anki cards programatically.

👍 2022-05-23

It does not work anymore, it’s broken in 2.1.50 Qt6

👍 2021-12-15

Crashes when I have so many cards, unfortunately.

👍 2021-12-13

Great plugin, makes contributing to public decks way easier!

👍 2021-12-10

Crashes, unfortunately.

👍 2021-11-28

good stuff thanks

👍 2021-09-06

It works

👍 2021-07-08

Works as expected! 😋

I installed it so I could download the Ultimate Geography deck. Didn’t have any issues with it, it just did its job.

👍 2021-06-27

Fantastic for collaboration using git.

👍 2021-05-24

Exactement l’outil que je cherche depuis un moment pour manipuler facilement les données de mes decks, un grand merci

👍 2021-05-17

It work for me.

👍 2021-04-13

Works great!