v0.1.0
OgEx 0.1.0
This release introduces generated social cards for Phoenix controllers.
use OgEx.Carddefines card dimensions and output format.metadata/1defines Open Graph and Twitter/X metadata.render/1defines the image with HEEx and CSS.render(conn, template, og: CardModule)adds metadata to the HTML response.- A signed query URL on the same controller route returns the generated image.
- Takumi renders PNG, JPEG, WebP, and SVG output.
- Generated images use an in-memory ETS cache and immutable response headers.
- Precompiled native libraries are available for supported Linux, macOS, and
Windows targets.
Install:
{:og_ex, "~> 0.1.0"}