Giter Club home page Giter Club logo

apps-script-calendar's Introduction

Schedul8r

  • Connect to personal or a shared calendar to share availability for meeting with guests

Dev Setup

  1. create an apps script project in your Google Drive
  2. copy the meetingDB sheet to the same location you created in step 1
  3. update meetingDB with your values.
  4. Get the Script Id from Project Settings page
  5. copy and .example.clasp.json to .clasp.json and update the scriptId with your scriptId from step 2
  6. install clasp
  7. login to google with clasp, you will need to update some settings in google your first time
  8. push to google
## example cli commands
> npm install @google/clasp -g
> clasp login
> npm run build:push

Deploying locally

To deploy locally, execute npm run build:push. This will bundle up everything in the /src folder and push it to the Google App Script with the ID in your .clasp.json.

Deploying a static release

If you want to use a specific descriptor name, the script looks for RELEASE_NAME from the environment. If it is not set it will default to schedul8r. Running the following command will create a new deployment with the specific descriptor from above. If the deployment already exists then it will update the existing deployment with the latest code.

npm run deploy

Configuring meetings

Configuration takes place directly in a spreadsheet.

Meeting fields

id:"sync_15", //this will be passed in as a url param e.g. http://script.google.../exec?meetingType=<id>
calendar: "[email protected]", //can be a shared calendar or your primary calendar
duration: 15, //duration of the meeting in minutes entered as an integer
title: "15 min Sync up", //This is will be what is seen on the google calendar
description: "Additional info to help guest understand purpose of meeting",
hosts: "[email protected], [email protected]", // comma seperated list the possible hosts, must match host obect id field. NeverL8 will randomly
// select a host from this list.  Helpful for sharing tasks like interviewing
hasBotGuest: false // boolean.  Add a bot if you want it to perform additional tasks, such as prep github for an interview

Host fields

email: "[email protected]", // this is used to invite the host to the meeting if using a shared calendar. this must match what is used in the hosts entry from the meeting object doesn't need to be email
timeZone: "America/New_York", //TimeZone of the host. See link below for correct TZ indentifier values
officeHours: "9,17", // comma separated values of the starting and ending hour of your day using the 24hr clock
buffers: "15,15" // buffers in minutes ensures free time before or after the meeting

Time Zone Identifiers

apps-script-calendar's People

Contributors

dlamberson-rise8 avatar jwills-r8 avatar lambersond avatar brijal-rise8 avatar jmiller-rise8 avatar

Stargazers

Joshua Nathaniel Miller avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.