Skip to content
A CLI tool to generate syumai's avatar image
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
cmd/syumaigen
example/server
LICENSE.md
README.md
colormap.go
go.mod
go.sum
image.go
pattern.go
pattern_test.go

README.md

syumaigen

syumai.gif

  • A CLI tool to generate syumai's avatar image.
  • The avatar used in this command was designed by @tanakaworld.

Features

  • Change scale of avatar image
  • Randomize color generation
  • Generate animated GIF

Installation

go get -u github.com/syumai/syumaigen/cmd/syumaigen

Usage

# Generate image
syumaigen > syumai.png

# Show usage
syumaigen -help

# Upscale (default: 10) and stop randomize color generation (default: true)
syumaigen -scale=100 -random=false > syumai.png

# generate animated GIF
syumaigen -animated > syumai.gif

Example HTTP Server

  • go run example/server/main.go
  • This generates random avator image.

License

MIT

Author

syumai

You can’t perform that action at this time.