{"id":13998549,"url":"https://github.com/zen-labss/fly","last_synced_at":"2025-03-21T07:30:31.747Z","repository":{"id":65258147,"uuid":"567875823","full_name":"zen-labss/fly","owner":"zen-labss","description":"Emails writing in React, Vue and Angular.","archived":false,"fork":false,"pushed_at":"2023-03-10T18:36:27.000Z","size":1089,"stargazers_count":35,"open_issues_count":7,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-09T07:40:11.886Z","etag":null,"topics":["angular","emails","nodemailer","phpmailer","svelte","sveltejs","typescript","vue","vue3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/zen-labss.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}},"created_at":"2022-11-18T19:47:19.000Z","updated_at":"2024-07-31T12:07:33.000Z","dependencies_parsed_at":"2024-01-15T19:44:59.419Z","dependency_job_id":"205eeb9a-5214-4ed6-8e6d-d147068eeb83","html_url":"https://github.com/zen-labss/fly","commit_stats":null,"previous_names":["zen-labss/fly","zen-labz/fly"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-labss%2Ffly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-labss%2Ffly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-labss%2Ffly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-labss%2Ffly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zen-labss","download_url":"https://codeload.github.com/zen-labss/fly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244118596,"owners_count":20400885,"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":["angular","emails","nodemailer","phpmailer","svelte","sveltejs","typescript","vue","vue3"],"created_at":"2024-08-09T19:01:46.273Z","updated_at":"2025-03-21T07:30:31.356Z","avatar_url":"https://github.com/zen-labss.png","language":"TypeScript","readme":"![Cover Fly](/assets/coverfly.png)\n\n## Why\n\nWriting emails is still difficult as 2010 with HTML and CSS Inline. Well, fly is a framework that generates code for your email in your best framework, write in .vue or .tsx, either way, an HTML build is 100% compatible with your email client.\n\n## Motivation\n\nWell, the motivation is basically beacuse [React emails](react.emails), but React emails has a problem, it is only compatible with react... Well, why not be compatible with Vue, React, Angular? Everyone has to have access.\n\n## Install\n\nWith yarn\n\n```\nyarn add @fly-email/react -E\n```\n\nWith npm\n\n```\nnpm install @fly-email/react -E\n```\n\n## Getting started\n\nAdd component generate in your email template.\n\n```jsx\nimport { Text } from \"@fly-email/react\";\n\nconst Email = () =\u003e {\n  \u003cText\n    style={{\n      fontSize: \"16px\",\n      color: \"#0D1D52\",\n      fontWeight: \"bold\",\n      textAlign: \"center\",\n    }}\n  \u003e\n    Hello, World\n  \u003c/Text\u003e;\n};\n```\n\n## Components\n\n- Html ([React](https://github.com/zen-labss/fly/blob/main/packages/lib-react/src/html.tsx), [Vue](https://github.com/zen-labss/fly/blob/main/packages/lib-vue/src/html.vue))\n- Button ([React](https://github.com/zen-labss/fly/blob/main/packages/lib-react/src/button.tsx), [Vue](https://github.com/zen-labss/fly/blob/main/packages/lib-vue/src/button.vue))\n- Container ([React](https://github.com/zen-labss/fly/blob/main/packages/lib-react/src/container.tsx), [Vue](https://github.com/zen-labss/fly/blob/main/packages/lib-vue/src/container.tsx))\n- Img ([React](https://github.com/zen-labss/fly/blob/main/packages/lib-react/src/img.tsx), [Vue](https://github.com/zen-labss/fly/blob/main/packages/lib-vue/src/img.vue))\n- Section ([React](https://github.com/zen-labss/fly/blob/main/packages/lib-react/src/section.tsx), [Vue](https://github.com/zen-labss/fly/blob/main/packages/lib-vue/src/section.vue))\n- Text ([React](https://github.com/zen-labss/fly/blob/main/packages/lib-react/src/text.tsx), [Vue](https://github.com/zen-labss/fly/blob/main/packages/lib-vue/src/text.vue))\n- Hr ([React](https://github.com/zen-labss/fly/blob/main/packages/lib-react/src/hr.tsx), [Vue](https://github.com/zen-labss/fly/blob/main/packages/lib-vue/src/hr.vue))\n\n## Integrations\n\n- [Nodemailer](https://github.com/zen-labss/fly/tree/main/examples/nodemailer)\n- [PhpMailer](https://github.com/zen-labss/fly/tree/main/examples/phpmailer)\n\n## Support\n\nComponents compatible with your best client email.\n\n| \u003cimg src=\"https://react.email/static/icons/gmail.svg\" width=\"48px\" height=\"48px\" alt=\"Gmail logo\"\u003e | \u003cimg src=\"https://react.email/static/icons/apple-mail.svg\" width=\"48px\" height=\"48px\" alt=\"Apple Mail\"\u003e | \u003cimg src=\"https://react.email/static/icons/outlook.svg\" width=\"48px\" height=\"48px\" alt=\"Outlook logo\"\u003e | \u003cimg src=\"https://react.email/static/icons/yahoo-mail.svg\" width=\"48px\" height=\"48px\" alt=\"Yahoo! Mail logo\"\u003e |\n| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- |\n| Gmail ✔                                                                                            | Apple Mail ✔                                                                                            | Outlook ✔                                                                                              | Yahoo! Mail ✔                                                                                                 |\n\n## Contributors\n\n- [Giovanni Soares](https://github.com/shumtz)\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzen-labss%2Ffly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzen-labss%2Ffly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzen-labss%2Ffly/lists"}