34 2
Sign in to rate

Anki Habitica for 2.1

0.08MB. Updated 2020-03-24. Only supports Anki 2.1.x.

Description

Anki 2.1 add-on for use with Habitica. Anki Habitica for 2.0 is on https://ankiweb.net/shared/info/954979168. Update 2019-05-24: Github user 71e6fd52 has converted this for use with Anki 2.1 Update 2018-05-30: Habitica has not fixed their avatar export feature. This is a known bug that has been around for a long time; the problem is not with the addon. Because of this, I have added support for using a static image instead. Update 2017-08-13: Problems with new Habitica API should be fixed. (Problem was we couldn't score habit) Update 2017-02-15: Code changed to avoid slowdowns encountered by users with large numbers of decks. New in Version 2.0: Anki Habitica now supports reviews done on any device! Ankiweb, ankimobile, ankidroid, another computer... Anki Habitica will find those points. This addon creates a progress bar on 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). 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 leveled up and if you've received any items. Notice: There's are some weird text in the notes of the Habit, you must keep them. For use with Habitica (formerly HabitRPG): http://habitica.com Inspired by: https://github.com/Pherr/HabitRPG-Anki-Addon Special thanks to Tim Wilson for the database code. See https://github.com/eshapard/AnkiHRPG/wiki 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. If you're having trouble with this add-on, post an issue on GitHub.

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

1758045507

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons

Reviews

on 1602255746
so much fun for my 考试之路。。。thanks
on 1600220676
Great!! Studying can be rewarded immediately!
on 1600080456
does this work on ankidroid too?
on 1599623326
Good app overall. However, can you add an option to disable the notification? kinda distracting and break the flow if the notification pops up about every 10 cards
on 1597092758
Amazing
on 1596000252
I'm a rookm a rookie,don't know how to do,would you tell me,thank you!
错误
有一个错误发生了.请在按住shift键的同时启动Anki,这样可以临时的忽略掉你已经安装的插件。
如果仅仅是因为插件引起的问题,请选择工具>插件菜单项来将出错的的插件设置成失效,然后重启Anki,重复以上的步骤直到你发现了具体是哪个插件引起的问题。
当你已经发现是因为插件引起的问题,请在我们的支持网站上 add-ons section 上报告问题。
调试信息
Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-07-29 12:33:12

Caught exception:
Traceback (most recent call last):
File "C:\Users\ChanHong\AppData\Roaming\Anki2\addons21\1758045507\__init__.py", line 611, in score_backlog
ah.habitica.grab_scorecounter()
File "C:\Users\ChanHong\AppData\Roaming\Anki2\addons21\1758045507\habitica_class.py", line 364, in grab_scorecounter
response = self.api.task(self.habit_id)
File "C:\Users\ChanHong\AppData\Roaming\Anki2\addons21\1758045507\habitica_api.py", line 106, in task
out = self.v3_request("get", "/tasks/%s" % str(task_id))
File "C:\Users\ChanHong\AppData\Roaming\Anki2\addons21\1758045507\habitica_api.py", line 75, in v3_request
response = json.load(opener.open(req, timeout=timeout))
File "urllib\request.py", line 531, in open
File "urllib\request.py", line 640, in http_response
File "urllib\request.py", line 569, in error
File "urllib\request.py", line 502, in _call_chain
File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 401: Unauthorized
on 1595958205
NOT working. I installed Payton 3.6 and created a task called Anki Points on Habitca. Not working. Time wasted.
Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.15.5
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-07-29 01:12:15
Anki Habitica for 21⁩

Caught exception:
Traceback (most recent call last):
File "/Users/yujie/Library/Application Support/Anki2/addons21/1758045507/__init__.py", line 611, in score_backlog
ah.habitica.grab_scorecounter()
File "/Users/yujie/Library/Application Support/Anki2/addons21/1758045507/habitica_class.py", line 364, in grab_scorecounter
response = self.api.task(self.habit_id)
File "/Users/yujie/Library/Application Support/Anki2/addons21/1758045507/habitica_api.py", line 106, in task
out = self.v3_request("get", "/tasks/%s" % str(task_id))
File "/Users/yujie/Library/Application Support/Anki2/addons21/1758045507/habitica_api.py", line 75, in v3_request
response = json.load(opener.open(req, timeout=timeout))
File "urllib/request.py", line 531, in open
File "urllib/request.py", line 640, in http_response
File "urllib/request.py", line 569, in error
File "urllib/request.py", line 502, in _call_chain
File "urllib/request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 401: Unauthorized
on 1595163837
Amazing way to make Anki more addicting and rewarding! :D
on 1594551521
I love you, seriously! When I get rich, will buy you a lambo!
on 1594357905
JUST WHY?
forbidden in Syria
on 1591205793
Awesome
on 1591023165
I didn´t even know Habitica before. Besides the great addon, it is a great Website!
on 1590875584
thx
on 1589053364
thank you
on 1588296394
Love it so far, is there a way to turn off the notification each time you cycle through the cards?
on 1587002540
Thanks
on 1586079017
Excellent gamification!
on 1584548016
Does what it should.
on 1584154963
I'm lovin' it!
on 1584039767
Nice
on 1583557876
Works great! I'm still trying it out, but initially I'm feeling that it breaks the flow of my studying nothing against the add-on itself though.
on 1582946998
good
on 1580665044
Amazing add on!
on 1580664220
Really cool addon, there is certainly a lot to unpack. You can change the font colors in habitica_class.py under the "Compact Habitica Stats for Progress Bar" for better viewing in night mode.
on 1578347448
it's more than I expected!
on 1574021232
Thanks a lot!
on 1573507948
Loving it, combining Habitica with my other apps is awesome!
on 1570639715
Amazing, really helps me stay motivated. Thank you for making this available for everyone!
on 1567951324
Thanks! It works great :)
on 1567619907
Omg!!! Up Up Up rate this Add on plz :D
on 1565184681
excellent
on 1564208930
loved it !!
on 1563000779
Awesome, thanks.
on 1562634984
perfect
on 1562211890
Works perfectly. Exactly what I was looking for. Thank you for taking the time to write this!
on 1560016570
Works well. Thanks.