{"id":30760639,"url":"https://github.com/mscherer/cronenbear","last_synced_at":"2025-09-13T11:02:37.794Z","repository":{"id":305634634,"uuid":"1018033698","full_name":"mscherer/cronenbear","owner":"mscherer","description":"Small rust server to merge GCal holidays in a single ics file","archived":false,"fork":false,"pushed_at":"2025-08-25T19:11:46.000Z","size":240,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-25T19:25:31.293Z","etag":null,"topics":["ical","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mscherer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-11T13:49:11.000Z","updated_at":"2025-08-25T19:11:42.000Z","dependencies_parsed_at":"2025-08-12T17:06:22.133Z","dependency_job_id":"139e6c72-f3bb-4dc2-91d1-8a8258f2b945","html_url":"https://github.com/mscherer/cronenbear","commit_stats":null,"previous_names":["mscherer/cronenbear"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mscherer/cronenbear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscherer%2Fcronenbear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscherer%2Fcronenbear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscherer%2Fcronenbear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscherer%2Fcronenbear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mscherer","download_url":"https://codeload.github.com/mscherer/cronenbear/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mscherer%2Fcronenbear/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273612997,"owners_count":25137077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ical","rust"],"created_at":"2025-09-04T13:09:15.606Z","updated_at":"2025-09-04T13:09:17.046Z","avatar_url":"https://github.com/mscherer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"A small rust program to merge holidays calendars\n\n# History\n\nAt $work, one of my coworker spent time copying public holidays from\nGoogle Calendar to our shared team calendar. Seeing that, I decided this could be\nthe job of a script and so I initially wrote a small CLI tool for that. \n\nLater, I decided that Python was not cool enough and wouldn't give me street cred\namong my peers, so I rewrote the software in Rust with Axum and Askama.\n\nWhile searching for a name, I had the idea to combine \"bear\", the mascot of our\ndepartement, and \"David Cronenberg\", because there was a restrospective of his movies\nin Paris which reminded me of the theme of merging in his filmography (The Fly, Dead Ringers,\neXistenZ to name a few), hence the punny name \"Cronenbear\".\n\n# Installation\n\nJust install a rust tool chain and build with `cargo run --release`. There is no support\nfor https, the tool listen in http on port 1107 and assume it is behind a reverse proxy dealing\nwith TLS.\n\nYou need to restart it from time to time to refresh the calendars from Google.\n\nA Dockerfile is provided to let everything be built on Openshift.\n\n# Adding a new alias\n\nFor now, the aliases are hardcoded in the file `data/aliases.toml`. To add a new one, please\nsubmit a pull request. I may add support for a config file later.\n\n# Adding a new country\n\nAs Google somehow decided to not use iso 3166 code for naming the calendars, the code\nuse a manually built lookup table. I added a few countries before I got bored, so\nif a country is missing, the `get_google_id` function in `src/country_calendar.rs` need to be completed.\n\n# Adding a new religion\n\nIf Google decide to add a new religious calendar, it need to be added in `src/religion_calendar.rs`, and\na corresponding emoji is likely needed in the same file.\n\n# Missing features\n* The documentation on the index page is sparse\n* The design could be improved (see `templates/index.html`)\n* Startup is slow as every calendar is fetched one by one\n* There is no resilience against Google Calendar bugs, some caching should be added\n* There is no refresh coded in the server except restarting, which is automatic on Openshift\n* There should be a config file and not use a hardcoded toml file. Or even better, a configuration directory.\n* The hidden calendar should be hidden behind some sha256 or md5 url.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmscherer%2Fcronenbear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmscherer%2Fcronenbear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmscherer%2Fcronenbear/lists"}