Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davicedraz/habitica-google-calendar

Script to synchronize my calendar with Habitica, transforming events in quests
https://github.com/davicedraz/habitica-google-calendar

google-apps-script google-calendar-synchronization habitica

Last synced: about 2 months ago
JSON representation

Script to synchronize my calendar with Habitica, transforming events in quests

Awesome Lists containing this project

README

        








# Habitica Google Apps Script - Calendar Integration

This script aims to take advantage of all the abstraction contained within the use of the [Google Apps Script](https://developers.google.com/apps-script) platform, that makes easier to create and publish add-ons in an online store for Google Calendar, Docs, Slides, and Forms, to turn my calendar events into tasks in my favorite gamefied task tracking app: Habitica.

## About

[Habitica](https://habitica.com) is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.

Thanks to Habitica's public API, it is possible to:

- Transform each new event on a calendar of your choice, into a Habitica `task`, so you will earn gold and EXP when you complete it
- Whenever a new event is created, Google's own trigger is responsible for triggering a POST request for Habitica's API and creating your `task` with the information you want, and even with an image!
- Still in the Google Script panel, you can define a verification routine so that your daily Habitica tasks also keep up with your schedule changes

## Usage
```
Just copy, paste & run!
```

If you don't know Google App Scripts and have no idea how to use the script above, check the video below to know more, then click [here](https://www.google.com/script/start/) to start one:

[![Watch the video](https://www.google.com/script/start/as-playvid.png)](https://www.youtube.com/watch?v=JJgmU_JUsug)