Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Work in progress, but intended to sync new API for Habitica with current API for Todoist.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
README This is intended to be a two-way sync of Habitica and todoist. Any tasks that can't be found in both services should appear on the others, with the same status. If you complete a task on one service, it should appear as completed on another. Tasks that are created on Habitica should be sent to the 'Inbox' project on Todoist. AS A NOTE: in order to have two way syncing, you MUST have a paid copy of Todoist. It's not possible for me to port complete tasks from Todoist otherwise. If you do not have a paid copy of Todoist, the following will happen: a) completed tasks will not sync between the services b) tasks that you begin and complete from one service to the other will not transfer between the two. That means that if you create a task in todoist and then check it off, right now it will _not_ send the points to Habitica. I encourage people without paid todoist to pick up todoist-habitrpg, which doesn't care one way or the other. (I rather hope that kusold's success with that means that Habitica-todoist will be able to figure this out eventually, but right now that's my workaround.) Or you could pony up the $30 for a year's subscription of Todoist. I'm pretty sure it's worth it. INSTALLATION If you're lazy and comfortable with python, you can run: pip TASK DIFFICULTY I originally felt that it would be good if task difficulty translated between tasks created on Todoist and Habitica. Therefore, task difficulty should sync with the following code by default, as laid out in $PRIORITY_DOC: Todoist priority Habitica difficulty p1 Hard p2 Medium p3 Easy p4 Trivial If you'd like to change how the sync interprets difficulty or priority, please edit $PRIORITY_DOC. For example, my personal setup actually includes translating Todoist p4 to Easy, rather than Trivial, because I find that Trivial yields so few rewards they aren't worth it to me. USAGE INSPIRATION I'd like to credit several existing apps that I pulled from in order to create this. Notably: -philadams' existing habitica app, for a lot of initial code and many helpful explanations of how to do things also for existing API! -Pytodoist -Dee Dee whose scriptabit which provided a lot of ideas THANKS