{"id":18112094,"url":"https://github.com/philnash/dad-jokes-jets","last_synced_at":"2025-06-13T14:10:52.150Z","repository":{"id":38286291,"uuid":"184713207","full_name":"philnash/dad-jokes-jets","owner":"philnash","description":"Get dad jokes by SMS using Ruby, the Jets framework and AWS Lambda","archived":false,"fork":false,"pushed_at":"2023-04-12T05:56:05.000Z","size":86,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T08:32:24.193Z","etag":null,"topics":["aws-lambda","jets","lambda","ruby","sms","twilio","twilio-sms"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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},"funding":{"github":"philnash"}},"created_at":"2019-05-03T07:10:22.000Z","updated_at":"2022-02-11T23:23:52.000Z","dependencies_parsed_at":"2024-12-19T17:12:24.214Z","dependency_job_id":"fd0064f5-2e13-4450-828d-0a432473e149","html_url":"https://github.com/philnash/dad-jokes-jets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/philnash/dad-jokes-jets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fdad-jokes-jets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fdad-jokes-jets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fdad-jokes-jets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fdad-jokes-jets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philnash","download_url":"https://codeload.github.com/philnash/dad-jokes-jets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philnash%2Fdad-jokes-jets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259659667,"owners_count":22891672,"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":["aws-lambda","jets","lambda","ruby","sms","twilio","twilio-sms"],"created_at":"2024-11-01T01:09:24.262Z","updated_at":"2025-06-13T14:10:52.092Z","avatar_url":"https://github.com/philnash.png","language":"HTML","funding_links":["https://github.com/sponsors/philnash"],"categories":[],"sub_categories":[],"readme":"# Dad jokes over SMS using Ruby, Jets and AWS Lambda\n\nThis example application combines the [icanhazdadjoke API](https://icanhazdadjoke.com/api) and [Twilio SMS](https://www.twilio.com/sms/api) using the [Jets framework](http://rubyonjets.com/) and [AWS Lambda](https://aws.amazon.com/lambda/).\n\nYou can read about how it was built in the blog post [Serverless Ruby on AWS Lambda with the Jets framework](https://www.twilio.com/blog/serverless-ruby-on-aws-lambda-with-the-jets-framework)\n\n## Running the application locally\n\nTo run the application locally, follow these steps:\n\n1. Clone the repo and change into the directory\n\n   ```bash\n   git clone https://github.com/philnash/dad-jokes-jets.git\n   cd dad-jokes-jets\n   ```\n\n2. Install the dependencies with bundler\n\n   ```bash\n   bundle install\n   ```\n\n3. Run the application with jets\n\n   ```bash\n   bundle exec jets serve\n   ```\n\nYou can then make `POST` requests to the `/messages` endpoint. For example:\n\n```bash\ncurl --data \"\" http://localhost:8888/messages\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cResponse\u003e\n\u003cMessage\u003eWhat’s the advantage of living in Switzerland? Well, the flag is a big plus.\u003c/Message\u003e\n\u003c/Response\u003e\n```\n\nCheck out the [Jets documentation for more details on building with Jets](http://rubyonjets.com/docs/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilnash%2Fdad-jokes-jets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilnash%2Fdad-jokes-jets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilnash%2Fdad-jokes-jets/lists"}