Anki Habitica for 2.1

AnkiWeb addon 1758045507

Displays a review-screen progress bar that scores a Habitica habit when filled, awarding XP, health, mana, and gold, and supports reviews synced from other devices.
AI-generated summary; may contain mistakes.

sync-integrationprogress-trackinggamificationfork-or-reuploadservice-client

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
87 (👍 77 · 👎 10)
Updated
2026-01-14
Anki versions
23.12.1~
License
GPL-3.0 (from the GitHub repository)
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

stale

  • Last update or commit: 2026-01-14 (291 days before the snapshot).
  • Commits in the last year: 1.
  • Issues: 22 open, 128 closed.
  • Pull requests: 0 open, 11 merged.
  • Median first response: 18 hours (81 answered issues and pull requests).
  • Outside pull requests: 82% of 11 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.023.12.1+2026-01-14
History across monthly snapshots

Loading…

Similar addons

XP Tracker

Turns Anki reviews into an RPG-style progression system with XP, levels, streaks, retention bonuses, at-a-glance study stats, and a floating stats window.

statisticsprogress-trackinggamification

4 votes 51% approval 👍 4 · 👎 0 ⭐ 0 Anki 25.07.5~ Updated 2026-02-02
Block Blast

Tracks review counts to award moves at customizable intervals, letting users play a block puzzle inside Anki with adjustable board size, scoring, gravity mode, and optional notifications.

progress-trackinggamification

3 votes 21% approval 👍 2 · 👎 1 Anki 2.1.1~ Updated 2025-02-16
Awesome Dashboard

Replaces Anki's deck and review screens with a customizable widget dashboard featuring activity heatmaps, Pomodoro timer, habit tracking, exam countdowns, Quizlet-style study modes, card previews, six themes, and four languages.

review-flowstatisticsprogress-trackingtimerquiz

5 votes 57% approval 👍 5 · 👎 0 ⭐ 2 Anki 26.09.2~ Updated 2026-10-04

Description

Anki 2.1 add-on for use with Habitica. Anki Habitica for 2.0 is on https://ankiweb.net/shared/info/954979168.

This addon creates a progress bar at the bottom of the review screen. As you answer questions, reach timeboxes, and clear decks, the progress bar advances. When it gets all the way, it scores an Anki Points habit at Habitica.com (which it will create).

Anki Habitica supports reviews done on any device! Ankiweb, AnkiMobile, AnkiDroid, another computer... Anki Habitica will find those points. (Not suggested, while you still need a desktop client to sync your progress to Habitica, which may cause issues)

When the addon scores your habit on Habitica, a pop-up box tells you how many XP, HP, Mana, and Gold points you have/earned. It also tells you when you've levelled up and if you've received any items.

Notice: There is some weird text in the notes of the Habit; you must keep them.

Inspired by: https://github.com/Pherr/HabitRPG-Anki-Addon

Special thanks to Tim Wilson for the database code.

See https://github.com/eshapard/AnkiHabitica/blob/master/README.md for a more detailed description.

Please don't post bug reports here. I can't reply to you in this forum. I don't get messages when you've posted here, and I don't check this page.

Before posting an issue, make sure that it was not network problems that caused your issue. This addon assumes you have a good network connection to Habitica.

If you're having trouble with this add-on, post an issue on GitHub.

README

AnkiHabitica

Anki 2.1 add-on for use with Habitica. Places a progress bar on the bottom of the review screen and scores a Habitica habit when the progress bar reaches the end. Also shows your health, exp, and mana stats as percentages to the right of the progress bar.

For Anki 2.0 see branch anki2.0

For use with Habitica: http://habitica.com

AnkiHabitica places a progress bar on the bottom of the review screen.

  • Progress Bar: Progresses as you answer cards, complete decks, etc.
  • Health %: Your Habitica avatar's health as a percentage.
  • XP %: Your Habitica avatar's experience points as a percentage of points needed to level up.
  • Mana %: Your Habitica avatar's mana points as a percentage.

As you review, you earn points by answering questions, (optionally) hitting timeboxes, and (optionally) clearing decks.

  • 'Timeboxes' are hard-coded as 15 minutes of time spent reviewing cards. You may set your Anki timebox to whatever you like, but for this add-on to keep track of how many timeboxes you've earned, I had to set a hard-coded consistent timebox.

As you answer questions, your progress bar advances and once it reaches the end (12 flashcards in default), the add-on scores your Anki Points habit that will be created automatically.

  • Note: if the add-on creates two habits by accident, just delete one.

After scoring your habit, a pop-up message box will tell you how many XP, HP, Mana, and Gold points you earned (if any) and it will announce if you've levelled up and if you've received any items...

INSTALLATION

Auto Installation

  1. In Anki, go to Tools >> Add-ons >> Browse & Install
  2. Paste in the following code: 1758045507
  3. Restart Anki
  4. After restart, go to Tools >> Ankihabitica >> Setup
  5. Open the Habitca API Settings page: https://habitica.com/user/settings/api
  6. Enter User ID and API Token that get from HabitRPG
  7. A new Habitica Habit will be created called Anki Points (after you do some cards!)

Manual Installation

  1. Download the add-on file in https://github.com/eshapard/AnkiHabitica/releases
  2. Start Anki and in "Tools >> Add-ons >> Install from files..." select file that you download in the previous step.
  3. Then follow step 3 to step 7 in Auto Installation

Tools Menu >> AnkiHabitica

After installation, you'll find a sub-menu called AnkiHabitica under the Tools menu.

  • Setup Anki Habitica: Enter your Habitica userID and APItoken.
  • Score Habitica Backlog: When you've earned a lot of points on another device, AnkiHabitica will catch up by scoring your habit up to three times in a row each time the progress bar reaches the end. To process the backlog in one fell swoop, run this item.
  • Refresh Habitica Avatar: In testing this addon, I noticed that occasionally the avatar I downloaded would look a little funky. This is probably due to occasional changes Habitica makes to the image files; which can cause temporary problems. Run this menu item to re-download the avatar again, hopefully getting the correct image this time.

Frequently Asked Questions

How can I use AnkiHabitica in AnkiDroid?

The AnkiHabitica only runs on the desktop version of Anki, but as long as you sync your reviews on both ankidroid and the desktop version with ankiweb, the add-on will catch all the reviews.

For version before Anki 2.1.20, you will need to sync your desktop version of Anki with Habitica manually. To do this, simply access the Tools menu from Anki desktop. Then go to AnkiHabitica > Score Habitica Backlog.

If you use newer Anki, addon will automatically score backlog after syncing.

Why are there some weird text in the notes of the Habit

That's how the addon keeps track of things across multiple devices and multiple sessions. You must keep that there.

Notes

AnkiHabitica stores some necessary information in the notes field of your Habitica habit. Do not edit the notes field unless you really know what you're doing.

The Score Habitica Backlog function is limited to scoring your habit a maximum of 25 times in a row. This is to prevent the application from appearing to hang; causing the user to think Anki has crashed. In future versions, I may implement a progress bar notification, but for now, this is how it is.

Apparently, video game players start to get impatient when the progress bar is around 80% or so. If you speed up how quickly they acquire points after 80%, you'll get a higher retention rate of players. See Tom Chatfield's TED talk for more: https://www.ted.com/talks/tom_chatfield_7_ways_games_reward_the_brain?language=en

AnkiHabitica's progress bar emulates this behavior. After the bar reaches about 80%, it will progress twice as fast as it normally does.

General Anki Tips

I occasionally post tips on using Anki and calibrating its settings at https://eshapard.github.io/anki/