a thing to turn off all your screens.
- Nodejs and NPM
- git
- A network that allows UDP broadcasts (most do)
- Multiple computers on this network
- Windows or Linux with KDE plasma or Gnome on Wayland
Download this repository using git:
git clone https://github.com/legop3/scroffer.git
Change to the scroffer
directory
Use NPM to install dependencies
npm install
- Make yourself a copy of
config.json.example
and name itconfig.json
- Open config.json in your favorite text editor
- Set the interface address (You can probably just leave it as
0.0.0.0
) - Set the port for the web interface
- Set the OS for this client. Your options as of now are
windows10
,linux/plasma/wayland
, andlinux/gnome/wayland
- Set the interface address (You can probably just leave it as
Be sure you are in the project's directory and run node server.js
Be sure you are in the project's directory and run node client.js
- Navigate to your web interface, this will be the IP address of your server and the port you set in
config.json
- Example: http://192.168.0.25:3621
- Press the ON or OFF buttons to broadcast the ALL/ON or ALL/OFF signals over your network
- Your clients, if configured properly, should respond the button presses.
this is on docker hub as legop3/scroffer make sure to enable host networking mode for the UDP broadcasts to work correctly
Do NOT open this to the internet. This is NOT secure in any way.