Anki GoalBar

AnkiWeb addon 1071423745

Adds configurable goal progress bars to Anki's home screen, tracking weekly, monthly, yearly, or custom reviews, new cards, and study time.
AI-generated summary; may contain mistakes.

progress-trackinggamificationmotivationappearance

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
2 (πŸ‘ 1 Β· πŸ‘Ž 1)
Updated
2026-04-16
Anki versions
25.09.2~
Description language
en

Maintenance

active

  • Last update or commit was 168 days before the snapshot (2026-04-16).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.0925.09.2+2026-04-16
History across monthly snapshots

Loading…

Similar addons

Level System

Adds XP, levels, streaks, combos, badges, achievements, HUD stats, and activity charts to Anki, with configurable goals, notifications, and display options.

statisticsprogress-trackinggamification

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 0 Anki 26.08.1~ Updated 2026-09-08
LanguageForge

Tracks language practice across reading, listening, speaking, and writing with daily logs, monthly goals, resources, radar charts, and multi-language profiles, storing all data locally.

statisticsprogress-trackingappearance

Rating 1 πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 2 Anki 23.10~ Updated 2025-11-20

README

Goal Tracking Progress Bar

<p align="center"> <a href="https://buymeacoffee.com/moritzowitsch"> <img src="https://img.shields.io/badge/Buy%20Me%20a%20Coffee-FFDD00?style=for-the-badge&logo=buymeacoffee&logoColor=000000" alt="Buy Me a Coffee" /> </a> <a href="https://github.com/moritzvitt"> <img src="https://img.shields.io/badge/GitHub-moritzvitt-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub moritzvitt" /> </a> </p>

Goal Tracking Progress Bar is an Anki add-on that adds a configurable goal widget to the home screen. It tracks progress for study targets such as reviews, new cards, and study time, and keeps the result visible directly in the deck browser.

What It Does

  • shows weekly, monthly, yearly, and custom goals on the home screen
  • tracks reviews completed, new cards learned, or study minutes
  • supports milestones, streak badges, and reward ladders
  • includes multiple layout options and deck-group targeting

Typical Uses

  • keep daily or weekly study targets visible
  • track progress for specific deck groups
  • use milestone markers to see whether you are behind pace

Installation

Install the add-on from AnkiWeb if a release is available, or install it manually from a packaged .ankiaddon file.

Related Add-ons

If you want a more polished and consistent look across my add-ons, you can also install my Global Styling add-on. It lets you apply a shared design on top of supported add-ons without changing their functionality.

Links

  • Technical details: ARCHITECTURE.md β”‚ β”œβ”€β”€ metrics.py β”‚ β”œβ”€β”€ models.py β”‚ β”œβ”€β”€ periods.py β”‚ β”œβ”€β”€ render.py β”‚ └── service.py └── docs/

## How It Works

- [`goal_tracking_progress_bar/addon.py`](./goal_tracking_progress_bar/addon.py) registers a `deck_browser_will_render_content` hook and appends the widget to the home screen stats area.
- [`goal_tracking_progress_bar/service.py`](./goal_tracking_progress_bar/service.py) loads config, applies a lightweight cache, computes enabled deck groups, and returns the final HTML.
- [`goal_tracking_progress_bar/metrics.py`](./goal_tracking_progress_bar/metrics.py) queries Anki's `revlog` for reviews, first-learned cards, and study time, scoped to cards currently in each configured deck tree.
- [`goal_tracking_progress_bar/render.py`](./goal_tracking_progress_bar/render.py) contains the compact HTML, styling, motivation popup, streak badge rendering, and the one-deck-at-a-time carousel controls.
- [`goal_tracking_progress_bar/periods.py`](./goal_tracking_progress_bar/periods.py) computes local-time weekly, monthly, yearly, and custom period boundaries.

## Config

See [`docs/config.md`](./docs/config.md) for the full schema. You can configure multiple deck goal groups, custom goal windows, global layout options, motivation visibility, streak display, rewards, and milestones.

## Notes

- Weekly starts on Monday and monthly starts on the first of the month.
- Yearly goals default to January 1 but can be moved to any repeating month/day.
- Custom goals can target all decks or a single deck tree and use a custom start/end window.
- Fresh defaults enable weekly, monthly, and yearly goals for the most-used deck tree and start in carousel mode.
- The motivation scroll can be shown or hidden globally.
- Weekly, monthly, and yearly goals ship with separate sets of 20 default reward ideas, each with an emoji.
- Streak badges are earned when you complete consecutive goal periods and can be shown in full or collapsed to the latest badge.
- Reward chips can be hidden globally or per goal.
- Milestone markers can be hidden globally or individually for 1/4, 1/2, and 3/4 when showing all milestones.
- In next-only milestone mode, passed milestone days disappear automatically and completed goals fall back to the half milestone.
- New cards are counted as cards whose first recorded revlog entry falls in the current period.
- Study time is summed from `revlog.time` and rounded to whole minutes.
- Styling lives in [`goal_tracking_progress_bar/render.py`](./goal_tracking_progress_bar/render.py) so the widget can be adjusted without touching the query logic.