/LocalNetTools

Shut down PC from other decive in the same network

Primary LanguageGoMIT LicenseMIT

LocalNetTools

LocalNetTools was made just to play around with GO.I wanted my PC to be able to shut down from any other device. So, I made this.

Run

Download from release and run it.

Build

First build the webui GUI: webui

After GUI was built install go-bindata

go get -u github.com/shuLhan/go-bindata

Clone this repo and use the follow commands:

go-bindata webui/dist/...
go build -ldflags="-s -w -H windowsgui"

Usage

.\LocalNetTools.exe

You can pass -s flag to start it with Windows:

.\LocalNetTools.exe -s

To see the gui in your default web browser click in the system tray icon and then click Open Ui menu

Important

Make sure windows firewall allow LocalNetTools to run in local network

License

MIT