{"id":18391842,"url":"https://github.com/adamdubiel/calendar-metrics","last_synced_at":"2025-04-12T09:43:34.914Z","repository":{"id":35769284,"uuid":"193473366","full_name":"adamdubiel/calendar-metrics","owner":"adamdubiel","description":"Google Apps Script gathering Google Calendar statistics","archived":false,"fork":false,"pushed_at":"2023-01-04T00:57:41.000Z","size":1925,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T01:26:04.278Z","etag":null,"topics":["calendar","gas","google"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamdubiel.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}},"created_at":"2019-06-24T09:17:39.000Z","updated_at":"2023-01-31T10:47:37.000Z","dependencies_parsed_at":"2023-01-16T05:55:27.826Z","dependency_job_id":null,"html_url":"https://github.com/adamdubiel/calendar-metrics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdubiel%2Fcalendar-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdubiel%2Fcalendar-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdubiel%2Fcalendar-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdubiel%2Fcalendar-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamdubiel","download_url":"https://codeload.github.com/adamdubiel/calendar-metrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248549918,"owners_count":21122925,"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","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","gas","google"],"created_at":"2024-11-06T01:53:26.572Z","updated_at":"2025-04-12T09:43:34.887Z","avatar_url":"https://github.com/adamdubiel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CalendarMetrics\n\nSimple Google Apps Script that reads data from Google Calendar for defined dates and\ncreates statistics about % of time spent on meetings.\n\n## Features\n\n* [x] read events from any calendar within specified dates\n* [x] show occupancy for each day (% of working hours in meetings)\n    * [x] support overlapping events\n    * [x] support multi-day events\n    * [x] count only acknowledged events\n* [x] filter only weekdays\n* [x] show occupancy for the whole week\n* [x] ignore events without guests\n* [x] add ability to filter out events based on regexes\n* [x] add ability to whitelist events based on regexes\n* [ ] show all days, not only those with events\n  * [ ] count period occupancy using only work days\n* [ ] basic configuration\n  * [ ] how to pass on confguration?\n  * [ ] configure calendar\n  * [ ] configure time range\n* [ ] meeting types histogram\n  * [ ] configure categories by meeting title\n  * [ ] special category: recurriing events\n* [ ] aggregate multiple calendars\n* spreadsheets output\n  * [ ] dump data to spreadsheet\n  * [ ] detect existing dates\n  * [ ] create new sheet per quarter (?)\n\n## Gotchas\n\nOnly events when calendar owner is marked as Organiser are not counted.\nYou can be the owner of the event, but not an organiser. If so, you count\nas a guest.\n\nBeing organiser and being an owner is indistinguishible on API level.\n\n## How to run for development\n\n* install [clasp](https://github.com/google/clasp)\n* open [GSuite Developer Hub](https://script.google.com/home/projects/)\n* select \u0026 open project\n* `clasp push`\n* run function\n\n### Test\n\n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamdubiel%2Fcalendar-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamdubiel%2Fcalendar-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamdubiel%2Fcalendar-metrics/lists"}