Giter VIP home page Giter VIP logo

ics-generator-firebase's Introduction

ics-generator

Generates calendar files suitable for use with Google Calendar, iCal, Outlook, etc.

Requirements

  • Node.js >= 0.10

Usage

npm install
PORT=7033 npm start

Query Parameters

You can load the calendar at any route, for instance /calendar.ics. The following query params are supported:

  • start: A javascript-formatted date that is the start date of the event, such as 2014/08/27 05:30:00. Required.
  • end: A javascript-formatted date that is when the event ends. Will use the start date if not passed.
  • tz: Timezone of the event date in the format America/New_York. Required.
  • summary: The event title. Required.
  • description: A longer description of the event.
  • location: Add Location (string)
  • name: Name of the calendar to add the event to. Leave blank to let the user choose.
  • rrule: Logic for Recurrence Rule. If not passed, the event will not recur.
  • all_day: If this parameter is passed, the event returned will have its "All Day" checkbox filled in.

Example URL

http://localhost:7033/calendar.ics?tz=America/New_York&start=2014/08/28%2003:00:00&end=2014/08/28%2005:30:00&summary=my%20event&description=this%20is%20an%20event.&location=Movable%20Ink

Example Reccurring URL

http://localhost:7033/calendar.ics?tz=America/New_York&start=2017/08/19%2003:00:00&end=2017/08/19%2005:30:00&summary=my%20event&description=this%20is%20an%20event.&location=Movable%20Ink&rrule=FREQ=MONTHLY;BYMONTHDAY=17

Example All Day URL

http://localhost:7033/calendar.ics?tz=America/New_York&start=2014/08/28%2003:00:00&end=2014/08/28%2005:30:00&summary=my%20event&description=this%20is%20an%20event.&location=Movable%20Ink&all_day=1

License

See LICENSE.

ics-generator-firebase's People

Contributors

aqmnguyen avatar itsolver avatar jacobjzhang avatar mnutt avatar snackzone 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.