mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
79ee55a875683c6e693917f2c72c2a319449a120
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
xTTYD(中文)
Share your terminal over the web. Unlike ttyd, xTTYD consists of two parts of the client and the server. xTTYD can share the shell of your device based on the MAC address you specify.
Keep Watching for More Actions on This Space
Dependencies for Server side
Dependencies for Client side
How to use on OpenWRT
add new feed into "feeds.conf.default":
src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git
src-git xttyd https://github.com/zhaojh329/xttyd-feed.git
Install xttyd packages:
./scripts/feeds update libuwsc xttyd
./scripts/feeds install -a -p xttyd
Select package xttyd in menuconfig and compile new image.
Utilities --->
Terminal --->
<*> xttyd................................... Share your terminal over the web
Configuring the server parameter
uci set xttyd.@server[0].host='your server host'
uci set xttyd.@server[0].port='your server port'
uci commit
/etc/init.d/xttyd restart
Deploying the server side
Install dependencies
sudo apt install python3 python3-pip
sudo pip3 install aiohttp uvloop
clone code
git clone https://github.com/zhaojh329/xttyd.git
Manual run
cd xttyd/server && ./xttyd.py -p 5912
Install the automatic boot script
sudo ./install.sh
sudo /etc/init.d/xttyd start
Contributing
If you would like to help making xttyd better, see the CONTRIBUTING.md file.
Languages
C
96.1%
CMake
2.5%
Shell
1.4%
