{"id":31844777,"url":"https://github.com/jonperron/castly","last_synced_at":"2025-10-12T07:48:11.747Z","repository":{"id":260739504,"uuid":"874813282","full_name":"jonperron/Castly","owner":"jonperron","description":"Send messages via email, SMS, or messaging apps using a single API—no matter the underlying provider.","archived":false,"fork":false,"pushed_at":"2025-10-04T11:49:44.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T13:26:29.710Z","etag":null,"topics":["email","hacktoberfest","notifications","rust","sms"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonperron.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,"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":"2024-10-18T14:04:12.000Z","updated_at":"2025-10-04T11:49:25.000Z","dependencies_parsed_at":"2024-11-02T08:23:25.505Z","dependency_job_id":"ba2510cc-9ecf-4cc3-84fb-7cca45e101f6","html_url":"https://github.com/jonperron/Castly","commit_stats":null,"previous_names":["jonperron/notifications-gw","jonperron/messenger","jonperron/castly"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jonperron/Castly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonperron%2FCastly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonperron%2FCastly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonperron%2FCastly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonperron%2FCastly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonperron","download_url":"https://codeload.github.com/jonperron/Castly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonperron%2FCastly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010676,"owners_count":26084785,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":["email","hacktoberfest","notifications","rust","sms"],"created_at":"2025-10-12T07:48:09.768Z","updated_at":"2025-10-12T07:48:11.742Z","avatar_url":"https://github.com/jonperron.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📢 Castly\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/jonperron/castly/rust.yml?branch=main)](https://github.com/jonperron/castly/actions)\n\n**Castly** is a flexible, provider-agnostic notification service built in Rust.  \nSend messages via email, SMS, or messaging apps using a single API—no matter the underlying provider.\n\n---\n\n## ⚠️ Status\n\n\u003e **Castly is under active development.**\nExpect breaking changes until the first stable release.\n\n---\n\n## 🚀 Key Features\n\n- **Multi-Provider Support**  \n  Integrate with providers like **Mailgun**, **Mailjet**, **Twilio**, and **Telegram** for email, SMS, or messaging.  \n  Future-ready for push notifications (e.g., Firebase).\n\n- **Templated Notifications**  \n  Dynamic, customizable templates powered by [Tera](https://keats.github.io/tera/docs/).\n\n- **Synchronous \u0026 Asynchronous Modes**  \n  - **Synchronous** – Send instantly via `/send` HTTP endpoint.  \n  - **Asynchronous** – (Coming soon) Consume messages from a queue.\n\n- **Configurable via YAML**  \n  Works out-of-the-box and adaptable for Kubernetes deployments.\n\n- **Observability Built-In**  \n  Health checks (`/health`), structured logging, and distributed tracing via [tracing](https://github.com/tokio-rs/tracing).\n\n---\n\n## 📦 Supported Providers\n\n| Name     | Type      | Value in request |\n| -------- | --------- | ---------------- |\n| Mailgun  | Email     | `mail_mailgun`   |\n| Mailjet  | Email     | `mail_mailjet`   |\n| Twilio   | Email     | `mail_twilio`    |\n| Telegram | Messaging | `telegram`       |\n| Twilio   | SMS       | `sms_twilio`     |\n\n---\n\n## 🛠️ Usage\n\n**Send a Notification via API**\n\n**Endpoint**  \n`POST /send`\n\n**Headers**  \n`Content-Type: application/json`\n\n**Example Request**  \n\n```json\n{\n  \"to\": [\"receiver@example.com\"],\n  \"from\": \"sender@example.com\",\n  \"subject\": \"Hello, World!\",\n  \"notification_type\": \"mail_mailgun\",\n  \"use_raw_text\": {\n    \"text\": \"Hello world!\"\n  }\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonperron%2Fcastly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonperron%2Fcastly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonperron%2Fcastly/lists"}