{"id":20458721,"url":"https://github.com/resend/resend-sinatra-example","last_synced_at":"2026-06-01T02:31:04.467Z","repository":{"id":172828142,"uuid":"649839519","full_name":"resend/resend-sinatra-example","owner":"resend","description":"This example shows how to use Resend with Sinatra","archived":false,"fork":false,"pushed_at":"2026-05-23T14:06:48.000Z","size":15,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T16:09:45.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/resend.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-05T18:49:35.000Z","updated_at":"2026-03-02T17:29:05.000Z","dependencies_parsed_at":"2024-02-15T22:31:19.876Z","dependency_job_id":"4ca2c999-ad14-4a0d-a93d-ab43849c8c44","html_url":"https://github.com/resend/resend-sinatra-example","commit_stats":null,"previous_names":["resendlabs/resend-sinatra-example","resend/resend-sinatra-example"],"tags_count":0,"template":false,"template_full_name":"resend/resend-template-example","purl":"pkg:github/resend/resend-sinatra-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-sinatra-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-sinatra-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-sinatra-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-sinatra-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/resend","download_url":"https://codeload.github.com/resend/resend-sinatra-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-sinatra-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33757790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"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":[],"created_at":"2024-11-15T12:13:37.327Z","updated_at":"2026-06-01T02:31:04.463Z","avatar_url":"https://github.com/resend.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!IMPORTANT]\n\u003e This repository has been consolidated into the new [resend-examples](https://github.com/resend/resend-examples) monorepo, which contains updated examples for all languages and frameworks.\n\u003e\n\u003e **[View the Sinatra examples here](https://github.com/resend/resend-examples/tree/main/ruby-resend-examples/sinatra_app)**\n\n---\n\n\n# Resend with Sinatra\n\nThis example shows how to use Resend with [Sinatra](https://sinatrarb.com).\n\n## Prerequisites\n\nTo get the most out of this guide, you’ll need to:\n\n* [Create an API key](https://resend.com/api-keys)\n* [Verify your domain](https://resend.com/domains)\n\n## Installation\n\nGet the [Resend Ruby SDK](https://github.com/resendlabs/resend-ruby).\n\n```sh\n# Via RubyGems\ngem install resend\n\n# Via Gemfile\ngem 'resend'\n```\n\n## Instructions\n\n1. Set your `RESEND_API_KEY` environment variable by running:\n\n  ```sh\nexport RESEND_API_KEY=\"re_123456789\"\n  ```\n\n2. Install dependencies:\n\n  ```sh\nbundle install\n  ```\n\n3. Execute the following command:\n\n  ```sh\nruby index.rb\n  ```\n  \nOr if you installed via Gemfile with `bundle install` run the following command:\n\n  ```sh\nbundle exec ruby index.rb\n  ```\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fresend-sinatra-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresend%2Fresend-sinatra-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fresend-sinatra-example/lists"}