chrome-screens

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

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

Go to latest
Published: Jun 1, 2017 License: MIT Imports: 8 Imported by: 0

README

Chrom(e|ium) Screens

Chome/Chromium-based dashboards, changeable via Slackbots.

Usage

Copy on to target PC. First run only requires a Slack API token env var - this should get saved to config.json in the same directory.

$ SLACK_API_TOKEN=xoxs-... ./chrome-screens

Once it is connected it should tell you the name of the user it connected as (configured via Slack bot configuration). Invite that user to any channel you want to issue commands via.

Once the Slack bot is in a channel you can ask it for help: @mybotname help. You should be able to work it out from there.

Installing

If you have Go installed:

go get -u github.com/porty/chrome-screens

If you don't have Go installed: install it on another machine, scp it to the target. Cross compile if needed.

Getting a Slack token

Slack API tokens can be retrieved by hitting Apps & integrations, search for Bots (should be the first hit, with a boring grey icon) and configuring a new bot. This will give you a Bot integration with an API token. Be sure to give it a good icon/avatar and a name.

Windows support

I'm lazy. I don't even know if this supports OSX.

Licence

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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