See live demo here!
This is now a simple static site built with Vite. It no longer requires Bower or Grunt.
npm install
npm run buildThe built site is written to dist/. For local development:
npm run devThere are numerous iCalendar (.ics) generators already available, but I could not find one that met my needs:
- Most of the existing .ics generators don't support timezones.
- Most of the existing .ics generators don't handle timezones correctly, even if they had some support for it.
- Most of the existing .ics generators that support timezones require the user to convert it to UTC, EST or some other timezone first, manually.
- None of them allowed creating an .ics file directly from the URL. I really wanted this function as I did not like the constant hassle of creating an .ics file, hosting it, and then linking to it.
The iCalendar generator I made is based entirely on JavaScript and does not require any server-side components. It supports various timezones by storing the date and time in UTC, and you can also generate a link that will automatically generate and download an ICS file.
This uses a number of browser-side libraries, including:
- ics.js - My fork of it (which I am using) is here.
- moment.js and moment-timezone
- URI.js
- Bootstrap 3 and related UI plugins
The old Bitly and Google URL Shortener integrations were removed because those APIs are deprecated. The app still generates direct iCalendar download links and Google Calendar event links.
Refactor/clean up code.