Skip to content

Releases: heathdutton/ghlogo

1.2.0

Choose a tag to compare

@heathdutton heathdutton released this 16 Feb 00:56

Optional aspect ratio normalization for OG images.

  • ?ratio=3:2 pads GitHub OG images to 3:2 (1200x800) with white top padding and stretched language bar at the bottom
  • Also supports ?ratio=4:3
  • Pure in-worker PNG manipulation, zero new dependencies
  • Falls back to normal 302 redirect for non-PNG images or on any error
  • Landing page adds a "Normalize Aspect Ratio" checkbox and pre-filled demo

1.1.1

Choose a tag to compare

@heathdutton heathdutton released this 31 Jan 20:39

Landing Page Revamp

  • Interactive UI with dark GitHub-style theme
  • Input field for owner/repo with live URL, HTML, and Markdown generation
  • Copy buttons for each output format
  • Live image preview with debounced loading

1.1.0

Choose a tag to compare

@heathdutton heathdutton released this 31 Jan 20:35

Improvements

  • Add cache headers and CORS support
  • Path normalization for cleaner URLs
  • HTML entity decoding for og:image URLs
  • Updated docs with live examples

1.0.0

Choose a tag to compare

@heathdutton heathdutton released this 31 Jan 20:35

Initial release.

Features

  • Redirect to GitHub og:image for repos, orgs, and users
  • In-memory caching with 1hr TTL
  • Minimal footprint (~1KB gzipped)

Usage

https://ghlogo.heathdutton.workers.dev/{owner}
https://ghlogo.heathdutton.workers.dev/{owner}/{repo}