https://github.com/tsak/chloe
An image generator for the meat conscious
https://github.com/tsak/chloe
go golang image-processing
Last synced: 5 months ago
JSON representation
An image generator for the meat conscious
- Host: GitHub
- URL: https://github.com/tsak/chloe
- Owner: tsak
- License: unlicense
- Created: 2019-07-04T14:37:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T06:53:55.000Z (almost 2 years ago)
- Last Synced: 2024-08-27T17:57:34.190Z (almost 2 years ago)
- Topics: go, golang, image-processing
- Language: Go
- Homepage:
- Size: 2.33 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chloe
An image generator for the meat conscious.
This started on a friends Slack with someone posting [this image](https://i.redd.it/mfztzrcfct131.jpg)
*(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](https://chloe.tsak.net)~~
## Build
```bash
go build
```
## Run
```bash
Usage of ./chloe:
-debug
Debug mode
-host string
Hostname (default "localhost")
-port string
Port (default "8000")
```
```bash
./chloe # defaults to localhost:8000
```
## Assets
To update the assets in `assets.go`, install [go-bindata](https://github.com/go-bindata/go-bindata)
```bash
go get github.com/go-bindata/go-bindata
go-bindata -o assets.go assets
```
## Run as a systemd service
See [chloe.service](chloe.service) systemd service definition.
To install (tested on Ubuntu 16.04):
1. `adduser chloe`
2. copy `chloe` binary to `/home/chloe`
3. place systemd service script in `/lib/systemd/system/`
4. `sudo systemctl enable chloe.service`
5. `sudo systemctl start chloe`
6. `sudo journalctl -f -u chloe`
The last command will show if the service was started.