Skip to content
/ gcal Public

Google cloud function that sends me a text if I have any meetings

Notifications You must be signed in to change notification settings

nkhil/gcal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcal

Google cloud function that retrieves upcoming events from google calendar and uses the Twilio api to text me.

Setup

Environment variables

The following environment variables are needed before running this locally

CREDENTIALS=<gcloud credentials>
REFRESH_TOKEN=<google account refresh token>
TWILIO_SID=<Twilio SID>
TWILIO_TOKEN=<Twilio auth token>
TWILIO_SERVICE_SID=<Twilio service SID>
PHONE_NUMBER=<phone number>

Install dependencies using npm i

Run the function

npm run start

Test the function

curl localhost:8080

About

Google cloud function that sends me a text if I have any meetings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published