avatars-api-middleware icon indicating copy to clipboard operation
avatars-api-middleware copied to clipboard

API Site is gone?

Open davidwparker opened this issue 3 years ago • 17 comments

http://avatars.adorable.io/ no longer exists.

Is the only way to use via self-hosting now?

davidwparker avatar Oct 14 '20 18:10 davidwparker

+1 on this. I was using it on a project, and got surprised this afternoon when all my avatars stopped working.

As a workaround, I created a Firebase Functions version that can be self-hosted "for free" while we get some responses about what happened to it. This is the repo: https://github.com/willcrisis/adorable-avatars-cloud-functions

willcrisis avatar Oct 14 '20 22:10 willcrisis

Hello, is there any news about this ? I am using your API in several projects too

ValentinVignal avatar Oct 15 '20 15:10 ValentinVignal

I've hosted the project on this domain: https://api.hello-avatar.com/adorables/

it's the same API as before, feel free to use it! https://api.hello-avatar.com/adorables/myseed https://api.hello-avatar.com/adorables/120/myseed https://api.hello-avatar.com/adorables/face/eyes2/nose2/mouth1/ff0000/120 https://api.hello-avatar.com/adorables/list

gfauchart avatar Oct 15 '20 21:10 gfauchart

Hey everyone,

I'm no longer a contributor on the project so I don't have any insight into the situation, but I felt the need to chime in and say 🙏 THANK YOU 🙏 to everyone for jumping in and building these solutions. It's really awesome and heartwarming to see people rally like this ❤️ .

Speaking historically: the avatars services was built to be a self-hosted dev tool, and the http://api.adorable.io/ instance was only ever intended to drive the demo page. But it was there, and public, and free, and so people started using it! We tried our best over the years to keep it up and performant, but the amount of traffic (and costs) kept rising, and I assume that trend has continued.

So, I love seeing these ad hoc solutions as (IMO) it's getting back to the original intention of the project! But if there are things that we (the community) can do to make this more distributable/deployable, I think that would benefit everyone.

rylnd avatar Oct 15 '20 21:10 rylnd

Sorry for the sudden outage, and many thanks to those who have posted workarounds and alternative hosting!

This outage boils down to an issue of an expired credit card with Heroku, where it's hosted, and the Heroku account getting suspended due to unpaid bills.

In getting ready to update the CC, and considering the price tag (we're now at ~$280/month), I think this is a good seam for us to go ahead and shut down the free hosted API.

I know that it's annoying to have a dependency start failing on you like this with no warning, and I'm sorry for that. Unfortunately I think there's no great way to provide an advance warning here, since there are no accounts or anything - but I'm sure there are decent solutions we could brainstorm in hindsight.

In any case, I'm sorry to be the bearer of bad news, but I think your best option will be to self-host, or to point at an alternative hosted domain.

trptcolin avatar Oct 15 '20 22:10 trptcolin

Docker image for self hosters https://hub.docker.com/r/aldrio/adorable-avatars

aldrio avatar Oct 15 '20 22:10 aldrio

Very sad to see that the API is currently not available. I liked your avatar style.

I am the maintainer of DiceBear Avatars and can suggest this as an alternative as well.

FlorianKoerner avatar Oct 16 '20 10:10 FlorianKoerner

Thanks @gfauchart I guess we will need to do the same to maintain the service.... Its so good!!

ianhobbs avatar Nov 10 '20 02:11 ianhobbs

ther is no more site?

dariocoroneldev avatar Jan 10 '21 18:01 dariocoroneldev

I've hosted the project on this domain: https://api.hello-avatar.com/adorables/

it's the same API as before, feel free to use it! https://api.hello-avatar.com/adorables/myseed https://api.hello-avatar.com/adorables/120/myseed https://api.hello-avatar.com/adorables/face/eyes2/nose2/mouth1/ff0000/120 https://api.hello-avatar.com/adorables/list

Hi @gfauchart Thanks for hosting at https://api.hello-avatar.com/adorables/. Have been using for awhile now successfully, it seems to have stopped working recently, I get "ERROR: Failed to contact the origin".

Is that intentional? Thank you!

viking2917 avatar Sep 08 '21 16:09 viking2917

Hello @viking2917 , Sorry, the bill was getting too high and I ran out of AWS credit :( some links are still working because the CDN is still up with some cached links, but I had to turn off the webserver

gfauchart avatar Sep 08 '21 16:09 gfauchart

Hello @viking2917 , Sorry, the bill was getting too high and I ran out of AWS credit :( some links are still working because the CDN is still up with some cached links, but I had to turn off the webserver

@gfauchart makes sense. Thanks for hosting for a time!

viking2917 avatar Sep 08 '21 16:09 viking2917

Docker image for self hosters https://hub.docker.com/r/aldrio/adorable-avatars

I add Heroku support based on ur code

https://github.com/AlphaWong/adorable-avatars

So we should be able to generate identicon for fun after deployed to Heroku

AlphaWong avatar Oct 14 '21 16:10 AlphaWong

We are currently hosting the service at https://adorable-avatars.broken.services/

https://adorable-avatars.broken.services/myseed https://adorable-avatars.broken.services/120/myseed https://adorable-avatars.broken.services/face/eyes2/nose2/mouth1/ff0000/120 https://adorable-avatars.broken.services/list

Its running on a Hetzner root server (no unexpected AWS/Heroku bills). Its mainly for our in-house projects and some personal projects, feel free to use it. As long as the server is mostly idling i will keep it running, but if it drains too much ressources it might become broken (as the domain name suggests lol)

M4GNV5 avatar Nov 25 '21 20:11 M4GNV5

I like the domain name. 😄

FlorianKoerner avatar Nov 25 '21 21:11 FlorianKoerner

I made this package to replace the avatar service: https://github.com/asbiin/laravel-adorable https://packagist.org/packages/asbiin/laravel-adorable

asbiin avatar Jul 04 '22 21:07 asbiin

Not sure whose this site is: http://adorableavatars.com/

polettix avatar Nov 01 '22 14:11 polettix