rebuild/empty some or all filtered decks

AnkiWeb addon 104518886

Fork of Automatically rebuild filtered deck (AI-detected; may be wrong)

3 other versions of this addon exist. Compare versions ↓

Adds Rebuild All and Empty All buttons to the main screen for rebuilding or emptying filtered decks at once, configurable to limit or exclude decks and set build order.
AI-generated summary; may contain mistakes.

filtered-decksfork-or-reupload

Open on AnkiWeb Forum topic Find alternatives

AnkiWeb

Votes
24 (πŸ‘ 24 Β· πŸ‘Ž 0)
Updated
2023-05-16
Anki versions
2.1.63~
License
AGPL-3.0 (from the headers of the Python files)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2023-05-16 (1265 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.222.1.63+2023-05-16
History across monthly snapshots

Loading…

Compare versions

The original addon and its forks. The best value in each column is in bold.

VersionWorks on Anki 26.09.3MaintenanceLast activity VotesApprovalGitHub starsNotes
Rebuild All & Empty All for Anki 2.1 original unknown abandoned 16 Mar 2021 πŸ‘ 14 Β· πŸ‘Ž 0 78% 5
↳ Automatically rebuild filtered deck supported abandoned 18 Jul 2021 πŸ‘ 6 Β· πŸ‘Ž 1 49% 1
↳ rebuild/empty some or all filtered decks this addon (AI-detected; may be wrong) likely abandoned 16 May 2023 πŸ‘ 24 Β· πŸ‘Ž 0 86% –
↳ Automatically rebuild filtered deck - Enhanced Edition (AI-detected; may be wrong) likely active 15 Jul 2026 πŸ‘ 2 Β· πŸ‘Ž 1 21% 0

Forks can add features or work in a different way. Read the description before you change to another version. Fork detection is incomplete, so other versions can exist.

Similar addons

All your due cards in one deck

Gathers due review cards from chosen decks into one daily-rebuilt filtered deck with configurable order and card limit, preserving normal scheduling.

filtered-decksdeck-management

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 26.08~ Updated 2026-08-06
microbatch

Creates a filtered 10-card micro-batch deck, prioritizing due then new cards, and rebuilds it via a customizable shortcut to immediately start review, keeping lapsed cards in the batch.

review-flowfiltered-decksshortcuts

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 Anki 2.1.2~ Updated 2026-02-09

Description

An Anki add-on that adds "Rebuild All" and "Empty All" buttons to the bottom of the main screen, to rebuild or empty filtered decks at once. By default all decks are emptied and rebuild. By changing the configuration you can limit the effect of these buttons (despite their names) to rebuild only some decks (the config options are "rebuild all except for" and "rebuilt only these").   Make sure to sync all changes on other devices to your desktop before you do any emptying/rebuilding. This avoids scheduling problems like lost repetitions. The anki creator explains why: "Moving cards to a different deck marks them as modified, and if you then sync to a device that has earlier pending changes, those changes will be overridden with the more recent change. To ensure this doesn’t happen, you need to make sure all changes made on other devices have been synced to your desktop before you do any emptying/rebuilding."

This is not a bug in my add-on or the other "Rebuild All"/"Empty All" add-ons. This is also not a bug in Anki. It's just a mismatch. The filtered decks feature was not designed for batch rebuilds so when an add-on nevertheless does them there are some side effects. If you have substantial parts of your collection in filtered decks this also means that much more than expected has to be synced which could take much longer etc.

This add-on does not and will not include an Auto-Rebuild feature (as it used to have) because of the lost repetition problem and because it might place an undue burden on Ankiweb. For details see here and here.

The original for Anki 2.0 is here. khonkhortisan released it for 2.1 as Rebuild All & Empty All for Anki 2.1. Arthur published his version as Automatically rebuild filtered deck.

My release adds the following features:

  • an option to set in the add-on config which decks are built first and last: This might be useful if a card matches the criteria of multiple of your filtered decks because cards can only be in one filtered deck.
  • By default all decks are emptied and rebuild. By changing the configuration you can limit the effect of these buttons (despite their names) to rebuild only some decks (the config options are "rebuild all except for" and "rebuilt only these"). (newly added in 2023-03)
  • it works with the add-on Slackers' Delight (Postpone/Defer Button).

Use this at your own risk. So far it has very few users.

compatibility with other add-ons

# bugs, errors, feedback Please do not use reviews for bug reports or support requests. I don't get notified of your reviews, and properly troubleshooting an issue through them is nearly impossible (formatting is limited and I can't reply multiple times). If you find a bug let me know in the official anki support forum, on github.

versions

  • 2023-05-17 new option in the config that is off by default: if set to true the entries empty/rebuild will be added to the menu opened by the cog icon behind each deck name in the deckbrowser. Limitation: for 2.1.49 or earlier this resets the vertical scroll position
  • 2023-03-20 clearer name for existing options (you might have to adjust your config), add option to only affect some filtered decks, add options to exclude some decks
  • 2021-12-11 fix for 2.1.50/qt6, no more detection of slacker' delight that was removed from ankiweb
  • 2021-07-05 disable hidden auto rebuild feature for 2.1.45+ which breaks in these newer versions
  • 2020-10-08 fix for 2.1.36
  • 2020-09-16 work with the add-on Slackers' Delight (Postpone/Defer Button)
  • 2020-05-27 bug fix
  • 2020-03-03 initial release