lighthouse-scores

Lighthouse scores OG image template

An audit report in a browser window: the URL in the address bar, up to four ring gauges coloured by Lighthouse bands and an optional screenshot.

Lighthouse scores Open Graph image template rendered by Shareglint
Lighthouse scores template at square size (1080×1080)
Lighthouse scores template at portrait size (1080×1350)
Lighthouse scores template at story size (1080×1920)
Lighthouse scores template at pinterest size (1000×1500)
Lighthouse scores template at youtube size (1280×720)

These are real renders from the API with the example values in the table below. Switch the size above: the same template lays itself out for all 6 sizes — send size or sizes with the request.

For agencies, hosting, SEO and developer tools sharing a site's performance, accessibility, best practices and SEO scores. Rings are clamped to 0–100 and turn red under 50, orange under 90 and green from 90; the number shown is the one you sent. Wide frames show four gauges in a row with the screenshot on the right, cropped from its top; square and vertical frames put the screenshot above a two-by-two grid.

Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

Field Type Description Example
url text Address of the audited page, e.g. northwind.dev/pricing. default: example.com northwind.dev/pricing
scores text Up to four scores as label:number pairs separated by commas or semicolons, e.g. Performance:98, Accessibility:100, Best practices:96, SEO:100. Performance:87, Accessibility:100, Best practices:96, SEO:100
device text Device of the audit: mobile or desktop. one of: mobile | desktop mobile
date text Date of the audit as written. Oct 26, 2026
screenshot image URL Screenshot of the page. https://example.com/images/phone-app.png
logo image URL Logo in the bottom corner of the window. https://example.com/images/logo-northwind.png
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #2563eb #2563eb
theme dark | light Colour scheme: dark or light. default: light —

Render it with one request

Use the slug as template. The response holds the URL of the finished PNG; ?wait=true keeps the connection open until it is ready.

curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "lighthouse-scores",
    "modifications": {
        "url": "northwind.dev/pricing",
        "scores": "Performance:87, Accessibility:100, Best practices:96, SEO:100",
        "device": "mobile",
        "date": "Oct 26, 2026",
        "screenshot": "https://example.com/images/phone-app.png",
        "logo": "https://example.com/images/logo-northwind.png"
    }
}'

Or paste a signed URL into og:image

For static sites, Webflow, Shopify and no-code tools: put the fields in the query string and sign it with your signing secret. The first request renders the image, every later one is a redirect to the cached file. How to compute the signature.

<meta property="og:image" content="https://shareglint.com/i/acc_YOUR_ACCOUNT_ID/lighthouse-scores.png?date=Oct%2026%2C%202026&device=mobile&scores=Performance%3A87%2C%20Accessibility%3A100%2C%20Best%20practices%3A96%2C%20SEO%3A100&url=northwind.dev%2Fpricing&s=YOUR_SIGNATURE">

Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

curl -X POST "https://shareglint.com/v1/templates/library/lighthouse-scores/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More Developer templates

All 11 Developer templates →  ·  All templates →