o1egl / Govatar
Licence: mit
Avatar generation library for GO language
Stars: ✭ 419
Labels
Projects that are alternatives of or similar to Govatar
MineRender
Quick, Easy, Interactive 3D/2D Renders of Minecraft
Stars: ✭ 76 (-81.86%)
Mutual labels: skin
Osmo
Osmo is a tool to create, edit and manage your osu! skins with ease.
Stars: ✭ 18 (-95.7%)
Mutual labels: skin
steam-chat-skin
A customisable theme for the Steam Chat / Friends
Stars: ✭ 30 (-92.84%)
Mutual labels: skin
Neogfx
Cross-platform GPU-oriented C++ application/game framework
Stars: ✭ 362 (-13.6%)
Mutual labels: skin
MojangSharp
A C# wrapper library for Mojang API (no longer actively maintained)
Stars: ✭ 38 (-90.93%)
Mutual labels: skin
Lano-Visualizer
A simple but highly configurable visualizer with rounded bars.
Stars: ✭ 114 (-72.79%)
Mutual labels: skin
Upmetroskin
This non-official addon for Metro for Steam fixes bugs with the current version and adds optional content for you to choose from.
Stars: ✭ 377 (-10.02%)
Mutual labels: skin
Qssstylesheeteditor
Editor for qt stylesheet (qss). Real-time preview, and user can define varibles in qss.
Stars: ✭ 356 (-15.04%)
Mutual labels: skin
GOvatar
GOvatar is an avatar generation library written in GO
Notes
- From release v0.4.0 onward, the minimal supported golang version is 1.16.
Install
Brew
$ brew tap o1egl/tap
$ brew install govatar
Docker
$ docker pull o1egl/govatar
From source
$ go get -u github.com/o1egl/govatar/...
Prebuilt binary packages are available for Mac, Linux, and Windows.
Usage
$ govatar generate male -o avatar.png # Generates random avatar.png for male
$ govatar generate female -o avatar.png # Generates random avatar.png for female
$ govatar generate male -u [email protected] -o avatar.png # Generates avatar.png for specified username
$ govatar -h # Display help message
As lib
Generates avatar and save it to filePath
err := govatar.GenerateFile(govatar.MALE, "/path/to/avatar.jpg")
err := govatar.GenerateFileFromUsername(govatar.MALE, "username", "/path/to/avatar.jpg")
Generates an avatar and returns it as an image.Image
img, err := govatar.Generate(govatar.MALE)
img, err := govatar.GenerateForUsername(govatar.MALE, "username")
Copyright, License & Contributors
Adding new skins
- Add new skins to the background, male/clothes, female/hair, etc...
- Submit pull request :)
Submitting a Pull Request
- Fork it.
- Create a branch (
git checkout -b my_branch
) - Commit your changes (
git commit -am "Added new awesome avatars"
) - Push to the branch (
git push origin my_branch
) - Open a Pull Request
- Enjoy a refreshing Diet Coke and wait
GOvatar is released under the MIT license. See LICENSE
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].