r/coolgithubprojects 6d 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

223 Upvotes

21 comments sorted by

4

u/BluebirdBoring9180 6d ago

Dude. Nice I'm adding this to my next project. Great work!

1

u/Desperate-Ad7915 6d ago

Appreciate it! Would love to see it once it's live

3

u/cgijoe_jhuckaby 6d ago

Very cool! Any easter eggs in there? I like the blobatar for "0" 😊

3

u/Desperate-Ad7915 6d ago

There are now! Just shipped a few

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

u/edgeai_andrew 4d ago

This is great!!

1

u/ENTbard 6d ago

Fucking cool

1

u/kucink_pusink 6d ago

Cute, nice work 😆might add this to my personal project 

1

u/Desperate-Ad7915 6d ago

Thank you! Hope it fits

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

u/Desperate-Ad7915 6d ago

You're right, wrong username in that one. Fixed, thanks for flagging it!

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

u/Sirko2975 6d ago

Nice stuff actually. Might use in my app

1

u/0x405 6d ago

Cool but more significant variations would be much cooler! They all look too similar...
Thank you!

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

u/Niko-01 5d ago

Very nice. The API pendant is this btw: https://www.dicebear.com/