8000 GitHub - shamsch/tick_tick_automation: Personal automation.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

shamsch/tick_tick_automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TickTick Automation

This is a simple automation I made for myself. I use TickTick as my To-Do list of choice and I wanted to sync events between my personal Google Calender, school Outlook calender, and TickTick. While you can acheive this without any code if you buy their premium subscription (which I recommend you do as it is a great app), I wanted to put my AWS free tier, Python scripting, and Infrastructure as Code (Terraform in this case) skills to the test. This should cost 0$ of AWS bill.

How it works

The lambda function is triggered by a CloudWatch event every 15 minutes. It then gets the calender events from shareable ICS links from Google Calender and Outlook Calender. It then parses the ICal data, checks if the events were already sent to TickTick (for this, it uses DynamoDB), and if not, sends the event to TickTick. To send the event to TickTick, it uses TickTick's email to task feature. It then uses SMTP server and a Gmail account for which you need the old APP password to send the email.

If you want to use this

You will need to create a terraform.tfvars file in the /terraform directory with the following variables:

gmail              = ""
gmail_app_password = ""
calender_link_1    = ""
calender_link_2    = ""
email              = ""

You then need to modify the main.py to your needs. Other than that, you can run terraform apply in the /terraform directory and you should be good to go as long you have the right credentials for Terraform to deploy the resources.

About

Personal automation.

Topics

Resources

Stars

Watchers

Forks

0