{"id":24464547,"url":"https://github.com/dongri/sendhub","last_synced_at":"2026-04-17T13:33:13.994Z","repository":{"id":37218951,"uuid":"214451714","full_name":"dongri/sendhub","owner":"dongri","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-21T22:13:35.000Z","size":253,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-20T00:48:05.871Z","etag":null,"topics":["amazon-ses","mailgun","rust","sendgrid","slack"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dongri.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}},"created_at":"2019-10-11T14:04:25.000Z","updated_at":"2019-10-11T14:15:13.000Z","dependencies_parsed_at":"2025-07-15T07:27:04.474Z","dependency_job_id":"e435b320-c214-4c1a-b0ec-7f82f838078d","html_url":"https://github.com/dongri/sendhub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dongri/sendhub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongri%2Fsendhub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongri%2Fsendhub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongri%2Fsendhub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongri%2Fsendhub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dongri","download_url":"https://codeload.github.com/dongri/sendhub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongri%2Fsendhub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31931478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["amazon-ses","mailgun","rust","sendgrid","slack"],"created_at":"2025-01-21T05:16:00.117Z","updated_at":"2026-04-17T13:33:13.976Z","avatar_url":"https://github.com/dongri.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sendhub\nsendhub provides api to send emails and slack webhook.\n\n![sendhub](https://github.com/dongri/images/blob/master/sendhub.png?raw=true \"sendhub\")\n\n# Email Providers\n* amazon ses\n* mailgun\n* sendgrid\n\n# Change Email Primary Privider\n```\ncurl -XPOST http://localhost:3000/api/email/settings \\\n-H 'Content-Type:application/json' \\\n-d '{\"primary\": \"mailgun\"}'\n```\n\n# Setting Load Balancing\n```\ncurl -XPOST http://localhost:3000/api/email/settings \\\n-H 'Content-Type:application/json' \\\n-d '{\"load_balancing\": true}'\n```\n\n# Send Email And Slack Message\n```\ncurl -XPOST http://localhost:3000/api/email/raw \\\n-H 'Content-Type:application/json' \\\n-d '{\"from\": \"no-reply@hackerth.com\", \"to\": \"dongrify@gmail.com\", \"subject\": \"hello subject\", \"html\": \"\u003ch1\u003email\u003c/h1\u003e\"}'\n```\n\n```\ncurl -XPOST http://localhost:3000/api/email/template \\\n-H 'Content-Type:application/json' \\\n-d @- \u003c\u003c EOF\n{\n  \"from\": \"no-reply@hackerth.com\",\n  \"to\": \"dongrify@gmail.com\",\n  \"subject\": \"hello subject\",\n  \"template\": \"hello\",\n  \"values\": {\n    \"message\": \"hello sendhub\"\n  }\n}\nEOF\n```\n\n```\ncurl -XPOST http://localhost:3000/api/slack/message \\\n-H 'Content-Type:application/json' \\\n-d '{\"channel\": \"monitor\", \"text\": \"system error\"}'\n```\n\n# Edit template\n`/templates/` Edit Email templates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdongri%2Fsendhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdongri%2Fsendhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdongri%2Fsendhub/lists"}