This package allows you to generate SVG identicons (pixelated avatars) on the client from usernames instead of fetching images from a server:
You can set the saturation and lightness to adapt to your color theme.
It is super lightweight. On my app using the Minidenticons Elm module added only around 250 bytes to the final minified + compressed output (gzip as well as brotli).
The hash function used is exposed as a bonus. Always useful because big integers manipulation in Elm is a bit quirky…
It is my first Elm package, so feel free to tell me what you think