Bỏ qua đến nội dung

Leech Toolkit

Chờ xử lý #anki #addon #leech #toolkit
https://github.com/iamjustkoi/LeechToolkit/issues
1/4/2024

Cách tải addon Leech Toolkit

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

368380974

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

15
5

Mô tả chi tiết

Add additional tools for handling lapse counts and leeches in Anki!

Main Features

Leech Marks Almost-Leech Marks Bottom Bar Leech Button Lapse & Leech Reversing Custom Actions on Leech/Reverted Leech Sync Card Lapse Counts and Updated Leech Statuses Across Devices New Card Browser Options

Reviewer Shortcuts - Customizable shortcuts for leeching and un-leeching cards during reviews

Options

General - General options for UI elements and Lapse Reversing.

Actions - Optional leech/un-leech actions that can also override base Anki operations.

Set Flag - set the current flag Suspend - set suspended state to on/off Add Tag(s) - add tags Remove Tag(s) - remove tags Forget - forget the card and restore its initial state Edit Field(s) - append, prepend, and/or replace text to note fields Move to Deck - move the card to a specified deck Set Due Date - reschedule the card between a range of days Add to New - Add a card to the new queue with some custom match filters

Advanced - Options for hiding the config shortcut, syncing and updating the collection, and setting shortcuts.

Deck Options - Custom settings, per-deck, for updating lapses and performing custom leech/un-leech actions.

—These can be accessed in the legacy deck options menu (Shift + Options).

Text Macros

Custom text macros for filtering and outputting custom info during leech/un-leech actions:

%date - the current date based on the system’s locale (e.g. 2022-10-01) %reviews - the review count for the current card (e.g. 3) %re: - Regular Expressions Some Examples: %re:captured_expression %re:”.*captured with spaces\W” %re:\d\d\d\d-\d\d-\d\d (capturing the above date format) %% - a single % (e.g. %%reviews outputs %reviews instead of applying the macro)

Bugs, Issues, and Suggestions:

Feel free to post any issues, feedback, and/or suggestions you have on GitHub!

Releases/Changelog

Source Code

Wish you the best! -koi

Support

Every bit helps and is greatly appreciated!

patreon.com/iamjustkoi

ko-fi.com/iamjustkoi


Screenshots


Liên kết hỗ trợ


Reviews (20)

👍 2025-10-09

i like the idea of the add on, but having just downloaded it, it is telling me leech reversed on almost every review card except new ones, even on cards that are not leeches. Wondering if i have my thresholds wrong or something but all the settings are default.

👍 2025-07-26

Add-on throws an error when trying to open Cards > Set Lapses Toolkit actions also do not work

Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2 Platform: Windows 10 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2025-07-25 21:03:34

