Skip to main content
OGIS Example

What is ogis?

ogis is a high-performance Rust service that generates Open Graph images by rendering SVG templates to PNG via HTTP API.

Features

  • High Performance — Built in Rust for speed and reliability
  • SVG Templates — Customizable templates with placeholder support
  • Image Caching — In-memory caching for fast response times
  • SSRF Protection — Blocks private IP addresses for security
  • HMAC Authentication — Optional signature-based authentication
  • Docker Ready — Easy deployment with Docker

Templates

Browse all templates at the Playground.

twilight

Twilight

daybreak

Daybreak

minimal

Minimal

Quick Example

No SDK needed — just construct a URL:
<meta property="og:image" content="https://img.ogis.dev/?title=Hello%20World&template=twilight" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
Or use the TypeScript SDK:
import { OgisClient } from 'ogis';

const ogis = new OgisClient({ baseUrl: 'https://img.ogis.dev' });

const imageUrl = ogis.generateUrl({
  title: 'My Blog Post',
  description: 'An introduction to ogis',
  template: 'twilight'
});