** svxmonitor is a NODEJS micro service providing JSON data from SVXLink **
- almost not templated, easily editable
- map location of transmitting OMs
- graphic statistics etc...
Prerequisites:
- nodejs (as recent as possible)
- npm (as recent as possible)
must be installed
cd /opt
git clone https://github.com/Avrahqedivra/svxmonitor.git
cd svxmonitor
to install needed packages :
npm install
then make a config.ts file
cd src
cp config_sample.txt config.ts
edit an adjust the port, ip address to match your server requirements:
edit config.ts (use an UTF-8 capable editor, vscode or notepad++ for exemple)
build the transpiled files with:
return to the svxmonitor main folder
npm run build
after build test with:
node ./dist/monitor.js
test with your browser on:
http://monitorip:port
/**
* gencode utility (crc16 based)
*/
if you decide to make your dashbaord private with a password, you'll need to:
- set config.__web_auth__ to true
- set config.__web_secret_key__ to "a new secret key"
- use gencode to compute a password from your login string
After the secret key has been set just do:
node ./dist/gencode.ts mylogin <enter>
if everyhting is ok, you'll get a string of 4 or 5 digits that will be your password (nothing is stored anywhere)