-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to link directly to a generated SVG/PNG #2
Comments
For anyone else who wants this, you can use https://avataaars.io for it. Just use the query strings from getavataaars.com:
|
Any idea what the source code for https://avataaars.io/ is doing? Would be great if this was available as well |
thanks |
@wpitallo here ya go: https://github.com/gkoberger/avataaars Basically, just rendering react on the server |
@gkoberger thanks for the possibility to use it directly via link in img. How safe is it to use on my website (no highload in any way)? I mean do you plan to keep this server alive or is it better to save images after generation? |
@nosovsh it seems pretty simple to run, so I expect it to be pretty safe to direct link to! I plan on just leaving it up forever (it runs on a $7 heroku instance, so I'm not worried) |
Awesome thank you! @gkoberger |
Awesome! @gkoberger |
It's been down once, could you open source your code so we can host it for us? Cheers, |
Small update fangpenlin#2
The ability to download a generated SVG or PNG is great, but I'd love to be able to link directly to the SVG or PNG file.
Use case here is generating random avatars for user profiles on a web app.
Basically want to use this app as an API server for generating these and then link to randomly generated images.
(Note the added
.svg
on the end of the URL)The text was updated successfully, but these errors were encountered: