Giter Club home page Giter Club logo

avataaars's Introduction

This renders Avataaars in a way that can be embedded!

Here's some example URLs:

https://avataaars.io/?hairColor=BrownDark&clotheType=Hoodie&avatarStyle=Circle
https://avataaars.io/?accessoriesType=Prescription01&avatarStyle=Circle&clotheType=Hoodie&eyeType=EyeRoll&eyebrowType=UnibrowNatural&facialHairType=BeardLight&hairColor=Black&mouthType=Eating&skinColor=Yellow&topType=LongHairShavedSides
https://avataaars.io/?accessoriesType=Blank&avatarStyle=Circle&clotheColor=Black&clotheType=GraphicShirt&eyeType=Close&eyebrowType=Default&facialHairColor=BlondeGolden&facialHairType=Blank&hairColor=PastelPink&mouthType=Sad&skinColor=Tanned&topType=Hat

[CURRENTLY DISABLED] If you want a PNG, you can add /png to the URL like this:

https://avataaars.io/png?hairColor=BrownDark&clotheType=Hoodie&avatarStyle=Circle

[CURRENTLY DISABLED] And you can resize the PNG using /png/{width}, like this:

https://avataaars.io/png/2000?hairColor=BrownDark&clotheType=Hoodie&avatarStyle=Circle

You can build your query strings here:

https://getavataaars.com/

DEVELOPMENT

   $ git clone [email protected]:gkoberger/avataaars.git
   $ cd avataaars
   $ npm install
   $ npm start

Most of the good stuff is in app.js!

OTHER

I removed the Puppeteer buildpack, but if we want it back, add https://buildpack-registry.s3.amazonaws.com/buildpacks/jontewks/puppeteer.tgz to Heroku

avataaars's People

Contributors

dependabot[bot] avatar fangpenlin avatar gkoberger avatar soulteary avatar tilomitra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avataaars's Issues

doesnt render the beard/facialHairType

url
https://getavataaars.com/?accessoriesType=Prescription01&avatarStyle=Circle&clotheColor=PastelOrange&clotheType=ShirtScoopNeck&eyeType=Close&eyebrowType=SadConcernedNatural&facialHairType=BeardMagestic&hairColor=Black&hatColor=Gray02&mouthType=Grimace&skinColor=Light&topType=ShortHairShortWaved

result of embed image tag button

same as above, just rendered so you can get an idea.
img:

Problem

on the webiste I got this guy on random.
I clicked the embed image tag button and got this. in the search query you can clearly see it specifies the a failedHairType but it doesnt show that when rendering via image tag.

I suppose theres a casesensitivity issue or a spelling mistake somewhere in either the api or the getImageTag() function that returns the embeddle image tag.

Application service has down

Heys,

I'm trying to access the website but it turns out to be down. Will it be maintained back again?

Okay, it started to work back again. I suppose I came across with a temporary moment when it was down.

License

Can you add a license? Preferably MIT?

Turning off PNGs

I had to turn off PNG support on avataaars.io, because it was being abused and was costing a few thousand dollars a month.

If you need PNG support, the code's still in the repo, and you can deploy it yourself!

Or, if you have any interest in a paid version of this, feel free to email me (username at gmail) and we can figure something out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.