{"id":28636429,"url":"https://github.com/icerockdev/sms-service","last_synced_at":"2025-08-31T17:37:49.389Z","repository":{"id":40392573,"uuid":"239452645","full_name":"icerockdev/sms-service","owner":"icerockdev","description":"Sms sending service for kotlin - part of BOKO libs","archived":false,"fork":false,"pushed_at":"2023-01-25T10:26:46.000Z","size":158,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-07T05:04:01.887Z","etag":null,"topics":["backend","kotlin","kotlin-jvm","sms","sms4b","twilio"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/icerockdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-10T07:30:34.000Z","updated_at":"2023-06-21T08:40:12.000Z","dependencies_parsed_at":"2023-02-14T06:45:22.433Z","dependency_job_id":null,"html_url":"https://github.com/icerockdev/sms-service","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/icerockdev/sms-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icerockdev%2Fsms-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icerockdev%2Fsms-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icerockdev%2Fsms-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icerockdev%2Fsms-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icerockdev","download_url":"https://codeload.github.com/icerockdev/sms-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icerockdev%2Fsms-service/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259518813,"owners_count":22870298,"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":["backend","kotlin","kotlin-jvm","sms","sms4b","twilio"],"created_at":"2025-06-12T18:01:07.550Z","updated_at":"2025-08-31T17:37:49.383Z","avatar_url":"https://github.com/icerockdev.png","language":"Kotlin","readme":"# Sms service\n\n## Installation\n````kotlin\n// Append repository\nrepositories {\n    mavenCentral()\n}\n\n// Append dependency\nimplementation(\"com.icerockdev.service:sms-service:1.2.0\")\n````\n\n## Library usage\n\n### Twilio\n````kotlin\n    private val scope = CoroutineScope(Dispatchers.IO + SupervisorJob())\n    private val smsService = SmsService(\n        scope,\n        TwilioDriver(\n            TwilioConfig(\n                accountSID = \"sid\",\n                authToken = \"token\",\n                phone = \"\u003cfromNumber\u003e\"\n            )\n        )\n    )\n\n    \n````\n\n### Sms4b\n````kotlin\n    private val scope = CoroutineScope(Dispatchers.IO + SupervisorJob())\n    private val smsService = SmsService(\n        scope,\n        Sms4bDriver(\n            Sms4bConfig(\n                login = \"login\",\n                password = \"pass\",\n                source = \"\u003cSender string\u003e\"\n            )\n        )\n    )\n````\n\n### Sending\n````kotlin\n    runBlocking {\n        smsService\n            .sendAsync(\"\u003ctoNumber\u003e\", \"TEST MESSAGE\")\n            .await()\n    }\n````\n \n## Contributing\nAll development (both new features and bug fixes) is performed in the `develop` branch. This way `master` always contains the sources of the most recently released version. Please send PRs with bug fixes to the `develop` branch. Documentation fixes in the markdown files are an exception to this rule. They are updated directly in `master`.\n\nThe `develop` branch is pushed to `master` on release.\n\nFor more details on contributing please see the [contributing guide](CONTRIBUTING.md).\n\n## License\n        \n    Copyright 2020 IceRock MAG Inc.\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n       http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficerockdev%2Fsms-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficerockdev%2Fsms-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficerockdev%2Fsms-service/lists"}