https://github.com/altinthaqi/epsidenticon
An Elixir service for generating identicons
https://github.com/altinthaqi/epsidenticon
elixir identicon
Last synced: 14 days ago
JSON representation
An Elixir service for generating identicons
- Host: GitHub
- URL: https://github.com/altinthaqi/epsidenticon
- Owner: altinthaqi
- License: mit
- Created: 2024-04-23T18:57:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-04T18:44:14.000Z (about 2 years ago)
- Last Synced: 2025-11-30T03:33:32.925Z (7 months ago)
- Topics: elixir, identicon
- Language: Elixir
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Epsidenticon
**Epsidenticon** is a service which generate an [identicon](http://en.wikipedia.org/wiki/Identicon) image based on a string.
Here are some examples of generated identicons!



## 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
```bash
$ git clone https://github.com/altinthaqi/epsidenticon.git
```
Install dependencies ([egd](https://www.erlang.org/docs/18/man/egd.html))
```bash
$ cd epsidenticon/
$ mix deps.get
```
Start IEx
```bash
$ iex -S mix
```
Run main with a string
```bash
function Epsidenticon.main/1
```
Example
```bash
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](LICENSE.md) for details.