{"id":18301412,"url":"https://github.com/marzzzello/moodlecal","last_synced_at":"2026-05-09T04:32:06.740Z","repository":{"id":103171712,"uuid":"157269327","full_name":"marzzzello/moodleCal","owner":"marzzzello","description":"Python script, logs into Moodle and downloads the calendar in the ical format. With Nginx docker container for hosting the calendar","archived":false,"fork":false,"pushed_at":"2018-11-12T20:21:50.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T09:49:19.414Z","etag":null,"topics":["calendar","docker-container","moodle","moodle-tool","nginx"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marzzzello.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-11-12T20:02:46.000Z","updated_at":"2021-07-08T14:39:07.000Z","dependencies_parsed_at":"2023-03-09T18:45:25.116Z","dependency_job_id":null,"html_url":"https://github.com/marzzzello/moodleCal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marzzzello/moodleCal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzzzello%2FmoodleCal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzzzello%2FmoodleCal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzzzello%2FmoodleCal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzzzello%2FmoodleCal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marzzzello","download_url":"https://codeload.github.com/marzzzello/moodleCal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzzzello%2FmoodleCal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["calendar","docker-container","moodle","moodle-tool","nginx"],"created_at":"2024-11-05T15:15:55.871Z","updated_at":"2026-05-09T04:32:06.734Z","avatar_url":"https://github.com/marzzzello.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# moodleCal\n### What does this?\nThe python script logs into Moodle every 2h and downloads the calendar in the ical format.\nAnd the nginx hosts this file under port 8888.\n\n### But why?\nSince the last update the calendar only works with login which is bad because no client supports it.\nMaybe it is just a config fail in the RUB-Moodle.\n\n### Use it\nChange these to your own credentials in `getcal.py` under `main()`\n\n```python\nloginURL = 'Your Moodle Login Url'   #e.g.: 'https://moodle.ruhr-uni-bochum.de/m/login/index.php'\ncalURL = 'Your calendar URL' #e.g.: 'https://moodle.ruhr-uni-bochum.de/m/calendar/export_execute.php?userid=42\u0026authtoken=deadbeefcafebabe\u0026preset_what=all\u0026preset_time=recentupcoming''\nusername = 'Your Moodle username'\npassword = 'Your Moodle password'\n```\nYou get the calendar URL in your Moodle under `calendar \u003e export calendar \u003e set preferences and click get calendar URL`\n\nInstall docker and docker-compose if you haven't already and do `docker-compose up -d`\nYou find the logs under `docker-compose logs`\n\nThen you can set the URL in your calendar sync application to `http://\u003cyour hostname or ip adress\u003e:8888/moodle.ical`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarzzzello%2Fmoodlecal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarzzzello%2Fmoodlecal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarzzzello%2Fmoodlecal/lists"}