Anki add-on: AnkiStreak: Duolingo Style 🦉

AnkiStreak is a motivational add-on inspired by Duolingo's streak system. It rewards your progress with satisfying streak animations and visualizes your daily reviews through an interactive calendar. Features Daily Streak Counter Shows your current streak Click it to open the Streak Calendar Streak Freezes Automatically used on a day you forget to review Earn a new freeze every 5 days reviewed Animations Get a rewarding animation pop-up after your first review of the day Installation In Anki, go to Tools -> Add-ons . Click Get Add-ons... and paste the code from this page. Restart Anki. How It Works The first time you run the add-on, it scans your entire Anki review history ( revlog ) to build a complete record of all past days you've studied. This history is stored in a local streak_history.json file within the add-on's folder and updated on Anki restarts and syncs. The streak is recalculated whenever Anki syncs or resets. The logic works backward through each day, checking if: The day has at least one review. A streak freeze was automatically consumed that day. The add-on uses Anki's built-in hooks to trigger actions: profile_did_open : When you open your profile, the add-on loads your data and runs an initial streak calculation. reviewer_did_answer_card : After you answer your first card of the day, your streak is updated, and the "streak maintained" animation is triggered. This is also when the counter for earning new freezes is incremented. sync_did_finish : After a sync, the add-on re-evaluates your review count to include cards studied on other devices, updating progress towards the next streak freeze. Contributing Contributions are welcome! If you have ideas for new features, bug fixes, or improvements, please feel free to open an issue or submit a pull request on the GitHub page. Thanks to @filipenanclarez and @n00py for their valuable contributions. Support Any support is greatly appreciated and helps me continue development of AnkiStreak! Screenshots

GitHub repository: fusionguardian/ankistreak
Repository description: An Anki add-on that helps build consistent study habits with an interactive streak.
Languages: Python
Topics: anki, anki-addon, anki-addons, duolingo, flashcards, gamification, habit-tracker, motivation, productivity, pyqt, python, qt, srs, streak