Caught exception: Traceback (most recent call last): File “C:\Users\cindsa\AppData\Roaming\Anki2\addons21\368380974\src\browser.py”, line 106, in <lambda> menu.addAction(String.ACTION_SET_LAPSES, lambda *args: show_set_lapses(manager, browse

👍 2025-07-06

Anki 25.07.1 (a83a6b59) (ao) Python 3.13.5 Qt 6.8.1 PyQt 6.8.0 Platform: Windows-11-10.0.22631-SP0

Traceback (most recent call last): File “C:\Users\user\AppData\Roaming\Anki2\addons21\368380974\src\options.py”, line 959, in <lambda> self.ui.queueExcludeTextEdit.textChanged.connect(lambda *args: update_text_size(self.ui.queueExcludeTextEdit))

File "C:\Users\user\AppData\Roam

### 👍 2025-01-18

Good job, optimize the leech is a good idea!
But the test doesn't work in the personalized study. To test, go to the panel and change the review date.

### 👍 2024-09-29

I like it a lot, finally an easy way to handle leeches better in Anki, but I have two remarks however:

Is there no way to disable the popup messages at the bottom (leeches reversed, leech removed etc.)? I find it a bit distracting.
Also, the Leech action to move the cards automatically to a seperate deck does nothing for me, maybe I did something wrong but ticking the "move to deck" option and selecting the deck does not suffice apperently.
Comment from author
Thanks! Appreciate the kind words!

### 👍 2024-05-23

Super helpful to readjust cards that used to be challenging

### 👍 2024-05-10

Works well! Anki really needs such smart leech system.

### 👍 2024-02-13

Not working, getting the following message:

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools &gt; Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
Deb

### 👍 2024-02-08

I created a simple Fork(Copy) for Anki 23(qt6) and uploaded it to AnkiWeb.(If the original add-on has been updated to Anki 23.10+, this fork is not required.)
- Leech Toolkit (Fork for Anki 23 by Shige)
https://ankiweb.net/shared/info/1633380637

### 👍 2023-11-14

Its not working on Anki for Windows 10/11 23.10.1 (23.10.1 Qt6)

### 👍 2023-11-10

I was waiting for a Un-Leech Addon for years, basically since my leeches built up and I was to lazy to always delete their tags manually ':D
But that's just the icing on the cake of a well thought-through addon with many functionalities :)
Keep it up!

Edit: unfortunately not working with 23.10.1 yet
Comment from author before post was edited
Really happy it's working out for you! Thanks a bunch! :D

### 👍 2023-07-03

Excellent addon! Helps me handle my many leeches very well. The only issue seems to be when trying to update the entire collection, it gives an error: 



Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0

Platform: Windows-10-10.0.19045

Flags: frz=True ao=True sv=2

Add-ons, last update check: 2023-07-03 13:47:15



Caught exception:

Traceback (most recent call last):

File "C:\Users\user\AppData\Roaming\Anki2\addons21\368380974\src\sync.py", line 87, in sync_collection

threshol

### 👍 2023-05-28

Excellent job!
Comment from author
Thanks!

### 👍 2023-02-06

Anki 56 bugs were fixed, but something else is back in 57



EDIT:



Debug info:

Anki 2.1.57 (6b7d372c) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1

Platform: macOS-13.2-x86_64-i386-64bit

Flags: frz=True ao=True sv=2

Add-ons, last update check: 2022-12-16 15:33:52

Add-ons possibly involved: ⁨Leech Toolkit⁩



Caught exception:

Traceback (most recent call last):

File "aqt.taskman", line 122, in _on_closures_pending

File "aqt.taskman", line 71, in &lt;lambda&gt;

File "aqt.taskman", line 90, in wrap

### 👍 2023-01-25

Very good!!!
Comment from author
Shoot, sorry about that. Should be fixed in the most recent release (v1.3.6)!



Edit: Thank you thank you! ^^

### 👍 2022-12-19

Love the add-on!!
Comment from author
Thanks!! Happy to hear it's able to work out well for you :D

### 👍 2022-12-13

thank you so much! :)
Comment from author
you bet! :D

### 👍 2022-12-04

Edit: I wish I could give two thumbs up to this, the author is amazingly responsive and helped me to fix an error super quickly &lt;3





I haven't checked the entirety of the functionality but it seems to be working on 2.1.49. 



----------------------------------------------

Feature Requests

----------------------------------------------

It would be nice to have a way to change the visual properties of the leech icon from the configuration so a restart isn't needed.



For anyone else who mi

### 👍 2022-10-11

Amazing but I'm a little confused about the sync option, could you be more clear pls? Thank u!

Update: It has a conlifct with ctrl + z. When the add on is enabled I can't undo.
Comment from author
Update: Hey, sorry you had to deal with this! Should be fixed in the latest release (v1.1.0).

Feel free to message me or post on GitHub if there's anything else I can do to help!



----



Thanks! I can defs see how the wording might not be too great there, sorry! 

I'll try to see if I can maybe si

### 👍 2022-10-03

Thanks for making this! Leech management on Anki was definitely lacking. Since tags affect the whole note, it makes more sense to use flags IMO (which only affect the card and were not present in the early days of Anki 2.1 iirc).
Comment from author
No prob!

Yeah, it's difficult to decide on since the default leech tag also affects the whole note, unfortunately. 

Either way I can defs try and add an option to switch the sync methods, too! Thanks!

Will make a feature request for it on GitHub,