Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a-schild/ical-aggregator
Ical aggregator
https://github.com/a-schild/ical-aggregator
ical icalendar node
Last synced: 14 days ago
JSON representation
Ical aggregator
- Host: GitHub
- URL: https://github.com/a-schild/ical-aggregator
- Owner: a-schild
- Created: 2023-09-12T09:41:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-13T20:00:41.000Z (about 1 year ago)
- Last Synced: 2024-10-07T23:40:55.399Z (about 1 month ago)
- Topics: ical, icalendar, node
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ical Aggregator
This software does aggregate multiple ics source calendars into a single one.
It runs on node js## Installation
Make sure you have a recent nodejs version, if not, upgrade/install it this way
https://github.com/nodesource/distributionsCheckout https://github.com/a-schild/ical-aggregator.git
Install dependencies
```bash
npm install
```
Copy config-sample.json to config.json and adapt to your needs## Running as webservice
```bash
node server.js
```
You can then navigate htpp://127.0.0.1:3000/?config=your_confignameIt then merges the defined calendars and downlads the resulting ics file
If you wish to change the port, then you have to modify it in server.js
If you wish to allow remote access, then you have to change the hostname to 0.0.0.0 or the ip you wish to bind to### Install as a system service under debian
copy the file systemd/ical-aggregator.service to /etc/systemd/system
```bash
systemctl enable ical-aggregator.service
systemctl start ical-aggregator.service
systemctl status ical-aggregator.service
```## Running in batch mode
```bash
node main.js
```The calendars are processed and writen to the outfiles as defined in the config.json
## Validating results
Upload the generated files here
https://icalendar.org/validator.html## ical library used
https://github.com/kewisch/ical.js