| Crates.io | ical-merger |
| lib.rs | ical-merger |
| version | 0.3.0 |
| created_at | 2022-07-13 00:03:10.261472+00 |
| updated_at | 2022-08-22 23:42:47.540206+00 |
| description | Merges multiple iCalendar files into one, as a web service. |
| homepage | https://github.com/elikoga/ical-merger |
| repository | https://github.com/elikoga/ical-merger |
| max_upload_size | |
| id | 624764 |
| size | 88,265 |
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.
Currently the best way to set it up is to install the application using cargo:
cargo install --git https://github.com/elikoga/ical-merger
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:
ical-merger
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 ical-merger
By default, we pull in the latest versions of all calenders every minute. This is currently hard-coded in the program.
Release with cargo release.