Anki add-on: Filtered Deck From Tag

Filtered Deck By Tag An Anki add-on that creates a filtered deck from the browser sidebar. Used for studying by tag instead of by deck. Project GitHub page Usage Right click a tag in the browser sidebar Select "Create Filtered Deck" from the right-click menu. A filtered deck will be created from the tag you right clicked on. Modify your searches in the config! See below for the config that I use. Configuration Configuration options can be found in the add-on config, accessible from Tools → Add-ons → Select the add-on → Config. There is an array named supplementalSearchTexts , which is an array of strings. For each string that you add, a new option will be added in the right click menu on the browse screen for tags, corresponding to that string. There is a paired array of strings named shortNames . These correspond to the names you want to give each of these options. These entries should correspond to the entries in supplementalSearchTexts . By default, there is a limit of 9999 cards that are added to the deck (maximum allowed by Anki). I personally use 300 cards as the limit, because it's sufficiently high that I'd never personally want to study a deck that large without breaking it up. If you'd like to change the limit of the number of cards pulled into the filtered deck, modify the numCards in the config. The addon automatically unsuspends cards that should belong in the deck. To disable this, mark the unsuspendAutomatically configuration option as false. You can change the default order used for the filtered decks. It currently defaults to Order Due. In order to change this, modify the value of defaultOrder in the configuration to one of the following integer values: 0 for Oldest 1 for Random 2 for Increasing intervals 3 for Decreasing intervals 4 for Most lapses 5 for Order added 6 for Order due (default) 7 for Latest added first 8 for Relative overdueness. For more detail on what each of these orders mean, see the Anki User Manual As an example, here's what I use in my config: ``` { "numCards": 9999, "shortNames": [ "high yield due", "high yield due and new", "due and new" ], "supplementalSearchTexts": [ "tag:#AK_Step1_v11::^Other::^HighYield::1-HighYield is:due", "tag:#AK_Step1_v11::^Other::^HighYield::1-HighYield (is:due OR is:new)", "(is:due OR is:new)" ], "unsuspendAutomatically": true, "defaultOrder": 6 } ``` Notes This add-on creates the filtered deck. It does not regularly rebuild that filtered deck. For that, I recommend one of the rebuild all add-ons. Bug reports should be added to the issues page on the GitHub page . Updates 1/16/2023 - Updated versions to support 2.1.49+ 2/18/2023 - Added multiple configuration, and support for custom default deck order. This update will overwrite your existing configuration. Please make a backup of your configuration before updating.

GitHub repository: sachingooo/anki-filtered-deck-by-tag
Repository description: An Anki add-on that creates a filtered deck from the browser sidebar. Used for studying by tag instead of by deck.
Languages: Python