consul-touchbar-ops icon indicating copy to clipboard operation
consul-touchbar-ops copied to clipboard

Control Consul traffic splitting from the comfort of you mac TouchBar

Consul TouchBarOps

Consul TouchBarOps

This is a demo toy for a talk I gave at HashiConf EU 2019.

Usage

Building in XCode should get a working Touch Bar app.

The main UI pane allows configuring which Consul API endpoint to hit, which service to configure and which named subsets to split between.

This could all be much cleaner but wasn't needed for the demo. Changing values should update the Touch Bar next time you move the slider.

Config UI

Maintenance

I don't intend to maintain this so do what you like with it. I may consider PRs if they are fun and seem to work but this is intended to be a demo tool and not a real product!

Also, I know the code is messy. I built this in a few hours for a talk OK?