2018-01-11 23:32:48 +08:00
2018-01-11 19:32:02 +08:00
2018-01-11 23:32:48 +08:00
2018-01-11 22:03:01 +08:00
2017-05-29 15:04:38 +08:00
2018-01-11 19:32:02 +08:00
2018-01-11 19:32:02 +08:00
2018-01-11 19:32:02 +08:00
2018-01-11 19:32:02 +08:00
2018-01-11 23:17:33 +08:00
2018-01-11 23:17:33 +08:00
2018-01-11 19:32:02 +08:00

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

Use your browser to access your server

http://your-server-host:5912

Contributing

If you would like to help making xttyd better, see the CONTRIBUTING.md file.

S
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-02-27T09:20:37.234Z
Readme MIT
9.7 MiB
Languages
C 96.1%
CMake 2.5%
Shell 1.4%