ical-merger
ical-merger is a tool to merge multiple iCalendar files from the web into one.
It serves the files as a web-service, so you can subscribe to the calendar in your calendar application.
Setting it up
Currently the best way to set it up is to install the application using cargo:
From the Rust Book:
If you installed Rust using rustup.rs and don’t have any custom configurations, this directory will be
$HOME/.cargo/bin. Ensure that directory is in your$PATHto be able to run programs you’ve installed withcargo install.
This adds the ical-merger binary to your $PATH.
You can also get the binary for your architecture directly from the newest release on github.
When running the server like this:
The program will look for config.yaml and if not found config.json in the current working directory.
An example config file can be found in the repository ./example.config.yaml.
You can see one way to more comfortably generate configuration files by looking at ./generate_config_example.py.
You can configure the web server rocket as documented in its config section.
Most notably, the port can be set with ROCKET_PORT=<PORT> as an environment variable with a default of 8000.
ROCKET_PORT=8000
By default, we pull in the latest versions of all calenders every minute. This is currently hard-coded in the program.
release
Release with cargo release.