This is an http proxy server which cleans up iCalendar (.ics) files given via URL and returns a stripped-down version with only the latest events left.
TODO Add more description
This project is built using Rust. You need to have rustc and cargo installed.
Run it like this with default options:
cargo run --bin serverThe server is now running on http://localhost:3077 (but it listens on all addresses).
You can add -- to add additional args. Try the following to see the available options:
cargo run --bin server -- --helpIn order to use it, you need to supply the url to the .ics file in the url query parameter. Example:
curl http://localhost:3077/?url=https://calendar.google.com/calendar/ical/.../basic.icsThis will return a shortened, cleaned-up version of the ics file content.
There is also a docker image. You can use the prebuilt image directly:
docker run -it --rm -p 3077:3077 decentralize/ical-cleanup-proxyYou can also build the docker image locally yourself:
docker compose buildAfterwards, you run the image like this:
docker compose up app