Bỏ qua đến nội dung

Duplicate and Reorder – Nhân bản & sắp xếp lại note nhanh trong Browser

Năng suất #anki #addon #duplicate and reorder #nhân bản note #sắp xếp lại note #reorder cards
https://github.com/ankitects/anki-addons
27/8/2023

Cách tải addon Duplicate and Reorder – Nhân bản & sắp xếp lại note nhanh trong Browser

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

1114271285

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 1114271285 và copy

78
14

Mô tả chi tiết

🔁 Duplicate and Reorder là gì?

Duplicate and Reorder giúp bạn:

  • Di chuyển (move) nhanh các note đã chọn lên/xuống trong deck,
  • Nhân bản (duplicate) nhiều note và đặt bản sao ngay bên dưới bản gốc,
  • Thực hiện toàn bộ thao tác bằng phím tắt trong Browser:
    • Alt + ↑ / Alt + ↓ – di chuyển note,
    • Alt + D – nhân bản note.

Phù hợp khi:

  • Bạn muốn điều chỉnh thứ tự học (ví dụ gom nhóm theo chủ đề, mức độ),
  • Cần tạo bản sao của một cụm thẻ để tuỳ biến biến thể (khác ví dụ, khác ngôn ngữ…),
  • Không muốn thao tác thủ công kéo-thả từng note một.

Lưu ý quan trọng: addon chỉ hoạt động khi bạn đang sort theo cột “Created” trong Browser.


✨ Tính năng chi tiết

1. Move note(s) lên/xuống trong deck

Điều kiện:

  • Trong Browser, bạn phải:
    • Đang xem một deck,
    • Đã sort bảng theo cột “Created”.

Cách dùng:

  • Chọn một hoặc nhiều note trong Browser,
  • Dùng:
    • Alt + ↑ – Di chuyển nhóm note lên trên,
    • Alt + ↓ – Di chuyển nhóm note xuống dưới.

Ứng dụng:

  • Gom một nhóm thẻ mới tạo vào đúng vị trí mong muốn,
  • Đưa note quan trọng lên trên/hạ xuống dưới trong “dòng thời gian” tạo thẻ,
  • Kết hợp với các add-on khác (reposition, change creation time) cho workflow nâng cao.

2. Duplicate note(s) ngay dưới bản gốc

Vẫn trong Browser, khi sort theo “Created”:

  • Chọn note (hoặc nhiều note),
  • Bấm Alt + D:
    • Addon sẽ:
      • Nhân bản mỗi note,
      • Đặt note mới ngay dưới note gốc trong danh sách.

Hữu ích khi:

  • Bạn muốn:
    • Giữ nguyên cấu trúc field, tag, card type…,
    • Nhưng sửa nội dung cho biến thể mới (ví dụ:
      • Từ cùng gốc, ví dụ mới,
      • Hai câu hỏi khác nhau trên cùng nền thông tin).

Cẩn thận với các addon dùng note ID (ví dụ Anki Note Linker):
khi reorder, Anki đổi ID → có thể ảnh hưởng tới link giữa note.

3. Tích hợp menu chuột phải & menu Browser

Ngoài phím tắt:

  • Bạn có thể click chuột phải lên group note đã chọn,
  • Hoặc dùng menu trên thanh Browser,
  • Các lệnh move / duplicate đều có mặt ở đó,
  • Hữu ích nếu bạn chưa quen phím tắt hoặc đang xem lại tính năng.

📥 Cách cài đặt Duplicate and Reorder

Cài tự động từ AnkiWeb

  1. Mở Anki Desktop.
  2. Vào Tools → Add-ons → Get Add-ons…
  3. Nhập code: 1114271285
  4. Bấm OK để tải addon.
  5. Khởi động lại Anki.

Cài thủ công từ file .ankiaddon

  1. Truy cập trang latest release trên GitLab:
    • https://gitlab.com/redgis/anki-addon-duplicate-and-reorder/-/releases/
  2. Tải file duplicate_and_reorder.ankiaddon.
  3. Trong Anki:
    • Tools → Add-ons → Install from file…
    • Chọn file .ankiaddon vừa tải.
  4. Restart Anki để addon hoạt động.

⚠️ Lưu ý quan trọng

1. Phải sort theo “Created” thì addon mới hoạt động

