Anki add-on: Learn2Rot

Make your brainrot work for YOU! This is an open source Anki add-on that lets you earn screen time by doing your flashcards, every answer gives you a couple precious seconds. Playing media will use up your time, and when it runs out, it'll auto-pause until you do more flashcards. Works for Youtube, TikTok, Spotify, and anything else that you can play/pause with the button on your keyboard. There's also cute little squares that pile up to show you your accrued time but you can turn those off if you want, there's lots of options you can set! The old version of this add-on embeds a YouTube player in an Anki panel, which is still available in the add-on's settings but I'm probably gonna remove it since Firefox already lets you have a floating player. Also I haven't tried it on Windows but I did my best to make it work, if it doesn't please let me know on GitHub!

GitHub repository: bl-ake/learn2rot
Repository description: Anki add-on that lets you earn screen time by doing your flashcards
Languages: Python, HTML