A Habitica Integration with Github Workflows.

How To Use?

  1. Fork (and Star) this repository.
  2. Set environment variable in Settings -> Secrets.


Auto scores a habit in Habitica when planted trees in the Forest App.


  • .github/workflows/forest.yml workflows
  • scripts/forest.py python

Environment Variable

  • HABITICA_USERID required : Your Habitica User ID.
  • HABITICA_SECRET required : Your Habitica Token.
  • FOREST_SECRET required : Your cookie(remember_token) in the Forest App (details)
  • FOREST_HABIT_BASE64 required : The base64 encoded habit which you want to score in Habitica.
  • PUSH_PLUS optioned : The Push Plus Token can notice you when planted a tree .


View Github