Rất nhiều người report “nút bị mờ / không dùng được”, nguyên nhân chung là:

  • Bạn không sort Browser theo cột “Created”.

Cách sửa:

  1. Mở Browser.
  2. Bấm vào tiêu đề cột “Created” để sort.
  3. Kiểm tra lại:
    • Option trong menu,
    • Hoặc phím tắt Alt + Up/Down/D đã hoạt động chưa.

2. Tương tác với note ID và các addon khác

  • Duplicate and Reorder thay đổi note ID khi reorder,
  • Nếu bạn dùng addon:
    • Anki Note Linker,
    • Hoặc bất cứ thứ gì dựa vào note ID cố định,
  • Thì việc reorder có thể:
    • Làm “đứt” liên kết giữa các note,
    • Bạn cần cân nhắc chiến lược sắp xếp / linking phù hợp.

3. Rủi ro lỗi / mất dữ liệu trong một số bản Anki

  • Một vài review báo:
    • Lỗi làm hỏng card / deck ở các bản Anki nhất định (ví dụ 2.1.56, 2.1.57),
    • Tác giả đã fix sau khi được báo trên GitLab.

Khuyến nghị:

  • Luôn bật auto-backup của Anki, hoặc:
    • Tạo backup thủ công trước khi reorder/duplicate số lượng lớn.
  • Khi gặp lỗi:
    • Đọc phần hướng dẫn và issues trong GitLab project,
    • Báo bug ở đúng nơi (GitLab) để tác giả kịp xử lý.

📚 Thông tin thêm & credit

  • Addon được phát triển dưới license GPL3:

    • Bạn có thể fork / chỉnh sửa / chia sẻ, miễn là giữ license tương thích và ghi credit cho tác giả.
  • Lấy cảm hứng từ các addon:

    • Fast cards repositionhttps://ankiweb.net/shared/info/544982740
    • Change Card Creation Timeshttps://ankiweb.net/shared/info/217650262
    • Duplicate Selected Noteshttps://ankiweb.net/shared/info/2126361512
  • Tài nguyên hữu ích cho dev addon:

    • https://chrisk91.me/2018/02/13/Setting-up-VSCode-for-Anki-addon-development.html
    • https://www.juliensobczak.com/write/2016/12/26/anki-scripting.html
    • https://addon-docs.ankiweb.net/#/
    • https://github.com/ankitects/anki-addons
    • https://github.com/ankitects/anki
    • https://www.reddit.com/r/Anki/comments/9n3l68/...
    • https://www.reddit.com/r/Anki/comments/961cj8/...

Contributors:

  • Redgis – maintainer chính.
  • Nail Gazizyanov – thêm tuỳ chọn “Also duplicate schedule” + tag “duplicate”.
  • ijgnd – sửa issue “phải click hai lần lên cột mới kích hoạt tính năng”, hỗ trợ tương thích với AnkiBrowser và cải tiến khác.
  • Thomas Kahn – giúp nâng cấp addon lên Anki >= 2.1.45.

Liên kết hỗ trợ

  • Mã nguồn / issues:
    https://gitlab.com/redgis/anki-addon-duplicate-and-reorder
  • Tài nguyên chung của Anki:
    https://github.com/ankitects/anki-addons
    https://github.com/ankitects/anki

👍 2026-02-14

Thank you for saving my time!! It really works well.

👍 2025-11-27

good, useful for copying cards from one deck to another for temporary use.

👍 2025-08-19

Yay, it works as intended, thank you :>

👍 2025-07-22

Amazing addon, thanks so much

👍 2025-05-19

Holy Crap!! This is the best QoL Add-on, i don’t believe Anki didn’t add this as a basic feature.. this literally saved me hours of works, duplicate and retaining the schedule..

👍 2025-03-28

Very useful if you’re not doing anything else with note id. Can’t be used with Anki Note Linker. When you reorder notes it changes the note id, so if you have links between notes it will mess them up. Comment from author Indeed, sadly, this is by (bad) design on Anki’s side : Anki uses the note’s creation date as its ID. This is also what determines the order in which the notes are initially learned. To change that order, there is no other solution but to change the note IDs, indeed. Thanks for

👍 2024-10-15

I thought it worked. But I am not sure. Sometimes it seems so, but then on mobile it is different again

👍 2024-09-16

Works perfectly fine as of 16/09/2024.

👍 2024-07-23

