TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Boring Avatars – React library to generate custom avatars

375 pointsby arnklintalmost 4 years ago

33 comments

IgorPartolaalmost 4 years ago
Not to hijack this (I have zero affiliation with this project), but RoboHash has been my absolute favorite version of this: <a href="https:&#x2F;&#x2F;robohash.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;robohash.org&#x2F;</a>
评论 #27315409 未加载
评论 #27316633 未加载
nickjjalmost 4 years ago
They look cool but aren&#x27;t avatars mainly used to uniquely identify someone based on a picture?<p>A lot of these look too similar. The really boring approach IMO is to choose a random solid color and put the user&#x27;s initial(s) on top of it. This makes it pretty unique and much easier to associate someone back to their avatar.
评论 #27315055 未加载
评论 #27315425 未加载
评论 #27315256 未加载
Thomaschaafalmost 4 years ago
&quot;Beam&quot; should be the default style instead of &quot;marble&quot;.
评论 #27313017 未加载
评论 #27314395 未加载
city17almost 4 years ago
The designs are really nice, but I feel they should be more differentiated. Otherwise you can&#x27;t recognize a particular person by their avatar and you might as well use identical ones for all of them.
评论 #27315290 未加载
NohatCoderalmost 4 years ago
Why make a library dependent on a particular framework? Seems to just limit usefulness for no particular gain.
评论 #27312783 未加载
评论 #27314828 未加载
lalokayaalmost 4 years ago
Very nice, great job!<p>Here&#x27;s another fun one: <a href="https:&#x2F;&#x2F;getavataaars.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getavataaars.com&#x2F;</a>
评论 #27312954 未加载
评论 #27313701 未加载
评论 #27316858 未加载
评论 #27313024 未加载
arnklintalmost 4 years ago
&quot;Boring avatars is a tiny JavaScript React library that generates custom, SVG-based, round avatars from any username and color palette.&quot;
评论 #27317059 未加载
sgallantalmost 4 years ago
Love the list of sample names!!<p><a href="https:&#x2F;&#x2F;notablewomen.withgoogle.com&#x2F;all" rel="nofollow">https:&#x2F;&#x2F;notablewomen.withgoogle.com&#x2F;all</a>
评论 #27315122 未加载
pandemic_regionalmost 4 years ago
The generated avatars are very pleasing to the eye, excellent work!<p>I was hoping though to enter my name somewhere on that page to test it out, as I have negative infinity js skills :-&#x2F;
评论 #27312389 未加载
btbuildemalmost 4 years ago
I share the common setiment from the comments: the avatars are hard to tell apart, which means they fail in their purpose as quick visual identifiers.<p>I&#x27;ve dabbled with this in the past, what I found very helpful was symmetry -- this works especially well with abstract shape ones. Generate a piece, then mirror it horizontally (or vertically, or both). I found this kind of visual redundancy made the glyphs more attractive to look at, and more distinct &#x2F; easier to tell apart.
codeulikealmost 4 years ago
My favourite was the Stackoverflow April Fools Unicorn avatar generator from a few years ago but I&#x27;m not sure if they ever released the source<p><a href="https:&#x2F;&#x2F;meta.stackexchange.com&#x2F;questions&#x2F;37328&#x2F;my-god-its-full-of-unicorns" rel="nofollow">https:&#x2F;&#x2F;meta.stackexchange.com&#x2F;questions&#x2F;37328&#x2F;my-god-its-fu...</a>
评论 #27315230 未加载
ncalmost 4 years ago
Incredible work! I&#x27;d pay for additional packs and also for a list of artists to come up with custom ones. (was just looking for this the other day). Every B2B SaaS and consumer product on the planet either needs to pay an illustrator&#x2F;designer to create these... or perhaps use your product? :)
评论 #27313619 未加载
thekylealmost 4 years ago
I really like the &quot;beam&quot; ones.
InfiniteCodealmost 4 years ago
On a same note, similar library I&#x27;ve built (also react, client side only): <a href="https:&#x2F;&#x2F;www.blankjs.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.blankjs.com&#x2F;</a>
ivyirwinalmost 4 years ago
I really like this. We&#x27;ve attempted similar ideas on projects before based on first&#x2F;last initial and it never turned out like I wanted. I like the simplicity of your execution and the range of styles you created. I get that some of the feedback is about them being too close together, but for practical applications, I think you would see enough variation in a small subset for it to be effective. Well done!
mcintyre1994almost 4 years ago
These are really cool, especially Beam as others have said. It&#x27;s not quite the same but I came across a really cool interactive blog post doing something similar recently that others might enjoy: <a href="https:&#x2F;&#x2F;francoisbest.com&#x2F;posts&#x2F;2021&#x2F;hashvatars" rel="nofollow">https:&#x2F;&#x2F;francoisbest.com&#x2F;posts&#x2F;2021&#x2F;hashvatars</a>
crispyporkbitesalmost 4 years ago
Nice- but personally I prefer Identicons e.g.<p><a href="https:&#x2F;&#x2F;idbloc.co&#x2F;blog&#x2F;product&#x2F;update&#x2F;2019&#x2F;05&#x2F;09&#x2F;toggles-identicons-and-beauty.html" rel="nofollow">https:&#x2F;&#x2F;idbloc.co&#x2F;blog&#x2F;product&#x2F;update&#x2F;2019&#x2F;05&#x2F;09&#x2F;toggles-ide...</a><p>These are basically a hash in visual format.
royletronalmost 4 years ago
Implemented them into our platform this morning! Love them. We have a space&#x2F;aurora type theme so the marbles with the right color scheme look great - we only use them as fallback if users don&#x27;t provide their own.
new_herealmost 4 years ago
Awesome work! I was wanting to build a library like this myself but you&#x27;ve executed it way better! You should try to build and charge for a web API for this to let communities auto-generate avatars for their new users.
评论 #27313579 未加载
hanniabualmost 4 years ago
Anybody know of a library that generates similar style images that can be used for larger dimensions? My goal would be to use this for blog cover backgrounds with title text imposed over it.
bradleykingzalmost 4 years ago
Excellent job.<p>I especially like Beam and Bauhaus. Beam should definitely be the default.
MrUssekalmost 4 years ago
There should be an option for StyleGAN (i.e <a href="https:&#x2F;&#x2F;thispersondoesnotexist.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thispersondoesnotexist.com&#x2F;</a>)
jamestimminsalmost 4 years ago
These look amazing! Great balance of whimsical and sophisticated
impostervtalmost 4 years ago
I feel like this is how we&#x27;ll all look in the distant future when we&#x27;ve uploaded ourselves into the singularity.
quyleanhalmost 4 years ago
Excellent! I love the random color palette. I found some &#x27;boring&#x27; avatar for my social sites now. Thank you.
eashish93almost 4 years ago
Not a boring one. It should be proavatars.
golergkaalmost 4 years ago
Great idea! But with one color palette for all, it&#x27;s pretty hard to tell them apart.
dspigalmost 4 years ago
Beam needs an &quot;avoid Hitler&quot; algorithm (no straight sloping hair?)
devfromanatoliaalmost 4 years ago
great job, loved the doc UI, also props for using notable women!
gnoll_of_gozagalmost 4 years ago
cursed idea: use <i>that one</i> picrew you know the one
xwdvalmost 4 years ago
An awesome avatar library would be one that searches the internet for an image that closely matches a user, maybe apply some filters too and face recognition cropping too.
exdevealmost 4 years ago
This would be very helpful library but the react is huge limitation.<p>Please remove react so more people could use it :)
评论 #27313334 未加载
评论 #27313807 未加载
bsenftneralmost 4 years ago
No seriously, a library that generates random filled circles? Is this an exercise in getting a React package into the ecosystem? This is too elementary to be taken seriously, so why all the praise posts? I am genuinely confused. Why?