altinthaqi / epsidenticon

An Elixir service for generating identicons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Epsidenticon

Epsidenticon is a service which generate an identicon image based on a string.

Here are some examples of generated identicons!

Example #1   Example #2   Example #3  

Usage

Images are generated in PNG format with transparent background.

The string can be an email, an IP address, a username, an ID or something else. Every image is saved under identicons/ directory.

Generate an identicon

Clone the repository

$ git clone https://github.com/altinthaqi/epsidenticon.git

Install dependencies (egd)

$ cd epsidenticon/
$ mix deps.get

Start IEx

$ iex -S mix

Run main with a string

function Epsidenticon.main/1

Example

iex(1)> Epsidenticon.main("altinthaqi")

That's it - you should now have a newly generated identicon under identicons/!

The same string will always generate the same identicon color and pattern.

License

Epsidenticon is released under the MIT License. See the bundled LICENSE file for details.

About

An Elixir service for generating identicons

License:MIT License


Languages

Language:Elixir 100.0%