Static sites
OpenGraph+ works best with dynamic frameworks like Rails, Django, or Next.js where meta tags are generated per-request. For static sites, you’ll need to generate and paste meta tags for each page.
Install the CLI
Install the OpenGraph+ CLI from your terminal:
curl -sSL https://ogplus.terminalwire.sh/ | bashGenerate meta tags for each page
Run the CLI with --tags to generate the full meta tag block for a page on your site:
ogplus meta --tags https://example.comCopy the output into your page’s <head>:
<html>
<head>
<meta property="og:title" content="...">
<meta property="og:image" content="...">
<!-- ... other tags -->
</head>
</html>
Without --tags, the command prints just the og:image URL.
Repeat for each page on your site:
# Adjust the paths to your site's pagesogplus meta --tags https://example.com/aboutogplus meta --tags https://example.com/contactogplus meta --tags https://example.com/pricingogplus meta --tags https://example.com/blogogplus meta --tags https://example.com/blog/hello-worldThis manual process is required for static sites. For a better experience, consider using a dynamic framework like Rails, Django, or Next.js where meta tags are generated automatically per-request.
Publish and verify
Publish your site, then use the preview tool to verify your social cards render correctly.
Multiple domains
Running staging and production, subdomains, or several sites under one account? See Multiple domains & environments. For a single site, the connection tag above is all you need.