{"id":16916849,"url":"https://github.com/harshil21/lazy-meets","last_synced_at":"2025-03-20T21:41:16.415Z","repository":{"id":46710068,"uuid":"378874773","full_name":"harshil21/Lazy-Meets","owner":"harshil21","description":"A script which automatically leaves a MS Teams meeting when you're not around.","archived":false,"fork":false,"pushed_at":"2021-09-29T07:08:37.000Z","size":681,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T18:43:12.822Z","etag":null,"topics":["automation","bot","microsoft-teams","pyautogui","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/harshil21.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":"2021-06-21T09:21:12.000Z","updated_at":"2021-09-29T07:10:25.000Z","dependencies_parsed_at":"2022-09-10T22:01:06.157Z","dependency_job_id":null,"html_url":"https://github.com/harshil21/Lazy-Meets","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/harshil21%2FLazy-Meets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshil21%2FLazy-Meets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshil21%2FLazy-Meets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshil21%2FLazy-Meets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshil21","download_url":"https://codeload.github.com/harshil21/Lazy-Meets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244693682,"owners_count":20494491,"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":["automation","bot","microsoft-teams","pyautogui","python"],"created_at":"2024-10-13T19:30:28.626Z","updated_at":"2025-03-20T21:41:16.388Z","avatar_url":"https://github.com/harshil21.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lazy-Meets\nA script which automatically leaves a MS Teams meeting when you're not around.\n\n![GitHub repo size](https://img.shields.io/github/repo-size/harshil21/Lazy-Meets)\n\n## Installing\n\nClone the repository and install the ~~one~~ two requirements:\n``` bash\ngit clone https://github.com/harshil21/Lazy-Meets \u0026\u0026 pip install -r requirements.txt\n```\n\n_Update 13/9/21: You will now most likely also need the `pytesseract` library to perform OCR._\n\n### Installing pytesseract \u0026 Google Tesseract\n``` bash\npip install pytesseract\n```\n[Download Google OCR for Windows](https://github.com/UB-Mannheim/tesseract/wiki#tesseract-installer-for-windows)\n(you don't need the training dataset so you can uncheck that. Download size is ~196MB 😔)\n\n\nNow, make sure that you have already joined a Microsoft Teams meeting. Next, run:\n\n``` bash\ncd \"Lazy-Meets\" \u0026\u0026 python main.py\n```\n- You can pass more args, see the help message by running `python main.py -h`\n\nCongrats! The script will now monitor for changes and automatically leave the meeting when its supposed to!\n\n### How it works\n\nThe script observes the meeting list every X seconds to get the number of participants currently in the meeting. If Y number of people left the meeting in those X seconds, it leaves the meeting too. This is helpful if you're AFK or just don't like to attend class :P\n\n----\n## FAQ:\n\n### How is this different from other scripts which claim to do the same thing?\n\nThis script allows to you dynamically leave a meeting. Most other scripts only leave at a particular time, which isn't practical since most meetings don't end on the dot. It's also lightweight, and doesn't require computer vision (edit: now needs OCR :/) or massive libraries such as selenium.\n\n### Why not just use the Microsoft Teams API?\n\nThis uses only a very tiny subset of the API and is hence not worth setting up for such a basic task. It also requires consent of the channel administrator (and we don't want our admins to know about this hehe).\n\n### I keep getting a ValueError!\n\nMake sure that you're using dark mode in the latest version of the Teams app. If problems still occur, write an issue here.\n\n\n## Testing\n\nThis currently only works with dark mode enabled on *Windows*. You're welcome to open a PR supporting light mode / other platforms. Since this is entirely hardcoded, many things can go wrong, so support can be limited.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshil21%2Flazy-meets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshil21%2Flazy-meets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshil21%2Flazy-meets/lists"}