Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 PNG / SVG
  • Generate animated GIF

Installation

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

Usage

# Generate image (default: PNG)
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

# generate SVG
syumaigen -svg > syumai.svg

Example HTTP Server

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

License

MIT

Author

syumai

About

A CLI tool to generate syumai's avatar image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages