Skip to content

VALER24/dvswitch_mode_switcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DVSwitch Mode Changer

Basic service to switch modes/talkgroups of a dvswitch server. Defualt webserver uses port 3000, you can change it in configs/config.yml. USRP support is also available.

Install Process:

sudo -s

apt update && apt upgrade && apt install git && apt install nodejs

cd /opt

git clone https://github.com/firealarmss/dvswitch_mode_switcher

cd dvswitch_mode_switcher

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"

[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

source ~/.bashrc

nvm install 18

nvm use 18

cp configs/config.example.yml configs/config.yml

cp configs/tg_alias.example.yml configs/tg_alias.yml

npm install yargs path

npm i

node index.js -c configs/config.yml

Systemd Support:

cd /opt/dvswitch_mode_switcher

cp debian/dvswitch_mode_switcher.service /etc/systemd/system/dvswitch_mode_switcher.service

systemctl daemon-reload

systemctl enable dvswitch_mode_switcher.service

systemctl start dvswitch_mode_switcher.service

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.5%
  • EJS 25.7%
  • CSS 6.8%