{"id":50742972,"url":"https://github.com/ohcnetwork/care_notifications_be","last_synced_at":"2026-06-10T18:30:41.487Z","repository":{"id":358865515,"uuid":"1241823884","full_name":"ohcnetwork/care_notifications_be","owner":"ohcnetwork","description":"Plug for CARE that sends SMS notifications to patients on booking","archived":false,"fork":false,"pushed_at":"2026-05-19T17:35:40.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T06:42:39.059Z","etag":null,"topics":[],"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/ohcnetwork.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-17T21:26:29.000Z","updated_at":"2026-05-19T17:35:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ohcnetwork/care_notifications_be","commit_stats":null,"previous_names":["ohcnetwork/care_booking_notifications_be","ohcnetwork/care_notifications_be"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ohcnetwork/care_notifications_be","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcare_notifications_be","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcare_notifications_be/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcare_notifications_be/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcare_notifications_be/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohcnetwork","download_url":"https://codeload.github.com/ohcnetwork/care_notifications_be/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fcare_notifications_be/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34165482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2026-06-10T18:30:38.994Z","updated_at":"2026-06-10T18:30:41.478Z","avatar_url":"https://github.com/ohcnetwork.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# care_booking_notifications_be\n\nCARE plug that sends notifications to patients.\n\n## Currently supports\n\n1. Token bookings — confirm, reminder, cancel, reschedule.\n\n## Install\n\nAdd to `plug_config.py`:\n\n```python\nbooking_notifications = Plug(\n    name=\"booking_notifications\",\n    package_name=\"git+https://github.com/ohcnetwork/care_notifications_be.git@main\",\n    version=\"0.1.0\",\n    configs={},\n)\nplugs = [booking_notifications]\n```\n\nThen `make build \u0026\u0026 make up`.\n\n## Settings\n\n| Key | Default | Description |\n|---|---|---|\n| `TOKEN_BOOKING_NOTIFICATIONS_ENABLED` | `True` | Master switch for all token booking notifications. |\n| `BOOKING_REMINDER_LEAD_MINUTES` | `60` | Minutes before slot start to send the reminder. |\n| `BOOKING_REMINDER_SWEEP_MINUTES` | `1` | How often the reminder sweep runs. |\n| `BOOKING_NOTIFY_CONFIRMATION` | `True` | Send confirmation SMS. |\n| `BOOKING_NOTIFY_REMINDER` | `True` | Send reminder SMS. |\n| `BOOKING_NOTIFY_CANCEL` | `True` | Send cancellation SMS. |\n| `BOOKING_NOTIFY_RESCHEDULED` | `True` | Send reschedule SMS. |\n| `BOOKING_CONFIRMATION_SMS_TEXT` | `Hi {patient_name}, your appointment is confirmed for {slot_start:%a, %d %b %Y %H:%M}. - Care` | Confirmation SMS body. |\n| `BOOKING_REMINDER_SMS_TEXT` | `Reminder: {patient_name}, your appointment is at {slot_start:%a, %d %b %Y %H:%M}. - Care` | Reminder SMS body. |\n| `BOOKING_CANCEL_SMS_TEXT` | `Hi {patient_name}, your appointment for {slot_start:%a, %d %b %Y %H:%M} has been cancelled. - Care` | Cancel SMS body. |\n| `BOOKING_RESCHEDULED_SMS_TEXT` | `Hi {patient_name}, your previous appointment has been rescheduled. - Care` | Reschedule SMS body. |\n\nMessage bodies are Python `str.format` templates. Available placeholders: `{patient_name}`, `{slot_start}` (a timezone-aware datetime; supports format specs like `{slot_start:%d %b %H:%M}`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Fcare_notifications_be","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohcnetwork%2Fcare_notifications_be","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Fcare_notifications_be/lists"}