{"schemaVersion":1,"id":"satori","name":"Satori","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/satori/","officialUrl":"https://github.com/vercel/satori","isCatalog":false,"description":"Converts a limited subset of HTML and CSS to SVG: helps generate social cards, previews, and graphics from application data.","tasks":["Generate a social card from application data","Convert a layout to SVG and check text/image dimensions"],"categoryIds":["frontend"],"subcategoryIds":["frontend.utilities"],"tags":["Satori","web","Development"],"aliases":["vercel/satori","satori-html-to-svg","vercel-satori"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MPL-2.0.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MPL-2.0 for the code, with file-level copyleft.","selectionGuide":{"purpose":"Generate a social card from application data","chooseWhen":["Generate a social card from application data","Convert a layout to SVG and check text/image dimensions"],"considerInstead":[],"requirements":["Supply image dimensions and fonts with font data; the JSX component must be static and stateless."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MPL-2.0 for the code, with file-level copyleft.","Satori supports a subset of HTML/CSS and its own SVG layout rather than the full browser DOM and its behavior."],"faq":[{"question":"What can you use for free in Satori?","answer":"Code and local use under MPL-2.0."},{"question":"What additional costs might arise with Satori?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Satori?","answer":"MPL-2.0 for the code, with file-level copyleft."},{"question":"How do you get started with Satori?","answer":"Prepare a supported layout and card data. Convert a layout to SVG and check text/image dimensions. Add real data and error handling; check the production build."},{"question":"Can you pass a component using useState or useEffect?","answer":"No. The README requires pure stateless JSX and does not support hooks or dangerouslySetInnerHTML. Fetch the data in advance and create a static tree for the card."},{"question":"Will an arbitrary web page look pixel-for-pixel identical?","answer":"Not necessarily: Satori uses its own subset of HTML/CSS and layout. It does not provide a complete browser engine for style, link, or script tags and browser interactivity."}],"related":[],"sources":["https://github.com/vercel/satori","https://raw.githubusercontent.com/vercel/satori/HEAD/README.md","https://raw.githubusercontent.com/vercel/satori/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Generate a social card from application data.","inputs":["Web application source code and the intended workflow.","The project's framework and runtime version."],"steps":["Prepare a supported layout and card data.","Convert a layout to SVG and check text/image dimensions.","Add real data and error handling; check the production build."],"checks":["The workflow works after a page refresh and with invalid data.","The bundle, server rendering, and supported browsers suit the project."]},"sources":["https://github.com/vercel/satori","https://raw.githubusercontent.com/vercel/satori/HEAD/README.md","https://raw.githubusercontent.com/vercel/satori/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Web framework / library","kind":"library","pricingNote":"Code and local use under MPL-2.0. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/vercel/satori","label":"Official source"},{"url":"https://raw.githubusercontent.com/vercel/satori/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/vercel/satori/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mpl-2","title":"MPL 2.0 — file-level copyleft","scope":null,"summary":"You can use the code in a commercial product and combine it with closed-source files. When distributing it, make the source code of MPL-covered files available, including your changes to those files, and retain notices. Independent new files can remain closed-source. Internal use alone does not require publishing the code.","url":"https://www.mozilla.org/en-US/MPL/2.0/FAQ/"}],"entryIds":[],"composition":null}