gabrielbarker / identico

A RESTful API for identicon SVGs, implemented in golang

Home Page:https://gabrielbarker.github.io/identico/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

identico

A RESTful API for identicon SVGs

Identico produces unique two-colour identicon SVG's based on an input message!

You can use Identico to create fun graphics for encrypted words or to create a personalised profile image using your username, ensuring you have a graphic unique to you!

Features!

  • Generate a new graphic by inserting a new word into the name box.

  • Save your theme with a simple right click, then save as SVG image.

  • Watch as your design changes in real time according to your input word via the Identico web app.

  • Change the complexity of the graphic by clicking the complexity drop down and navigating to a different number.

Using The API!

The Identico API can be accessed using the URL

https://identico.herokuapp.com/

Parameters

Quadrant

The quadrant parameter dictates how many pixels each quarter of the graphic is before it is mirrored to create the full square graphic. Ie. The width is 2X the quadrant. In the case no quadrant value is given by the user the value 8 is used as a default.

Example of URL using only the quadrant parameter where the value is 10

https://identico.herokuapp.com/?quadrant=10
Message

The message parameter is the line of text that is converted to create the identicon image. It is encrypted using a hash function and is then converted into a graphic. In the case no message is input by the user the current datetime is used as a default.

Example of URL using only a message where the message is "Hello World"

https://identico.herokuapp.com/?message=Hello%20World

Using The Web App!

  • The name box refers to the message parameter. Simply enter a message to see its real time graphic conversion.
  • The complexity box refers to the quadrant parameter. The values range from 4 through to 64, where 64 results in a pattern created from more pixels!
  • You can copy your unique URL from the URL box to link directly to your specified message and complexity pattern.

Example of standard URL using a quadrant and a message where the message is "Hello World" and the quadrant value is 10

https://identico.herokuapp.com/?message=hello%20world&quadrant=10

Misc!

If you find that there are issues or improvements for Identico then please feel free to file an issue!

This application is a fun way to generate a new graphic for a profile when you end up with an automated one that just sucks! It is intended as a solution to forever being stuck between the choice of your actual face or a pre-picked design that just doesn’t suit your personality.

License!

MIT

About

A RESTful API for identicon SVGs, implemented in golang

https://gabrielbarker.github.io/identico/

License:MIT License


Languages

Language:Go 100.0%