Releases: heathdutton/ghlogo
Releases · heathdutton/ghlogo
Release list
1.2.0
Optional aspect ratio normalization for OG images.
?ratio=3:2pads 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
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
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
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}