ical-merger

Crates.ioical-merger
lib.rsical-merger
version0.3.0
sourcesrc
created_at2022-07-13 00:03:10.261472
updated_at2022-08-22 23:42:47.540206
descriptionMerges multiple iCalendar files into one, as a web service.
homepagehttps://github.com/elikoga/ical-merger
repositoryhttps://github.com/elikoga/ical-merger
max_upload_size
id624764
size88,265
(elikoga)

documentation

https://docs.rs/ical-merger

README

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:

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 $PATH to be able to run programs you’ve installed with cargo 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

Release with cargo release.

Commit count: 32

cargo fmt