{"id":13494969,"url":"https://github.com/sinclairnick/brail","last_synced_at":"2025-03-28T15:32:25.895Z","repository":{"id":38340700,"uuid":"468577921","full_name":"sinclairnick/brail","owner":"sinclairnick","description":"💌 Transactional email that feels different","archived":true,"fork":false,"pushed_at":"2023-05-27T03:30:07.000Z","size":4801,"stargazers_count":257,"open_issues_count":22,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-01T21:18:58.880Z","etag":null,"topics":["email-template","mail","mjml","nextjs","react","typescript"],"latest_commit_sha":null,"homepage":"https://brail.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinclairnick.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}},"created_at":"2022-03-11T02:17:02.000Z","updated_at":"2024-04-14T23:14:31.000Z","dependencies_parsed_at":"2024-01-16T09:53:30.972Z","dependency_job_id":"7a974a18-de0e-4b1f-afb4-4ceb5038f32b","html_url":"https://github.com/sinclairnick/brail","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairnick%2Fbrail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairnick%2Fbrail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairnick%2Fbrail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairnick%2Fbrail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinclairnick","download_url":"https://codeload.github.com/sinclairnick/brail/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222389485,"owners_count":16976485,"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":["email-template","mail","mjml","nextjs","react","typescript"],"created_at":"2024-07-31T19:01:29.977Z","updated_at":"2024-10-31T09:31:39.911Z","avatar_url":"https://github.com/sinclairnick.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"![Brail](./static/banner.jpg)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/brail\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/brail\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/sinclairnick/brail/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-Apache%202-blue\" /\u003e\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003ch1\u003eBrail\u003c/h1\u003e\n  \u003ca href=\"https://brail.dev/docs/quick-start\"\u003eQuickstart\u003c/a\u003e\n  \u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n  \u003ca href=\"https://brail.dev\"\u003eDocs\u003c/a\u003e\n  \u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n  \u003ca href=\"https://github.com/sinclairnick/brail/tree/main/examples\"\u003eExamples\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n\u003c/div\u003e\n\nBrail provides batteries-included tooling for creating, generating and delivering HTML emails. With out-of-the-box email template correctness, ergonomic React templating and full-stack type-safety, never send an erroneous transactional (or marketing) email again.\n\n## What is Brail?\n\nBrail consists of several tools which aid crafting and delivering emails, across the full-stack:\n\n- [**React Library**](https://www.brail.dev/docs/crafting): Responsive email component library. Compiles to email-compatible HTML\n- [**Brail Core**](https://www.brail.dev/docs/using/trpc): Tools for serving emails via type-safe APIs or SDKs\n- [**Devtools**](https://www.brail.dev/docs/crafting/devtools): Make email development, debugging and testing easier\n- [**Linting**](https://www.brail.dev/docs/crafting/linting): Identify and fix common HTML email pitfalls\n\n## Features\n\nBrail comes packed with many helpful features including:\n\n- 🌈 Theming out-of-the-box\n- 📱 Automatic mobile-responsiveness\n- 💻 Devtools and live-previews\n- ⚠️ Linting\n- 🧢 First-class tRPC, Zod integrations\n- 🔒 End-to-end type-safety\n\n## Getting started\n\nTo get started with Brail, check out the [**Quickstart**](https://www.brail.dev/docs/quick-start) guide.\n\nAlternatively, you can [**check out the Docs**](https://www.brail.dev), try Brail out in a codesandbox or use one of the [**Brail starter projects**](https://github.com/sinclairnick/brail/tree/main/starters):\n\n\u003cbr/\u003e\n\n---\n\n\u003cbr/\u003e\n\n## Why would I want to use Brail?\n\nHandwriting emails using HTML is notoriously a pain. Unlike the web, email clients don't strongly adhere to a specific standard, resulting in limited and inconsistent support for CSS and HTML features.\n\nConsequently, HTML emails become incredibly verbose, complex and littered with Microsoft Outlook-specific HTML comments, heavily nested `\u003ctable\u003e` elements and esoteric CSS properties. As such, handwriting HTML email is an uncommon and tedious artform.\n\nBrail abstracts away that complexity and aims to provide a web-like experience to writing emails, making it trivial to produce correct emails.\n\n\u003cbr/\u003e\n\n## Why not use a drag-and-drop editor?\n\nDrag and drop editors make it easy to create email-safe templates, but lack many features we're used to in code-world like theming, abstraction, formatting, maths, version control, PRs and types. By providing a full-proof in-code solution to HTML emails, we regain the control, flexibility and power of code, which makes creating (and refactoring) emails much faster, easier and more fun.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinclairnick%2Fbrail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinclairnick%2Fbrail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinclairnick%2Fbrail/lists"}