This is a little service I've created to make organizing projects more rewarding by turning Github issues to Habitica tasks. The service is intended to be deployed on the Heroku platform and you can try it by pressing the nice purple button above.
The service requires only 3 configuration settings:
- USER_KEY - The Habitca user key.
- API_KEY - The Habitica API key.
- LABEL_TO_IGNORE - The name of a label that can be applied to issues that you want the service to ignore.
In your repo webhook settings set the webhook as follows:
- Payload URL - The URL for the heroku application you created.
- Content type - Set this to
application/json - Set the webhook events to
Send me everything.
- When opening a new Github issue, a new
todotask will be created on your Habitica account. - When closing an existing Github issue, the corresponding Habitica
todotask will be completed, if the task does not exist it will be recreated. - When reopening a closed Github issue, the corresponding Habitica
todotask will be uncompleted, if it does not exist it will be recreated.
It is possible to specify certain hints on the Github issue to specify task parameters:
- Difficulty:
Difficulty: trivialDifficulty: easyDifficulty: mediumDifficulty: hard
Specific issues can be excluded from being synced by adding a label, defined in the LABEL_TO_IGNORE env variable (set to github-rpg-ignore by default).
Adding or removing this label from existing issues will acuse the corresponding todo tasks to be deleted or recreated accordingly.