command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 2, 2025
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Robo Hash
This project is a port of Robohash to Go. Follow the steps below to install, build, and package the project.
Installation Guide
- Clone the Repository
- Build the Project
make all
cd build
tar -xvzf robohash.tar.gz
Usage
Construction Settings
Parameter |
Type |
Description |
-input |
string |
Required. Input to be hashed |
-set |
string |
1 -> Robot 2 -> Monster 3 -> Robot2 4 -> Cat 5 -> Person any |
-color |
string |
Only for set1 [blue, brown, green, grey, orange, pink, purple, red, white, yellow] |
-extension |
string |
File to be saved (datauri will not be saved to file) [png, jpg, jpeg, gif, ppm, datauri] |
-bgset |
string |
Adds a background [1, 2, any] |
-sizex |
int |
X size in px |
-sizey |
int |
Y size in px |
Hash Setting
Parameter |
Type |
Description |
-ignoreExt |
none |
It will ignore image extensions, such as .png, .jpg, etc. When creating the hash |
-slots |
int |
Number of slots the hash will be divided. Be careful with this option |
any
-> refers to random value
Examples
Attribution
This project uses images from Robohash.org. The images are created by:
- Set 1: Robots by Zikri Kader
- Set 2: Robots by Hrvoje Novakovic
- Set 3: Robots by Julian Peter Arias
- Set 4: Cats by David Revoy
- Set 5: Avatars by Pablo Stanley
You are free to embed these images under the terms of the CC-BY License.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.