{"id":18112004,"url":"https://github.com/philnash/sms-messages-hanami","last_synced_at":"2026-04-30T09:38:35.597Z","repository":{"id":66250666,"uuid":"111065177","full_name":"philnash/sms-messages-hanami","owner":"philnash","description":"An example application for receiving and responding to SMS messages from Twilio in Hanami","archived":false,"fork":false,"pushed_at":"2017-11-22T13:05:09.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T08:32:17.341Z","etag":null,"topics":["hanami","ruby","twilio","twilio-api","twilio-sms","twilio-sms-api"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/philnash.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}},"created_at":"2017-11-17T06:10:43.000Z","updated_at":"2018-04-16T05:45:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc226405-866f-4df0-91ab-0f7456ce59d5","html_url":"https://github.com/philnash/sms-messages-hanami","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/philnash/sms-messages-hanami","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fsms-messages-hanami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fsms-messages-hanami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fsms-messages-hanami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fsms-messages-hanami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philnash","download_url":"https://codeload.github.com/philnash/sms-messages-hanami/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fsms-messages-hanami/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["hanami","ruby","twilio","twilio-api","twilio-sms","twilio-sms-api"],"created_at":"2024-11-01T01:09:08.683Z","updated_at":"2026-04-30T09:38:35.576Z","avatar_url":"https://github.com/philnash.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Messages\n\nAn example of a Hanami app to receive and respond to incoming SMS messages from [Twilio](https://www.twilio.com). You can read about how this was created and the decisions took in the blog post [How to receive and respond to text messages in Ruby with Hanami and Twilio](https://www.twilio.com/blog/2017/11/how-to-receive-and-respond-to-text-messages-in-ruby-with-hanami-and-twilio.html).\n\n## Setup\n\nYou'll need a Twilio account, [sign up for a free account here](http://twilio.com/try-twilio), and a phone number that can receive SMS messages.\n\nTo tunnel internet traffic to your local development server [I recommend ngrok](https://www.twilio.com/blog/2015/09/6-awesome-reasons-to-use-ngrok-when-testing-webhooks.html).\n\n### Getting started\n\nClone this repository and install the dependencies:\n\n```bash\ngit clone https://github.com/philnash/sms-messages-hanami.git\ncd sms-messages-hanami\nbundle install\n```\n\nRun the tests:\n\n```\nbundle exec rake spec\n```\n\nRun the development server:\n\n```\nbundle exec hanami server\n```\n\nRun ngrok:\n\n```\nngrok http 2300\n```\n\nTake the ngrok URL and add the path `/webhooks/sms`. Enter that URL as the messaging webhook for your [Twilio number](https://www.twilio.com/console/phone-numbers/incoming).\n\nSend a message to your number and your application will respond with \"Hello from Hanami!\".\n\n\nExplore Hanami [guides](http://hanamirb.org/guides/), [API docs](http://docs.hanamirb.org/docs/1.1.0/), or jump in [chat](http://chat.hanamirb.org) for help. Enjoy! 🌸\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilnash%2Fsms-messages-hanami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilnash%2Fsms-messages-hanami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilnash%2Fsms-messages-hanami/lists"}