wetty install - rex2864/rex2864.github.io GitHub Wiki

base system: debian 11

build environment

sudo apt-get install build-essential


sudo apt-get install python3 python3-pip

node install

wetty require node >= 14
in this article, install node 18.x LTS version.

curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo bash - && \
sudo apt-get install -y nodejs

if you want other version, check nodejs site


sudo npm install -g yarn


yarn global add wetty
~/.config/yarn/global/node_modules/.bin/wetty --help

run as a service daemon

sudo cp ~/.config/yarn/global/node_modules/wetty/conf/wetty.service  /etc/systemd/system/
sudo nano /etc/systemd/system/wetty.service
# change $HOME to /home/<username>
# if you want to access from other machine, change to
systemctl start wetty

open browser on http://ip_or_domain:3000/wetty

⚠️ **GitHub.com Fallback** ⚠️