Anki add-on: Anki Enforcer

Anki Enforcer is designed for people who tend to leave Anki before finishing their reviews. You choose the decks that matter, and while they’re still incomplete for the day, the add-on keeps you on track. It works by checking whether your selected decks still have cards due. If they do, it can block closing and minimizing Anki, keep the main window at full size, and attempt to bring it back into focus if you switch away. Once those decks are complete, all restrictions are lifted and Anki behaves normally again. What it does: blocks closing while required decks are incomplete blocks minimizing forces the main window back to full size if you try to shrink it shows warning popups and attempts to reclaim focus if you switch away supports a fallback password bypass, for those emergency cases protects settings once enforcement is active supports optional Windows auto-start Link to Github repo: https://github.com/laurenshout/Anki_Enforcer

GitHub repository: laurenshout/anki_enforcer
Repository description: Anki Enforcer is an add-on designed to help you build consistent study habits by preventing you from closing or minimizing Anki until you've completed your selected decks for the day. It includes motivational popups with images and messages to keep you focused on your learning.
Languages: Python, PowerShell