Skip to content

Intuitive web-dashboard to control and monitor your linux machine

License

Notifications You must be signed in to change notification settings

eduhdev12/LixController

Repository files navigation

LixController

Easy remote dashboard to control and monitor your linux machine!

Discord

Features

  • System information - CPU,RAM,TEMP,UPTIME
  • Terminal (Experimental) - Run terminal commands
  • Shutdown/Restart - Shutdown or restart the machine with one button click

Self-Hosting

Configuration

config.json
{
    "port": "port for the player server",
}

Auth

Enter in server.js and change the username and the password
If you want to add more users you can replace with

users: {
        'admin': 'supersecret',
        'adam': 'password1234',
        'eve': 'asdfghjkl',
    }

Requirements

node.js
A linux distribution

Installing the LixController

npm i
npm run start

API Documentation

NOTE: ANY REQUEST TO API REQUIRES AUTH CREDENTIALS

/uptime [GET] - returns system uptime
/getTemp [GET] - returns system current temp and max temp
/getCpu [GET] - returns currentload, cpumodel and cpuinfo
/getbattery [GET] - returns battery level and battery state
/getram [GET] - returns used amount of ram and total
/poweroffmachine [GET] - turns off the machine
/restartmachine [GET] - restarts the machine
/terminal/submit [POST] - sends a terminal command with the argument body.id

About

Intuitive web-dashboard to control and monitor your linux machine

Topics

Resources

License

Stars

Watchers

Forks