https://github.com/raineorshine/simplifiedavailability
Generates a simple text list of your availability from your Google Calendar
https://github.com/raineorshine/simplifiedavailability
Last synced: 3 months ago
JSON representation
Generates a simple text list of your availability from your Google Calendar
- Host: GitHub
- URL: https://github.com/raineorshine/simplifiedavailability
- Owner: raineorshine
- Created: 2021-02-22T14:54:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-22T15:09:46.000Z (over 4 years ago)
- Last Synced: 2025-03-10T15:09:33.018Z (3 months ago)
- Language: Sass
- Homepage:
- Size: 2.95 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.html
Awesome Lists containing this project
README
simplifiedavailability
Generates a simple text list of your availability from your Google Calendar
Development
Running the server
$ nodemon -w app app.js
README.md gets compiled in the
gulp readme
task, so you can view it locally. Just open README.html in your browser.Testing webhooks on localhost
Ultrahooks doesn't work with https :(
$ ultrahook 4372/testhook
Authenticated as raine
Forwarding activated...
http://test.raine.ultrahook.com -> http://localhost:4372/testhook$ curl -X POST http://test.raine.ultrahook.com
[2014-08-07 07:46:34] POST http://localhost:4372/testhook - 200Known Issues
bower install doesn't work in postinstall script
Current hack is to install public/bower_components locally and don't gitignore them so they get pushed up to the repo.
Resources
-
Google API Keys:
https://console.developers.google.com/project/278678249466/apiui/credential?authuser=0 -
Google API Client Library:
https://developers.google.com/api-client-library/javascript/features/authentication -
Google Calendar API:
https://developers.google.com/google-apps/calendar/v3/reference/
https://developers.google.com/google-apps/calendar/v3/reference/events/list
Google API Push Notifications:
-
requires HTTPS hook
-
https://developers.google.com/google-apps/calendar/v3/push
- http://stackoverflow.com/questions/19648611/setup-push-notifications-for-google-calendar-api-using-php-client
- https://github.com/Server4001/google-cal-event-push-notifications
Angular + Socket.io
https://github.com/btford/angular-socket-io
Using the google-calendar module:
https://github.com/wanasit/google-calendar/blob/master/example/list-example.js
Webhooks
Testing
- requestb.in
- respondto.it
-
ultrahook - Receive webhooks on localhost (no https) -
ngrok - Introspected tunnels to localhost (with https)