Does not work in version 24.04. The option is turned off/disabled. Comment from author It works fine, just tested it. You probably didn’t read the instructions at the top of this page. Sort the notes by “Created” Column.

👍 2024-06-08

Worked great, no problems!

👍 2024-01-27

I LOVE IT

👍 2024-01-10

awesome addon, pretty useful

👍 2023-12-25

A very good plug-in, it helps me a lot, but when I have 100 cards, it is very troublesome to move the last 50 cards to the front. Is there any good way to solve it? Comment from author Hi, thanks. You can select all you 50 last cards and shift them all the way up. Unfortunately the add-on does not provide a more convenient way to do that. When you really have many side-by-side cards to move together, you might want to use the Reposition feature of the Anki browser : https://docs.ankiweb.net/brow

👍 2023-12-01

This is a function I was looking for: Reordering cards to keep them in my own order while viewing them in the browser. Thanks for that!

👍 2023-11-12

I confirm that this addon works with anki 23.10.1, thanks you !

👍 2023-10-31

Buttons greyed out. Removed all other Add-ons and still greyed out. Hope this can get fixed because this would be really useful to have :) Thanks for putting in the work to create this!

(For context I’m trying to duplicate cards, and then transfer all the duplicates to a new deck -> instead of copying and transferring each card one by one) Comment from author Hi, this usually happens because you didn’t sort by “Created” column.

  • have you made sure you sorted the notes by “Created” column ? (

👍 2023-10-30

Used to work great but now “Duplicate” is greyed out so I can’t use it :( Will this be fixed? Comment from author Hi, this usually happens because you didn’t sort by “Created” column.

  • have you made sure you sorted the notes by “Created” column ? (as explained in the first few lines of this page)
  • have you made sure you have installed the latest version of the plugin ?

I just tested with latest release 23.10, seems to work fine. If still not work, please come create an issue here so that I c

👍 2023-08-28

The corruption card issue seems to have been fixed now with the latest update. Ty OP! Comment from author Hi, thanks for the feedback

👍 2023-08-28

Once issues were brought to the author’s attention on GitHub they resolved it very promptly!

👍 2023-08-13

Don’t use it, this shit deleted all my cards. Thank God, I had a backup… Comment from author 2023-08-23 : Hi. This issue was only brought to my attention today, this is my fault for not checking this page regularly, will investigate ASAP.

That being said, please have respect. It is easy to call people’s work “shit” when all you do is taking it for granted. This is free, open source software, and is the result of the work of couple of your fellow human beings, on their spare time, and shared

👍 2023-04-22

Changes the back of some cards in Anki 2.1.56. It didnt happen in older versions. Dont use this Comment from author 2023-08-23 : Hi, so sorry about that… I will investigate ASAP. This was only brought to my attention today, this is my fault for not checking this page regularly, but reporting on Gitlab project page (as advised in the addon page here above) would have helped.

👍 2023-04-01

This add-on saves me much time. Thank you for the add-on.

👍 2023-03-04

Changes Back of some cards when reordering. Content is lost (!!) Didn’t think much when mostly positive reviews. Strong suggestion for not using this Add On Comment from author 2023-08-23 : Hi, so sorry about that, this looks bad… I will investigate ASAP. This was only brought to my attention today, this is my fault for not checking this page regularly, but reporting on Gitlab project page (as advised in the addon page here above) would have helped.

👍 2023-02-27

2.1.57 This broke my whole deck and my anki is crashing

Update: Holy s**t, even recovering from backup doesn’t help. Comment from author 2023-08-23 : Hi, so sorry about that, this looks bad… I will investigate ASAP. This was only brought to my attention today, this is my fault for not checking this page regularly, but reporting on Gitlab project page (as advised in the addon page here above) would have helped.

👍 2023-02-25

Works great.. is there any way to duplicate scheduling info as well?

👍 2023-01-18

Not working on anki 2.1.49

👍 2023-01-05

Hello, thanks a lot for this add-on, saved me many hours of manual copying!

I noticed that in the update notes, there is a “duplicate cards with original schedule” feature added two years ago, but how do I access the feature? In the Anki browser, under the “Notes” dropdown menu, I only see “duplicate”, but no option for “duplicate with the original schedule”

Thanks a lot.

👍 2022-11-22

Worked really well!

👍 2022-08-10

Your saving my life! very useful!!!! Thank you so much!!!