Chloe
An image generator for the meat conscious.
This started on a friends Slack with someone posting this image
(Trigger warning: an image of wrapped meat on a super market shelf) and then the idea of an image generator
was born.
You can try it on chloe.tsak.net
Build
go build
Run
Usage of ./chloe:
-debug
Debug mode
-host string
Hostname (default "localhost")
-port string
Port (default "8000")
./chloe # defaults to localhost:8000
Assets
To update the assets in assets.go
, install go-bindata
go get github.com/go-bindata/go-bindata
go-bindata -o assets.go assets
Run as a systemd service
See chloe.service systemd service definition.
To install (tested on Ubuntu 16.04):
adduser chloe
- copy
chloe
binary to /home/chloe
- place systemd service script in
/lib/systemd/system/
sudo systemctl enable chloe.service
sudo systemctl start chloe
sudo journalctl -f -u chloe
The last command will show if the service was started.