{"id":49244911,"url":"https://github.com/templatical/sdk","last_synced_at":"2026-05-29T13:00:31.475Z","repository":{"id":353642541,"uuid":"1191055137","full_name":"templatical/sdk","owner":"templatical","description":"Open-source drag-and-drop email editor. JSON templates, MJML rendering, framework-agnostic. Vue + TipTap inside.","archived":false,"fork":false,"pushed_at":"2026-05-26T09:34:27.000Z","size":4993,"stargazers_count":290,"open_issues_count":7,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-26T10:22:58.710Z","etag":null,"topics":["beefree-alternative","drag-and-drop","email","email-builder","email-editor","email-templates","mjml","template-editor","tiptap","typescript","vuejs","wysiwyg"],"latest_commit_sha":null,"homepage":"https://templatical.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/templatical.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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},"funding":{"github":["orkhanahmadov"]}},"created_at":"2026-03-24T21:57:56.000Z","updated_at":"2026-05-26T09:34:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/templatical/sdk","commit_stats":null,"previous_names":["templatical/sdk"],"tags_count":242,"template":false,"template_full_name":null,"purl":"pkg:github/templatical/sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templatical%2Fsdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templatical%2Fsdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templatical%2Fsdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templatical%2Fsdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/templatical","download_url":"https://codeload.github.com/templatical/sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templatical%2Fsdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33517124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["beefree-alternative","drag-and-drop","email","email-builder","email-editor","email-templates","mjml","template-editor","tiptap","typescript","vuejs","wysiwyg"],"created_at":"2026-04-24T21:03:15.259Z","updated_at":"2026-05-26T11:00:39.696Z","avatar_url":"https://github.com/templatical.png","language":"TypeScript","funding_links":["https://github.com/sponsors/orkhanahmadov"],"categories":["typescript","TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://templatical.com/logo.svg\" alt=\"Templatical\" width=\"64\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eTemplatical\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Open-source drag-and-drop email editor for modern apps\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@templatical/editor\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@templatical/editor?label=npm\u0026color=cb3837\" alt=\"npm version\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/templatical/sdk/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-FSL--1.1--MIT-blue\" alt=\"License\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/templatical/sdk/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/templatical/sdk/ci.yml?branch=main\" alt=\"CI\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/templatical/sdk\"\u003e\u003cimg src=\"https://codecov.io/gh/templatical/sdk/branch/main/graph/badge.svg\" alt=\"Coverage\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/templatical/sdk/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/templatical/sdk?style=social\" alt=\"GitHub stars\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://play.templatical.com\"\u003e\u003cb\u003ePlayground\u003c/b\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://docs.templatical.com\"\u003e\u003cb\u003eDocumentation\u003c/b\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://templatical.com\"\u003e\u003cb\u003eWebsite\u003c/b\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/templatical/sdk/discussions\"\u003e\u003cb\u003eDiscussions\u003c/b\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://play.templatical.com\"\u003e\n    \u003cimg src=\"https://templatical.com/preview.png\" alt=\"Templatical editor preview\" width=\"900\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://play.templatical.com\"\u003e\u003cb\u003e▶ Try it live in the playground\u003c/b\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n**Templatical** is a production-ready drag-and-drop email editor you can drop into any web app with a single function call. Templates are portable JSON, output is MJML (so they render correctly in every email client), and the editor itself is framework-agnostic — Vue under the hood, but you embed it in React, Svelte, Angular, or vanilla JS the same way. An optional Cloud tier is in development for AI rewrites, real-time collaboration, comments, snapshots, saved modules, multi-tenancy, test email sending, MCP support, and more.\n\n## Power features\n\nThings that are usually paid features in commercial editors — open-source in Templatical:\n\n- **Custom blocks with API-backed data sources** — register your own block types whose content is rendered from a static template *or* fetched live from your API at preview time. Typically a paid-tier feature in commercial editors.\n- **Merge tags with pluggable syntax** — `{{handlebars}}`, `{liquid}`, `${js}`, or your own — with automatic human-readable label replacement directly in the editor canvas. Build your CRM-aware tag picker in minutes.\n- **Display conditions** — show/hide blocks based on recipient attributes, with live preview in the editor.\n- **Full theming via design tokens** — 27 OKLch tokens, custom fonts, dark mode, complete theme overrides. No CSS hacking, no paid tier.\n- **Template \u0026 block defaults** — define your brand once. New templates and new blocks pick up your brand automatically.\n\n\u003e **Cloud features** — AI rewrite, AI chat, real-time collaboration with block locking, comments, snapshots and version history, saved modules, hosted media library, template scoring, test email sending, MCP integration, multi-tenancy, headless API, and more — are part of the Templatical Cloud tier currently in development. The Cloud implementation is also open code in `@templatical/core/cloud`. [Learn more about Cloud →](https://docs.templatical.com/cloud/)\n\n### And more\n\n- **Drop-in mount** — one `init()` call, one `unmount()`. No framework lock-in.\n- **Style-isolated, both directions** — Shadow DOM by default keeps host CSS out of the editor; `tpl:` Tailwind prefix and no preflight reset keep editor styles out of your app. Drops into any page, any framework, any CMS — no resets, no conflicts. [Learn more →](https://docs.templatical.com/guide/shadow-dom)\n- **14 block types** — Title, Paragraph, Image, Button, Section, Divider, Spacer, Social Icons, Menu, Table, HTML, Video, Countdown, Custom.\n- **JSON templates** — portable, versionable, store anywhere, render anywhere.\n- **MJML output** — works with any email provider (Postmark, Resend, SES, Mailgun, anything).\n- **Framework-agnostic** — first-class examples for React, Vue, Svelte, Angular, vanilla.\n- **Bilingual** — en/de built in, easy to add more locales.\n- **TypeScript strict** — full types for blocks, config, and callbacks.\n- **Battle-tested** — ~1,400 unit tests + Playwright E2E coverage.\n\n## Quick Start\n\n```bash\nnpm install @templatical/editor @templatical/renderer\n```\n\n```js\nimport { init } from '@templatical/editor';\nimport '@templatical/editor/style.css';\n\nconst editor = await init({\n  container: '#editor',\n  onChange(content) {\n    // content is JSON — store it, version it, send it anywhere\n    console.log('Template updated:', content);\n  },\n});\n\n// Render to MJML when you're ready to send\nconst mjml = await editor.toMjml();\n```\n\n```html\n\u003cdiv id=\"editor\" style=\"height: 100vh\"\u003e\u003c/div\u003e\n```\n\n[Read the full guide →](https://docs.templatical.com/getting-started/quick-start) · [React, Svelte, Angular examples →](https://docs.templatical.com/getting-started/installation)\n\n## Packages\n\n| Package | Description | License |\n|---------|-------------|---------|\n| [`@templatical/editor`](https://www.npmjs.com/package/@templatical/editor) | Visual drag-and-drop editor | [FSL-1.1-MIT](./LICENSE) |\n| [`@templatical/core`](https://www.npmjs.com/package/@templatical/core) | Framework-agnostic editor logic, state, history | [FSL-1.1-MIT](./LICENSE) |\n| [`@templatical/media-library`](https://www.npmjs.com/package/@templatical/media-library) | Media library — composable, components, standalone SDK | [FSL-1.1-MIT](./LICENSE) |\n| [`@templatical/types`](https://www.npmjs.com/package/@templatical/types) | Shared TypeScript types and block factories | [MIT](./LICENSE-MIT) |\n| [`@templatical/renderer`](https://www.npmjs.com/package/@templatical/renderer) | JSON → MJML → HTML renderer (browser + Node) | [MIT](./LICENSE-MIT) |\n| [`@templatical/quality`](https://www.npmjs.com/package/@templatical/quality) | Accessibility linter for templates (browser + Node) | [MIT](./LICENSE-MIT) |\n| [`@templatical/import-beefree`](https://www.npmjs.com/package/@templatical/import-beefree) | Convert BeeFree templates to Templatical format | [MIT](./LICENSE-MIT) |\n| [`@templatical/import-unlayer`](https://www.npmjs.com/package/@templatical/import-unlayer) | Convert Unlayer templates to Templatical format | [MIT](./LICENSE-MIT) |\n| [`@templatical/import-html`](https://www.npmjs.com/package/@templatical/import-html) | Convert HTML email templates (table-based) to Templatical format | [MIT](./LICENSE-MIT) |\n\n## Why FSL-1.1-MIT?\n\nEditor packages (`@templatical/editor`, `@templatical/core`, `@templatical/media-library`) are licensed under [Functional Source License 1.1](./LICENSE), which automatically converts to MIT after **2 years per release**. You can:\n\n- ✅ Embed it in your SaaS, CRM, marketing tool, or transactional product\n- ✅ Self-host, modify, fork for internal use\n- ✅ Use it commercially without paying anything\n\nThe only restriction: don't repackage Templatical itself as a directly competing email-editor product. Renderers, types, and importers are pure MIT.\n\n[Full license FAQ →](https://docs.templatical.com/license-faq)\n\n## Documentation\n\n- [Getting Started](https://docs.templatical.com/getting-started/quick-start) — install, mount, render\n- [Block Reference](https://docs.templatical.com/guide/blocks) — all 14 block types\n- [Theming](https://docs.templatical.com/guide/theming) — design tokens, dark mode, custom fonts\n- [Custom Blocks](https://docs.templatical.com/guide/custom-blocks) — extend with your own\n- [Cloud (AI, Collab, Comments)](https://docs.templatical.com/cloud/) — optional managed tier\n- [Migrating from BeeFree](https://docs.templatical.com/guide/migration-from-beefree)\n- [Migrating from Unlayer](https://docs.templatical.com/guide/migration-from-unlayer)\n- [Migrating from HTML](https://docs.templatical.com/guide/migration-from-html)\n\nFull docs: **[docs.templatical.com](https://docs.templatical.com)** (English + Deutsch).\n\n## Contributing\n\nContributions, bug reports, and feature requests are welcome.\n\n```bash\ngit clone https://github.com/templatical/sdk.git\ncd sdk\npnpm install\npnpm run build\npnpm run test\n```\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md) for the full guide.\n\n## Sponsors\n\nTemplatical is built and maintained by a solo developer. If your company uses it in production, consider [sponsoring on GitHub](https://github.com/sponsors/orkhanahmadov) — it directly funds new features, faster releases, and continued open development.\n\n## License\n\n- **Editor packages** (`@templatical/editor`, `@templatical/core`, `@templatical/media-library`) — [FSL-1.1-MIT](./LICENSE)\n- **Types, renderer, importers** — [MIT](./LICENSE-MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemplatical%2Fsdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftemplatical%2Fsdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemplatical%2Fsdk/lists"}