Go to file
Ryan Mwangi 03493e34f1 read existing data from calendars.json 2024-10-14 15:49:20 +03:00
.gitignore Initial commit 2024-09-30 15:55:03 +03:00
README.md Update README.md 2024-10-10 02:35:43 +03:00
calendars.json update calendars.json file to handle multiple link groups and persist links across application restarts 2024-10-11 15:12:51 +03:00
index.html update html to include overide option 2024-10-04 15:49:34 +03:00
merged_calendar_url.txt serve updated merged calendar to user 2024-10-08 22:13:25 +03:00
package-lock.json Initial commit 2024-09-30 15:55:03 +03:00
package.json Initial commit 2024-09-30 15:55:03 +03:00
script.js send input data in the /add-links endpoint to server 2024-10-14 15:46:58 +03:00
server.js read existing data from calendars.json 2024-10-14 15:49:20 +03:00
styles.css Initial commit 2024-09-30 15:55:03 +03:00

README.md

Calendar Merger Project

Overview

The Calendar Merger project is a web application that allows users to merge multiple calendars into a single calendar. The application provides a simple and intuitive interface for users to add calendars, specify prefixes for each calendar, and override the event summaries if desired.

Features

Merge multiple calendars into a single calendar Specify prefixes for each calendar Override event summaries if desired Generate a unique URL for the merged calendar Update the merged calendar every hour using a cron job

Requirements

Node.js (version 14 or higher) Express.js (version 4 or higher) ical (version 0.7 or higher) axios (version 0.21 or higher) cron (version 1.8 or higher)

Installation

Clone the repository Install the dependencies using npm install Start the server using npm start

Usage

Open a web browser and navigate to http://localhost:3000 Click on the "Add Calendar" button to add a new calendar Enter the calendar URL, prefix, and override options as desired Click on the "Merge Calendars" button to generate the merged calendar The merged calendar URL will be displayed on the page

API Endpoints

GET /: Returns the index.html file POST /merge: Merges the calendars and returns the merged calendar URL GET /:filename: Returns the merged calendar file

Contributing

Contributions are welcome! If you'd like to contribute to the project, please fork the repository and submit a pull request.