Go to Deck - Right-click a card to filter and highlight its deck in the Browser

AnkiWeb addon 1158865515

Adds a browser context-menu option that filters the card list to the selected card's deck, optionally expanding and highlighting the deck in the sidebar.
AI-generated summary; may contain mistakes.

searchdeck-management

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2025-11-19
Anki versions
2.1.1~
License
MIT (from the README)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, Ignore List, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-06-02 (152 days before the snapshot).
  • Commits in the last year: 27.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2025-11-19
History across monthly snapshots

Loading…

Similar addons

Deck Performance Dashboard

Displays a hierarchical deck list with review, correct-answer, and percentage metrics, plus text, flag and ease filters, drill-down analytics, CSV export, and collapse and context-menu navigation.

exportstatisticssearchdeck-management

4 votes 30% approval πŸ‘ 3 Β· πŸ‘Ž 1 Anki 2.1.1~ Updated 2025-02-06
Deck and Folder Manager: Organize Decks Easily

Adds a graphical manager for organizing decks into parent folders, with search, bulk moving, sub-deck creation, promotion to root, context-menu access, and undo support.

deck-management

5 votes 57% approval πŸ‘ 5 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.66~ Updated 2026-05-02
Anki Browser Context Menu Search

Adds a context-menu option to search highlighted text within the Anki card browser.

search

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 Updated 2019-11-13

Description

Anki Go-to-Deck Context Menu

A lightweight Anki add-on that adds a "Go to Deck" option to the browser's context menu, allowing you to instantly filter the view to the specific deck of a selected card.

Version License: MIT AnkiWeb Anki

This utility solves a common navigation friction in the Anki Browser. Instead of manually searching for a deck name or scrolling through the sidebar, you can right-click any card and instantly isolate its home deck.

Table of Contents

Features

  • Context Menu Integration: Adds a convenient "Go to Deck" option when right-clicking a card in the Browser.
  • Instant Filtering: Automatically applies a deck:"Name" filter to the search bar.
  • Hybrid Behavior:
    • Legacy Anki (Qt5): Automatically expands the sidebar tree and highlights the specific deck folder.
    • Modern Anki (2.1.50+ / Qt6): Applies the search filter by default. Optionally, it can visually expand the sidebar using an advanced input simulation method (see Configuration).

Back to Top

Prerequisites

  • Anki Desktop: Works on both legacy (2.1.x) and modern (23.x/24.x) versions.
  • OS: Windows, macOS, or Linux.

Installation

Option A: Install via AnkiWeb (Recommended)

The easiest way to install the add-on is through Anki's built-in add-on manager.

  1. Open Anki.
  2. Go to Tools -> Add-ons -> Get Add-ons...
  3. Paste the following code into the box:
    1158865515
    
  4. Click OK and restart Anki.

View on AnkiWeb: Go to Deck (Browser Context Menu)

Option B: Manual Installation

If you prefer to install from source or modify the code:

Step 1: Open the Add-ons Folder

  1. Open Anki.
  2. Go to Tools -> Add-ons -> View Files.
  3. This opens the addons21 folder on your computer.

Step 2: Create the Folder Structure Inside addons21, create a new folder named AnkiGoToDeck (or any name you prefer, but avoid spaces).

Step 3: Copy Files Copy the following three files from this repository into your newly created AnkiGoToDeck folder:

  1. __init__.py
  2. anki_go_to_deck.py
  3. config.json

Final Structure:

addons21/
└── AnkiGoToDeck/
    β”œβ”€β”€ __init__.py
    β”œβ”€β”€ anki_go_to_deck.py
    └── config.json

Step 4: Restart Anki Restart the application for the add-on to load.

Back to Top

Configuration

This add-on includes a config.json file to control advanced behavior for modern versions of Anki.

{
    "enable_sidebar_clipboard_hack": false
}

enable_sidebar_clipboard_hack

  • Default: false
  • Description: In modern Anki (2.1.50+), the sidebar is a web component that cannot be controlled via standard API calls.
    • If false: The add-on will simply filter the card list (deck:"Name"). The sidebar tree will not change visually.
    • If true: The add-on will use a workaround to force the sidebar to expand to the correct deck.

⚠️ Important Note for the "True" setting: To achieve this on modern Anki, the script copies the deck name to your system clipboard and simulates a keyboard sequence (Ctrl+Shift+F -> Ctrl+A -> Delete -> Ctrl+V -> Enter). Enable this only if you are comfortable with the add-on briefly using your clipboard when you click "Go to Deck".

Back to Top

Usage

  1. Open the Browser in Anki.
  2. Right-click on any card in the list.
  3. Select Go to Deck from the context menu.
  4. The browser will immediately filter the list to show only cards from that deck.

Back to Top

Compatibility Notes

Sidebar Highlighting

  • Legacy Versions: On older versions of Anki where the sidebar is a standard Qt Widget, this add-on will visually expand the tree and select the deck item automatically (ignoring config.json).
  • Modern Versions (2.1.50+): Visual sidebar highlighting is disabled by default due to technical restrictions. It can be enabled by setting "enable_sidebar_clipboard_hack": true in the configuration file.

Back to Top

Kardenwort Ecosystem

This project is part of the Kardenwort environment, designed to create a focused and efficient learning ecosystem.

Back to Top

License

MIT

Back to Top

README

Anki Go-to-Deck Context Menu

A lightweight Anki add-on that adds a "Go to Deck" option to the browser's context menu, allowing you to instantly filter the view to the specific deck of a selected card.

Version License: MIT AnkiWeb Anki

This utility solves a common navigation friction in the Anki Browser. Instead of manually searching for a deck name or scrolling through the sidebar, you can right-click any card and instantly isolate its home deck.

Table of Contents


Features

  • Context Menu Integration: Adds a convenient "Go to Deck" option when right-clicking a card in the Browser.
  • Instant Filtering: Automatically applies a deck:"Name" filter to the search bar.
  • Hybrid Behavior:
    • Legacy Anki (Qt5): Automatically expands the sidebar tree and highlights the specific deck folder.
    • Modern Anki (2.1.50+ / Qt6): Applies the search filter by default. Optionally, it can visually expand the sidebar using an advanced input simulation method (see Configuration).

Return to Top

Prerequisites

  • Anki Desktop: Works on both legacy (2.1.x) and modern (23.x/24.x) versions.
  • OS: Windows, macOS, or Linux.

Installation

Option A: Install via AnkiWeb (Recommended)

The easiest way to install the add-on is through Anki's built-in add-on manager.

  1. Open Anki.
  2. Go to Tools -> Add-ons -> Get Add-ons...
  3. Paste the following code into the box:
    1158865515
    
  4. Click OK and restart Anki.

View on AnkiWeb: Go to Deck (Browser Context Menu)

Option B: Manual Installation

If you prefer to install from source or modify the code:

Step 1: Open the Add-ons Folder

  1. Open Anki.
  2. Go to Tools -> Add-ons -> View Files.
  3. This opens the addons21 folder on your computer.

Step 2: Create the Folder Structure Inside addons21, create a new folder named AnkiGoToDeck (or any name you prefer, but avoid spaces).

Step 3: Copy Files Copy the following three files from this repository into your newly created AnkiGoToDeck folder:

  1. __init__.py
  2. anki_go_to_deck.py
  3. config.json

Final Structure:

addons21/
└── AnkiGoToDeck/
    β”œβ”€β”€ __init__.py
    β”œβ”€β”€ anki_go_to_deck.py
    └── config.json

Step 4: Restart Anki Restart the application for the add-on to load.

Return to Top

Configuration

This add-on includes a config.json file to control advanced behavior for modern versions of Anki.

{
    "enable_sidebar_clipboard_hack": false
}

enable_sidebar_clipboard_hack

  • Default: false
  • Description: In modern Anki (2.1.50+), the sidebar is a web component that cannot be controlled via standard API calls.
    • If false: The add-on will simply filter the card list (deck:"Name"). The sidebar tree will not change visually.
    • If true: The add-on will use a workaround to force the sidebar to expand to the correct deck.

⚠️ Important Note for the "True" setting: To achieve this on modern Anki, the script copies the deck name to your system clipboard and simulates a keyboard sequence (Ctrl+Shift+F -> Ctrl+A -> Delete -> Ctrl+V -> Enter). Enable this only if you are comfortable with the add-on briefly using your clipboard when you click "Go to Deck".

Return to Top

Usage

  1. Open the Browser in Anki.
  2. Right-click on any card in the list.
  3. Select Go to Deck from the context menu.
  4. The browser will immediately filter the list to show only cards from that deck.

Return to Top

Compatibility Notes

Sidebar Highlighting

  • Legacy Versions: On older versions of Anki where the sidebar is a standard Qt Widget, this add-on will visually expand the tree and select the deck item automatically (ignoring config.json).
  • Modern Versions (2.1.50+): Visual sidebar highlighting is disabled by default due to technical restrictions. It can be enabled by setting "enable_sidebar_clipboard_hack": true in the configuration file.

Return to Top

Kardenwort Ecosystem

This project is part of the Kardenwort environment, designed to create a focused and efficient learning ecosystem.

Return to Top

License

MIT

Return to Top