A responsive, eye-pleasing Linux server statistics dashboard.
Branch: master
Clone or download
Latest commit ea84a5e Aug 22, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Updated to v2 Aug 22, 2018
js Updated to v2 Aug 22, 2018
lang Updated to v2 Aug 22, 2018
php Updated to v2 Aug 22, 2018
.gitignore Updated to v2 Aug 22, 2018
LICENSE Updated to v2 Aug 22, 2018
README.md Update README.md Aug 22, 2018
android-chrome-192x192.png Updated to v2 Aug 22, 2018
apple-touch-icon.png Updated to v2 Aug 22, 2018
browserconfig.xml Updated to v2 Aug 22, 2018
config.php Updated to v2 Aug 22, 2018
favicon-16x16.png Updated to v2 Aug 22, 2018
favicon-32x32.png Updated to v2 Aug 22, 2018
favicon.ico Updated to v2 Aug 22, 2018
index.php Updated to v2 Aug 22, 2018
manifest.json Updated to v2 Aug 22, 2018
mstile-150x150.png Updated to v2 Aug 22, 2018
safari-pinned-tab.svg Updated to v2 Aug 22, 2018
settings.php Updated to v2 Aug 22, 2018

README.md

SWMP - Server Web Monitor Page

A responsive, eye-pleasing Linux server statistics dashboard.

Live Demo

Powered by DigitalOcean

Open a live demo

(The demo resets all settings automatically every hour.)

Requirements

  • Linux OS with...
  • A Web Server. (Nginx, Apache etc...)
  • PHP with shellexec() and exec() enabled.

Installation

The Easy Way

Simply run:

wget https://get.swmp.ml/install.sh && chmod +x install.sh && ./install.sh

The installer script has been tested with Debian, Linux Mint, Fedora, CentOS and Arch Linux.
Please let me know of any issues with the installer.

The installer will also help you to secure the install folder with a .htpasswd file. (excluding Arch)
If you want to see the installer source, it's available directly here.

The Manual Way

  1. Download the Zip file.
  2. Extract the files to the web server. (You might want to secure access somehow, .htpasswd maybe?)
  3. That's it!

Settings

SWMP includes a settings page. This enables you to configure some things with your SWMP installation.
This includes choosing from a selection of themes, choosing the language (See Languages for more information), changing the window title and showing and hiding elements on the main page as well as some debugging options. (All theme stylesheets are located in ~/css/themes/.)

Languages

To better make SWMP available to everyone it can be translated into any language.
On the settings page there is a language dropdown box. This automatically picks up any language file in the locale tag format of en_GB.php. These files can be found in the /lang folder and if you can help out you are enouraged to submit pull requests of these translation files so they can be included for everyone to use.
As the project progresses the language files will also need to be updated accordingly. The en_GB.php file will always be up to date however so can always be used as a reference point.

Show Some Love <3

If you make use of SWMP in some way, please consider a donation.

PayPal
BTC: 1DUJH2kqccDpTHHSCXDkRGhxtvXm9PdnkN

Contributions

Feel free to contribute to SWMP, these guys already did:
TomasKostadinov - Darkplex Theme.
daison12006013 - Bugfixes.
Mikescher - Configuration file and error messages.
Efreak - Automatic reloading & URL theme switching.
liamjack - Fixed vulnerability issue with themes.

Ports & Variations

SWMPjs - Efreak's nodejs version of SWMP.

Credits

SWMP also wouldn't be possible without the use of these awesome projects:

DigitalOcean:
https://m.do.co/c/b6c4ddc534a6
eZ Server Monitor Web:
https://github.com/shevabam/ezservermonitor-web
Gauge JS:
http://github.com/bernii/gauge.js
Tablesaw:
https://github.com/filamentgroup/tablesaw
Twitter Bootstrap:
https://github.com/twbs/bootstrap
Bootswatch:
https://github.com/thomaspark/bootswatch
jQuery:
https://github.com/jquery/jquery
Awesome Bootstrap Checkbox:
https://github.com/flatlogic/awesome-bootstrap-checkbox