{"id":19282560,"url":"https://github.com/scott-mescudi/sick-bot","last_synced_at":"2025-09-11T06:31:51.245Z","repository":{"id":226082380,"uuid":"767667696","full_name":"scott-mescudi/sick-bot","owner":"scott-mescudi","description":"alarm  clock that sends a email announcing your absence if you dont turn it off","archived":false,"fork":false,"pushed_at":"2024-08-12T07:24:57.000Z","size":11065,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-09T21:34:42.307Z","etag":null,"topics":["alarm-clock","tool"],"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/scott-mescudi.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":"2024-03-05T17:35:50.000Z","updated_at":"2024-08-12T07:25:00.000Z","dependencies_parsed_at":"2024-11-09T21:38:05.862Z","dependency_job_id":null,"html_url":"https://github.com/scott-mescudi/sick-bot","commit_stats":null,"previous_names":["scott-mescudi/sick-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scott-mescudi%2Fsick-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scott-mescudi%2Fsick-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scott-mescudi%2Fsick-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scott-mescudi%2Fsick-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scott-mescudi","download_url":"https://codeload.github.com/scott-mescudi/sick-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232615281,"owners_count":18550650,"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":["alarm-clock","tool"],"created_at":"2024-11-09T21:27:22.011Z","updated_at":"2025-01-05T17:13:12.891Z","avatar_url":"https://github.com/scott-mescudi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SickBot - Automatic Absence Notification System\n\nSickBot is a Python program that automates the process of sending absence notifications to a predefined recipient via email at a specified time. It can be utilized for various purposes such as notifying teachers or employers about unexpected absences.\n\n## Installation and Setup\n\n1. **Python Installation**: Ensure you have Python installed on your system. This program is compatible with Python 3.x.\n\n2. **Dependencies Installation**: Install the required dependencies using pip. You can install them via the following command:\n    ```bash\n    pip install pygame colorama\n    ```\n\n3. **Configuration Setup**: Edit the `config.json` file to configure your SMTP server details and email credentials. The configuration file includes the following parameters:\n   - `smtp_server`: SMTP server address.\n   - `smtp_port`: Port number of the SMTP server.\n   - `smtp_username`: Username for SMTP authentication.\n   - `smtp_password`: Password for SMTP authentication.\n   - `from_email`: Sender's email address.\n   - `to_email`: Recipient's email address.\n   - `audio_file_path`: Path to the audio file to be played as an alarm.\n\n## Usage\n\n1. **Run the Program**: Execute the program by running the Python script `sickbot.py`.\n\n2. **Set Alarm Time**: Enter the desired hour and minute when you want the alarm/notification to trigger. The program will wait until the specified time to execute further actions.\n\n3. **Notification Process**: At the specified time, the program will play an alarm sound and prompt you to take action:\n   - You have a set duration (randomly generated between 2 to 120 minutes) to close the program to cancel the email notification.\n   - If no action is taken within the specified duration, an email will be automatically sent to the recipient with a predefined absence notification message.\n\n4. **Cancel Notification**: To cancel the email notification, simply close the program using `Ctrl + C` before the countdown timer ends.\n\n## Important Notes\n\n- Ensure that your SMTP server allows access from less secure apps or provides an application-specific password if required.\n- Customize the absence notification message (`letter` variable in the script) according to your requirements.\n- Test the program with caution, especially when dealing with real email addresses and SMTP credentials.\n\n#### Video Tutorial: Setting Up SMTP Server with Gmail\n\nHere's a video tutorial that demonstrates how to set up an SMTP server using Gmail:\n\n[![Setting Up SMTP Server with Gmail](https://img.youtube.com/vi/kTcmbZqNiGw/0.jpg)](https://www.youtube.com/watch?v=kTcmbZqNiGw\u0026t=235s)\n\nYou can follow along with this video to configure your SMTP server with Gmail. Once set up, make sure to update the `smtp_server`, `smtp_port`, `smtp_username`, and `smtp_password` variables in the `sickbot.py` script accordingly.\n\n### Additional Resources\n\n- [Gmail SMTP settings and configuration](https://support.google.com/mail/answer/7126229)\n- [Setting up SMTP server with other email providers](https://www.google.com/search?q=setting+up+smtp+server)\n\nBy following these instructions and the video tutorial, you'll be able to set up an SMTP server effectively for use with the `sickbot.py` script. If you encounter any difficulties, feel free to consult the documentation of your email provider or seek further assistance online.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscott-mescudi%2Fsick-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscott-mescudi%2Fsick-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscott-mescudi%2Fsick-bot/lists"}