{"id":32167853,"url":"https://github.com/m4hi2/sms-counter","last_synced_at":"2026-02-21T18:02:12.742Z","repository":{"id":50278953,"uuid":"518668388","full_name":"m4hi2/sms-counter","owner":"m4hi2","description":"SMS character counter package for Elixir ","archived":false,"fork":false,"pushed_at":"2023-03-30T17:30:52.000Z","size":50,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-21T15:41:43.241Z","etag":null,"topics":["elixir","elixir-library"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/sms_part_counter","language":"Elixir","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/m4hi2.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}},"created_at":"2022-07-28T02:02:18.000Z","updated_at":"2025-05-31T16:01:49.000Z","dependencies_parsed_at":"2022-09-24T10:20:36.308Z","dependency_job_id":null,"html_url":"https://github.com/m4hi2/sms-counter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m4hi2/sms-counter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4hi2%2Fsms-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4hi2%2Fsms-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4hi2%2Fsms-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4hi2%2Fsms-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m4hi2","download_url":"https://codeload.github.com/m4hi2/sms-counter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4hi2%2Fsms-counter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29689644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["elixir","elixir-library"],"created_at":"2025-10-21T15:39:06.049Z","updated_at":"2026-02-21T18:02:12.736Z","avatar_url":"https://github.com/m4hi2.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SmsPartCounter ![Testing](https://github.com/m4hi2/sms-counter/workflows/Elixir%20CI/badge.svg?branch=master)\n\nSMS Part Counter: Counts the number of SMS parts based on GSM7Bit or UCS-2 Encoding used.\nThe lib can automatically detect the encoding used in the text and count how many chars are\nused. Based on the number of the char and encoding used, it can easily figure out how many SMS\nwill a particular string might be.\n\n## Installation\n\nThe package can be installed by adding `sms_part_counter` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:sms_part_counter, \"~\u003e 0.1.7\"}\n  ]\nend\n```\n\n## Usage\n\n```elixir\niex\u003e SmsPartCounter.count_parts(\"blah blah blah\")\n%{\n  \"encoding\" =\u003e \"gsm_7bit\",\n  \"parts\" =\u003e 1\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4hi2%2Fsms-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4hi2%2Fsms-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4hi2%2Fsms-counter/lists"}