https://github.com/kociamber/identicon
Small application for GitHub-like avatar generation.
https://github.com/kociamber/identicon
elixir mix
Last synced: 10 months ago
JSON representation
Small application for GitHub-like avatar generation.
- Host: GitHub
- URL: https://github.com/kociamber/identicon
- Owner: Kociamber
- Created: 2017-05-13T11:30:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-20T09:55:52.000Z (almost 9 years ago)
- Last Synced: 2025-01-19T11:42:18.514Z (over 1 year ago)
- Topics: elixir, mix
- Language: Elixir
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Identicon
**Elixir playground**
This application was written for training purposes.
It's generating random GitHub-like avatar .png file basing on string input.
* Image is built on 5x5 grid.
* Color is based on the string input.
* The same string will always produce the same result.
* The project is using few Erlang libs, like :egd, :crypto or :binary.
Example file generated for "string" ;)

## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `identicon` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:identicon, "~> 0.1.0"}]
end
```