Make Fields & Tags Clickable for Filtering

AnkiWeb addon 959135849

Add a filter before a field name, such as {{filter::Subsection}}, to make it clickable and open a browser showing all notes with the same value in that field.
AI-generated summary; may contain mistakes.

taggingsearchcard-templates

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2024-08-31
Anki versions
2.1.66~
Description language
en

Maintenance

stale

  • Last update or commit was 243 days before the snapshot (2026-01-31).
  • The repository has 10 test files.

GitHub

Repository
duydl/anki-addon-dev Β· more by duydl
Stars
⭐ 3 · forks 0 · open issues 0
Last commit
2026-01-31
Languages
Python, JavaScript, HTML, Shell, CSS, Makefile
Tests
10

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.12.1.66+2024-08-31
History across monthly snapshots

Loading…

Similar addons

Filtered Deck From Tag

Creates a filtered deck from a right-clicked browser tag, with configurable supplemental searches, card limits, automatic unsuspension, and default order.

taggingsearchfiltered-decks

Rating 27 πŸ‘ 25 Β· πŸ‘Ž 2 ⭐ 7 Anki 2.1.56~ Updated 2023-02-19
Kanji Neighbours

Clicking a kanji on a vocab card shows other reviewed words in the deck that share it, after setting a clickable span and configuring fields and popup rows.

searchcard-templates

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-08-21

README

Anki Add-ons

This repository contains Anki add-ons and development utilities.

Setting Up the Environment

Anki ships Python wheels to PyPI (current series 25.9.x) built for CPython 3.9+. Use uv to manage the virtual environment from the pyproject.toml.

  1. Install uv (once per machine):
curl -Ls https://astral.sh/uv/install.sh | sh  # or: pip install uv
  1. Create the virtual environment and install the dependencies defined in pyproject.toml (Anki and AQT):
uv sync --python 3.11      # use another 3.9+ interpreter if preferred
source .venv/bin/activate  # on Windows: .venv\\Scripts\\activate

uv sync will resolve and install anki/aqt along with their Qt runtime into .venv/.

  1. Run tools via uv when needed:
uv run python release.py

Running Anki from this repo

Use the helper script to start Anki pointing at a custom base (profile/addons) directory. By default it uses ./_data inside this repo, which already contains empty addons21/, collection.media, and a Test profile (structure kept with .gitignore files):

./start-anki.sh

# use the normal (global) Anki profile/base; still via uv
./start-anki.sh --global

The script passes Anki's -b flag to set the base directory (where addons21/ resides) and -p if ANKI_PROFILE is provided. With --global it omits those flags so Anki uses the default global profile and base.

Packaging and Releasing Add-ons

To move an add-on to the Anki add-on directory and create a zip file for uploading to AnkiWeb, you can use the provided release.py script. It has a BASE constant near the top that defaults to this repo's _data directory, so releases land in _data/addons21/:

uv run python release.py

The add-on will be moved to addons21 inside the BASE/ directory (see BASE in release.py). Start Anki from the BASE/ directory with -b <BASE> argument following anki binary.

Link

You can find my shared items on AnkiWeb at the following link:

My shared items

Specific add-ons can be found in this profile.

Contributing

Feel free to contribute by submitting issues or pull requests.