twbn-go

command module
v0.0.0-...-1152014 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-2-Clause Imports: 5 Imported by: 0

README

#therewillbenoise

Rob Szumlakowski Allan Baril

This application is a plugin for the CF cli that will monitor an application running on CF and light a hockey goal light and output speech whenever several events occur:

  • Application started
  • Application stopped
  • Application crashed
  • Application scales to a new number of instances

The application itself uses the 'light.sh' and 'speech.sh' Bash scripts to light the hockey goal light and produce speech.

We ran this plugin on a Raspberry Pi device. The hockey goal light was wired to one of the output pins on the Raspberri Pi device. The 'light.sh' script uses the 'gpio' program to trigger the output pins and turn the hockey goal light on and off. If you don't have access to a Raspberry Pi and a hockey goal light then just change 'light.sh' so it does something else.

The 'speech.sh' script sends text to Google Translate and uses mpg123 to play the output.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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