Connect GitHub to Habitica
Follow these steps to connect your GitHub activity to your Habitica character.
Select Repositories
During installation, choose All Repositories or select specific projects you want to gamify.
Enter Credentials
You will be redirected to the dashboard. Enter your Habitica User ID and API Token. Where do I find them?
Set Triggers
Finally, map GitHub events to rewards to start earning. Each trigger scores a Habitica habit, which Octogriffin creates for you if it doesn't exist yet. Need ideas? Start with the coding habit recipes.
Check that it works
Push a commit to one of the repositories you picked for a trigger. Within a few seconds the event appears in the History tab of your dashboard, and the habit is scored in Habitica. History only lists events that earned a reward, so if nothing shows up, check that the trigger is active and covers that repository. The FAQ covers the most common problems.
What the GitHub App can access
Octogriffin asks GitHub for read-only access to these repository permissions, and never for write access:
- Actions
- Contents
- Discussions
- Issues
- Metadata
- Packages
- Pull requests
GitHub only sends push events to apps that can read a repository's contents. Octogriffin uses the event details GitHub sends, like who pushed and how many commits, and keeps only a record of which events earned you rewards. It never stores your code or commit messages.
