Leech Toolkit

AnkiWeb addon 368380974

Adds leech and lapse handling tools for Anki, including markers, reversal, custom actions, cross-device syncing, browser options, shortcuts, and text macros.
AI-generated summary; may contain mistakes.

schedulingreview-flownote-managementleechshortcuts

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
21 (👍 15 · 👎 6)
Updated
2024-04-01
Anki versions
23.12.1~
Description language
en

Maintenance

abandoned

  • Last update or commit was 913 days before the snapshot (2024-04-01).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.562023-01-25
23.10.123.12.1+2024-04-01
History across monthly snapshots

Loading…

Similar addons

README

<p align="center">Leech Toolkit <span style="color: transparent; font-size: .6em; text-shadow: 0 0 0 rgb(248, 105, 86);">🩸</span></p>

<p align="center">Add additional tools and functionality for handling leeches in Anki!</p>

Installation

Install from Anki-Web
Or go to "Tools -> Add-ons -> Get Add-ons..." and paste these numbers in:

368380974

Features

Leech Marker

Show a marker on cards that have been leeched.

<div style="text-align: center;"><img src=".github/example/leech-mark.png"></div>

Almost-Leech Marker

Show a marker on cards that are about to be leeched.

<div style="text-align: center;"><img src=".github/example/almost-leech-mark.png"></div>

Bottom Bar Leech Button

Add a button to Anki's bottom bar whenever a leeches exist in decks.

Lapse & Leech Reverse

Lapse Reverse
Decrease or reset card lapses after a custom number of correct answers in a row.
Revert/Un-Leech Cards
Revert leeched cards when their lapse count gets below a custom threshold.

Custom Actions on Leech/Reverted Leech

An array of actions that can be customized to do a number of different things, automatically!
(More details under Options > Actions)

Update Lapses and Leech Status Across Devices

<h6> Sync reviews/performance with AnkiWeb and add a custom tag to leech cards (doesn't replace the default tag) that gets saved across devices. </h6>

New Browser Menu Options

New options for leeching, un-leeching, and setting lapses on cards!

<div style="text-align: center;"><img src=".github/example/browser-options.png"></div>

Leech/Un-leech
Leech/Un-leech cards and perform custom actions based on the per-deck/global settings per card.
Set Lapses
Set lapse counts on cards and (optionally) update their leech status based on the new lapse count.

<div style="text-align: center;"><img src=".github/example/set-lapses.png"></div>

Reviewer Shortcuts

Customizable shortcuts to leech/un-leech cards during reviews

Options

General

General options for UI elements and Lapse Reversing.

<div style="text-align: center;"><img src=".github/example/options-general.png"></div>

Actions

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

<div style="text-align: center;"><img src=".github/example/options-actions.png"></div>

  • Set Flag - set the current flag
  • Suspend - set suspended state to on/off
  • Add Tag(s) - add tags (with optional text macros see: Text Macros)
  • Remove Tag(s) - remove tags (with optional text macros see: Text Macros)
  • Forget - forget the card and restore its initial state
  • Edit Field(s) - append, prepend, and/or replace text to note fields
    • <details> <summary>Example</summary>
      <img src=".github/example/options-edit-fields.png">
      </details>
  • 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
    • <details> <summary>Example</summary>
      <img src=".github/example/options-add-to-new.png">
      </details>

Advanced

Options for hiding the config shortcut, syncing and updating the collection, setting shortcuts, and adding some custom HTML for the leech marker.

<div style="text-align: center;"><img src=".github/example/options-advanced.png"></div>

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).

<div style="text-align: center;"><img src=".github/example/options-deckoptions.png"></div>

Text Macros

Custom macros that can be accessed inside tag and field edits.
Also comes with some auto-complete features to see what can be used in a text box.

Available Macros:

  • %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
    • Example Syntax:
      • %re:captured_expression
      • %re:".*captured with spaces\W"
      • %re:\d\d\d\d-\d\d-\d\d (capturing the above date format)
  • %% - single % (e.g. %%reviews outputs %reviews instead of applying the macro)

Bugs/Issues:

Please post any issues or feedback you might have on GitHub. <br></br>

Happy studies! -koi

MIT License ©2022 JustKoi (iamjustkoi)