ui-avatars

Dev tools

avatar generator

SHOW HN2017

164points
96comments
#225of 2,242 in 2017
Top 11%of 2017 by points

How HN took it

MixedNo clear lean

3 positive, 18 neutral or asking, 2 mixed, 16 critical, out of 39 comments about the project. Thread score -0.32.

Idea: 1 for, 8 againstExecution: 1 for, 2 againstDesign: 0 for, 3 againstPrivacy: 0 for, 2 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful and well executed API

    From 2 comments
    • Nice idea! What surprised me most: It is also very well executed, with a sane and simple API, good performance considerations, and it fits its purpose almost perfectly. Having…
      vog on HN
    • I love you for creating this.
      aymeric on HN
  • Fun alternatives like Robohash and adorable avatars

    From 2 comments
    • Two of my favorite avatar generators: https://www.peppercarrot.com/en/article391/cat-avatar-generator the furry version of https://robohash.org/
      oever on HN
    • Woah, Robohash is 6 years old now, time goes so fast... https://robohash.org/
      latchkey on HN

Objections

  • Sending real names to a third-party service is a privacy concern

    From 2 comments
    • Nice idea. As one wrote, this can easily done with one line of JS but having this as an web API which returns an image file is definitely neat. However, I see a privacy issue…
      earlybike on HN
    • If you use only the initials, you can cut or fake the other letters since they're ignored anyway. Not 100% privacy but better than sending the full name
      dewiz on HN
  • CSS or a line of JavaScript can do this without an API

    From 3 comments
    • For web this is done with 1 line of Javascript and a div with rounded borders, really ``` const initials = name.split(' ').map((n) => n.substr(0,1)).slice(0,2).join('') <div…
      dmitriid on HN
    • SVG is awesome... but this is a basic enough subset of SVG that SVG is unwarranted. CSS will do this just fine (and any browser capable of displaying this SVG can probably…
      ComputerGuru on HN
    • I don't understand why one would prefer an API to a CSS for this? I'm not even saying don't add the dependency - why should this project be an API instead of some CSS that I…
      OJFord on HN
  • Initials handling breaks for non-Latin scripts like Thai and Hindi

    From 2 comments
    • Cool to see thai on the header example. However the results doesn't really make sense, for example this "name" โจ เคน (Jo Keen) has the first letters of each word จ (j) and ค (k)…
      wingerlang on HN
    • Note that the "take the first codepoint" approach doesn't work for all languages. Take Hindi for example. This is a name: ``` प्रेरणा 'preraṇa' ``` The convention for initials…
      lgessler on HN

Requests

  • Random or generated colours

    From 2 comments
    • Brilliant - thanks for this. Also, would be a nice feature to have the colours randomise themselves as an option, so that I could have different coloured avatars on my people…
      cyberferret on HN
    • I'd say random is better than generated from initials, to avoid two persons with same initials having the same avatar! Random with font color depending on background color (so…
      williamdclt on HN
  • More complex generated avatar styles and themes

    From 1 comment
    • Why don't you rather provide a service which generates more complex avatars such as those from Github[1] or Slack. Your API consumer sends some unique string (user-id, hashed…
      earlybike on HN
  • Better Chinese and Unicode script support

    From 1 comment

Questions

  • How are middle names and comma-separated names handled?

    From 1 comment
    • Nice service - I was looking for something like this to generate default avatars for our SaaS app recently. How does it handle middle names? i.e., does "John Arthur Smith" still…
      cyberferret on HN
  • Is there rate limiting?

    From 2 comments
    • Nice service - I was looking for something like this to generate default avatars for our SaaS app recently. How does it handle middle names? i.e., does "John Arthur Smith" still…
      cyberferret on HN
    • Ut stores the avatars on the server, cached by all parameters (not the name, but the generated initials) to avoid generating them again. Also some response headers are set to ask…
      lasserafn on HN

Alternatives named

  • Robohash

    From 1 comment
    • Two of my favorite avatar generators: https://www.peppercarrot.com/en/article391/cat-avatar-generator the furry version of https://robohash.org/
      oever on HN
  • Adorable avatars

    From 2 comments
  • invatar

    From 1 comment
    • I pulled invatar (https://github.com/Bekt/invatar) into my code base for Remarkbox (https://www.remarkbox.com) invatar generates SVG and the way I use it is slightly different, I…
      foxhop on HN
  • Tobiaslins avatar

    From 1 comment
    • There's also this: https://github.com/tobiaslins/avatar
      bluefin on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/15422995)