Skip to content

v0.5.2

Choose a tag to compare

@cmj0121 cmj0121 released this 30 Apr 07:00
· 71 commits to main since this release

Highlights

  • Brand mark + embedded favicon — new assets/logo.svg (corner brackets ┌┐└┘ around a block "I" on the project's #0d1117 canvas) is embedded in the README hero, and the binary now serves the brand mark at the two URLs browsers conventionally probe: GET /favicon.ico (multi-resolution 16/32/48 ICO, image/x-icon) and GET /favicon.svg (vector source). HTML responses gain <link rel="icon"> (SVG primary) + <link rel="alternate icon"> (ICO fallback) so modern browsers prefer the vector and older ones still get a usable icon. Both favicon assets are baked into the binary via go:embed, so the service has no filesystem or network dependencies for serving them.

Other changes

  • Block "I" retuned for legibility at favicon size — taller stem, slimmer serifs (~1:1.8 vertical ratio in a 128 viewBox) so at 16 px the stem is ~2 px wide × 7 px tall and reads as a vertical bar with caps rather than a flat z-shape.
  • A drift-guard test (TestFaviconSVGMatchesLogo) pins service/favicon/favicon.svg byte-identical to assets/logo.svg; the embed directive cannot reach outside its package directory, so the duplication is intentional and verified by CI.
  • README and docs/routes.md route tables updated with the two new endpoints.

Container image

ghcr.io/cmj0121/imagelet:0.5.2