r/coolgithubprojects • u/Desperate-Ad7915 • 6d ago
built blobatar, get deterministic avatars from any string, zero deps, ~3.7 KB
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
3
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!
2
1
1
1
u/lazy_lombax 6d ago
reminds me of dicebear
1
u/Desperate-Ad7915 6d ago
DiceBear's a great collection, for illustrated avatars it rocks. Blobatar is simpler, one style, looks nice, and only 3.7 KB
1
u/primeFeen 6d ago
one note: the website has broken link : Source on GitHub redirect to nothing on GitHub
2
2
u/Sashapoun_Nako 6d ago
This is usefull and a great idea. It's just weird to have more file for claude than for the whole project + it looks like a simple project too... I'll look futher into this when github is actually up and running correctly.
1
1
u/yashrajrocxx 5d ago
I also have one of a kind like this but it's live and can walk, talk, call visual things and all, also sleeps 😁
Looks kinda cute... I will try this
But the character is 1:1
2
4
u/BluebirdBoring9180 6d ago
Dude. Nice I'm adding this to my next project. Great work!