Dokku Daemon written with Go to interact with Dokku
A server running Ubuntu 14.04 or later with Dokku installed.
As a user with access to sudo
wget https://github.com/timonweb-forks/dokku-daemon-go/raw/master/builds/dokku-daemon-go-linux64
chmod +x dokku-daemon-go-linux64
sudo ./dokku-daemon-go-linux64 install
sudo service dokku-daemon start
Daemon will create a UNIX socket at /var/run/dokku-daemon/dokku-daemon.sock owned by dokku user.
To test you can use;
sudo socat - UNIX-CONNECT:/var/run/dokku-daemon/dokku-daemon.sock
and type apps. It should return the output in JSON format.
{"status":"success","output":{"message":"=====\u003e My Apps\nhello\n"}}