Simple avatar service for the Let's chat. Avatar image is generated by the avatar-generator.
git clone https://github.com/jca02266/genavatar.git
cd genavatar
npm install
## if you'd like to use the MongoDB to keep your persistent members
#
# npm install mongoose
# mv model-mongodb.js model.js
node app.js
And you need to install the "convert" command which is a part of the ImageMagick .
You can confirm like below.
curl http://localhost:3000/avatar/someid?s=100 > sample.jpg
Or,
http://genavatar.herokuapp.com/avatar/someid?s=100
Licensed under the MIT license.
