This is a quick post to introduce IPsicon.io - a simple API to generate icons, avatars and qr codes for your websites and apps.
Generate unique avatars for users
A simple http fetch request or an image source to https://ipsicon.io/username.svg will generate a unique image for the given name string.
Similar to generating icons for names, you can fetch or source initials via https://ipsicon.io/initials/Un.svg
Generate QR code for any data
Simply send a request to https://ipsicon.io/qr/my data.png
Always URL encode the string you are sending. This will ensure the images will work on all browsers. You can either use images directly in HTML or you can fetch using an http library.
This service is free to use and have a 99.99% availability. I have created IPsicon for one of my own projects so IPsicon is here to stay.