Skip to content

aqmnguyen/ics-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
  • name: Name of the calendar to add the event to. Leave blank to let the user choose.

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.

License

See LICENSE.

About

Generate calendar events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%