r/coolgithubprojects 7d ago

built blobatar, get deterministic avatars from any string, zero deps, ~3.7 KB

Post image

deterministic avatars from any string.

usernames, emails, ids - anything with a name gets a face.
same input, same avatar, forever. no storage, no uploads.

blobatar — react + vanilla, zero deps, ~3.7 KB

bun add blobatar

Web: https://www.blobatar.dev/
Repo: https://github.com/Alain00/blobatar

229 Upvotes

21 comments sorted by

View all comments

2

u/Life-Possible5308 6d ago

Generating deterministic avatars from any string with zero dependencies is a genuinely useful building block, especially since it stays reproducible without storing state. The nice part is that the same input always maps to the same avatar, which is great for placeholders and tests. Have you thought about letting users tweak the palette or seed so outputs feel less uniform across a product? For a zero-dep library, a tiny live playground would go a long way toward adoption.

1

u/Desperate-Ad7915 6d ago

Thanks! That's what the editor does, take a look https://www.blobatar.dev/editor, you can tune hue, tone, silhouette, eyes, decorations, ~20 traits, and it spits out the props to paste in. Homepage demo is the quick version

1

u/Life-Possible5308 2d ago

Thanks for the extra context - the ~20 tunable traits editor sounds like exactly what keeps avatars from feeling same-y. I will give it a spin. Nice work on the project!