Logo
Deploy Now

Stars

132

Forks

13

Watchers

1

Developer links

Oxigen

The social preview cards shown when links hit Twitter, LinkedIn, Slack, or Discord, generated on the fly: Oxigen is a small Go service for dynamic Open Graph images, no designer required per page. Instead of exporting static images per page, you compose a card once and drive it with parameters: title, author, website, logo, background image, and background dimming all arrive as URL query arguments, so your og:image meta tag simply points at the Oxigen endpoint with the page's own values substituted in. Every blog post, product page, and doc gets a branded, correctly sized preview generated on the fly. A built-in web UI covers interactive composition - tweak the text and imagery, watch the preview update, copy the resulting URL - while the same rendering path serves programmatic API use from static site generators, CMS templates, or build pipelines. Rendering is pure Go using the gg 2D graphics library, freetype fonts, and the imaging package, built on the kyoto framework by that project's author. Deployment is one stateless container on port 80 with no database and no external dependencies, so instances scale and restart freely.

Oxigen

Benefits

  • Every Page Gets a Card
  • One endpoint plus query parameters replaces hand-made preview images.
  • No Per-Image Fees
  • Generate unlimited social cards on your own instance instead of paying per render.
  • Fits Any Stack
  • Static site generators, CMS templates, and build scripts just construct a URL.
  • Stateless and Disposable
  • No database, no persistent state - restart or scale the container freely.

Features

  • Parameter-Driven Rendering
  • Title, author, website, logo, background, and dimming via query args.
  • Interactive UI
  • Compose and preview cards visually, then copy the generated URL.
  • HTTP API
  • The same rendering path serves programmatic image generation.
  • Pure-Go Graphics
  • gg, freetype, and imaging libraries - no headless browser needed.
  • Background Control
  • Custom background images with adjustable dim overlay for text legibility.
  • Single Container
  • One Docker image listening on port 80 - deploy and forget.