https://github.com/dnovikoff/mimage
Mahjong image library
https://github.com/dnovikoff/mimage
Last synced: about 2 months ago
JSON representation
Mahjong image library
- Host: GitHub
- URL: https://github.com/dnovikoff/mimage
- Owner: dnovikoff
- License: mit
- Created: 2019-04-28T10:40:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T20:38:21.000Z (over 4 years ago)
- Last Synced: 2025-04-02T06:35:49.330Z (2 months ago)
- Language: Go
- Size: 493 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mimage
[](https://github.com/dnovikoff/mimage/actions?query=workflow%3ACI)
[](https://codecov.io/gh/dnovikoff/mimage)
[](https://goreportcard.com/report/github.com/dnovikoff/mimage)This is a library for creating images with mahjong tiles.
There is a server to show fuctionalty.Run the server from docker
`docker run -p 8080:8080 -it --rm tempai/mimage`
Or start with go
`go run ./cmd/mimage`
## Example urls
- Simple string http://localhost:8080/1379m2568p23456s_6z.png
- Rotated tiles http://localhost:8080/123445679m_-123s_4-444s.png
- Kan http://localhost:8080/I50Im_5-5-05s.png## Examples of resulting images
- 
- 
- 