AnkiBadge - macOS Dock / Windows/Linux Taskbar Badge

AnkiWeb addon 548582317

Displays the total due card count as a numeric badge on the Anki Dock or taskbar icon, updating automatically and clearing when nothing is due.
AI-generated summary; may contain mistakes.

progress-tracking

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
3 (πŸ‘ 2 Β· πŸ‘Ž 1)
Updated
2026-06-18
Anki versions
25.09~
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, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-22 (10 days before the snapshot).
  • GitHub Actions workflows: 1.
  • Commits in the last year: 14.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
24.0525.09+2026-06-18
History across monthly snapshots

Loading…

Similar addons

Anki with Friends

Turns Anki study into a networked multiplayer game where players battle each other on filtered decks, track progress, and optionally share badges and daily study time.

progress-trackinggamificationfiltered-decks

8 votes 31% approval πŸ‘ 5 Β· πŸ‘Ž 3 ⭐ 4 Anki 2.1.48~ Updated 2022-02-05
Memory Status Bar and Stats

Displays total reviews done, time needed, cards in revision, daily personal records, and a memory status bar with percentiles indicating when 25% or 75% of cards become due.

statisticsprogress-tracking

8 votes 53% approval πŸ‘ 7 Β· πŸ‘Ž 1 Anki 2.1.54~ Updated 2023-02-28

Description

An Anki add-on that displays your total due card count (New + Learning + Review) as a numeric badge on the Anki Dock/Taskbar icon.

Anki Dock icon showing a badge with the due card count

Platforms Supported

  • macOS - Full Support - Standard native red badge icon on the Dock.
  • Windows 10 / 11 - Full Support* - Native taskbar overlay icon using the Windows ITaskbarList3 API.
    *But shows 99+ beyond 99 cards due
  • Linux - Conditional Support - Depends on the desktop environment; X11 and Wayland supported and requires D-Bus launcher badge support (e.g., GNOME, KDE Plasma). Fails silently on minimalist window managers like i3 or openbox. |

Features

  • Shows total cards due across all decks as a Dock badge
  • Clears the badge automatically when no cards are due
  • Updates after answering a card, finishing a sync and any changes to the queue
  • Compatible with Anki 24+ (Qt6.5+)
  • Utilizse Qt 6's QGuiApplication::setBadgeNumber() attribute supported on Qt6.5+

Limitations

  • The badge disappears when Anki is closed; (badges are owned by the running process)

Requirements

  • Anki 24.x or later

Disclaimer

This add-on was written with the assistance of Claude (Anthropic's AI assistant). It has been tested on macOS and works as described, but is provided as-is with no warranty. Use at your own risk.

License

MIT

README

Anki Dock Badge

An Anki add-on that displays your total due card count (New + Learning + Review) as a numeric badge on the Anki Dock icon.

Anki Dock icon showing a badge with the due card count

Platforms Supported

Platform Support Level Implementation Notes
macOS Full Support Native red badge on the Dock. Set through UNUserNotificationCenter (macOS 13+), so the count stays on the icon after Anki quits and keeps updating while Anki is closed (learning cards coming due, day rollover), checked hourly. Falls back to Qt's setBadgeNumber() on older macOS.
Windows 10 / 11 Full Support Native taskbar overlay icon using the Windows ITaskbarList3 API.
Linux Conditional Support Depends on the desktop environment; X11 and Wayland supported and requires D-Bus launcher badge support (e.g., GNOME, KDE Plasma). Fails silently on minimalist window managers like i3 or openbox.

Features

  • Shows total cards due across all decks as a Dock badge
  • Clears the badge automatically when no cards are due
  • Updates after answering a card, finishing a sync and any changes to the queue
  • Compatible with Anki 24+ (Qt6.5+)
  • Uses Qt 6's QGuiApplication::setBadgeNumber() (Qt 6.5+) on Windows and Linux
  • macOS: the badge persists after Anki quits and is kept up to date while Anki is closed, via badge-only notifications scheduled at quit for the next 7 days (hourly steps for the first 48 hours, then each day rollover)

Limitations

  • macOS: updates while Anki is closed run for 7 days after you quit; after that, or after a crash or force-quit, the badge stays at the last number until Anki is opened again. Studying on another device is not reflected until Anki syncs. macOS asks once to allow notifications (badge only) for Anki; if you decline, the add-on uses Qt's badge, which disappears on quit.
  • Windows/Linux: the badge disappears when Anki is closed (badges are owned by the running process)

Installation

Via AnkiWeb

Search for Dock Badge on AnkiWeb.

Manual

  1. Download or clone this repository
  2. Copy the ankibadge folder to your Anki add-ons directory:
    cp -r ankibadge ~/Library/Application\ Support/Anki2/addons21/ankibadge
    
  3. Restart Anki

Requirements

  • Anki 24.x or later

Disclaimer

This add-on was written with the assistance of Claude (Anthropic's AI assistant). It has been tested on macOS and works as described, but is provided as-is with no warranty. Use at your own risk.

License

MIT