Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mwmiller/excon
Identicons in Elixir
https://github.com/mwmiller/excon
Last synced: 19 days ago
JSON representation
Identicons in Elixir
- Host: GitHub
- URL: https://github.com/mwmiller/excon
- Owner: mwmiller
- License: mit
- Created: 2016-09-25T15:12:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-08T14:48:47.000Z (10 months ago)
- Last Synced: 2024-11-13T08:54:14.734Z (about 1 month ago)
- Language: Elixir
- Size: 56.6 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Excon
Identicons from Elixir.
## Installation
1. Add `excon` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:excon, "~> 4.0"}]
end
```## Output
### PNG
iex> Excon.ident("Excon", filename: "Excon64", magnification: 8)
![PNG](Excon64.png?raw=true "ExCon Identicon")
iex> Excon.ident("Excon", base64: true, magnification: 8)
"iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAADFBMVEX/gCH/qRT1xaH00rjuVoX9AAAAAklEQVR4nGKkkSsAAABfSURBVO3UKQ4AMQxD0S73v/OQJMCS2ZBa36yV80qirlvZlT4fiestgAjADW6JgwAyAB3UgntgFgkgAujMYlSuxPUAAABygC48/KUB/AC4ggLuAYAMQC8UcoOzSAAJwAe+BR0BwZDwWwAAAABJRU5ErkJggg=="