chloe

command module
v1.0.1-0...-b789536 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2020 License: Unlicense Imports: 21 Imported by: 0

README

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):

  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.

Documentation

Overview

Code generated for package main by go-bindata DO NOT EDIT. (@generated) sources: assets/LiberationSans-Regular.ttf assets/chloe.png assets/index.html

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL