Files
archived-rtty/README_ZH.md
T
Jianhui Zhao 23ebfa69aa Add gif
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-12 19:13:46 +08:00

2.1 KiB
Executable File

rtty

通过Web浏览器访问你的终端。项目名称里面的“r”是指“反向代理”或者“远程”。它由客户端和服务端组成。 你可以根据MAC地址通过Web浏览器访问你的任意一台终端。

请保持关注以获取最新的项目动态

服务端依赖

客户端依赖

如何在OpenWRT中使用

add new feed into "feeds.conf.default":

src-git libuwsc https://github.com/zhaojh329/libuwsc-feed.git
src-git rtty https://github.com/zhaojh329/rtty-feed.git

Install rtty packages:

./scripts/feeds update libuwsc rtty
./scripts/feeds install -a -p rtty

Select package rtty in menuconfig and compile new image.

Utilities  --->
    Terminal  --->
        <*> rtty................................... Share your terminal over the web

配置服务器参数

uci set rtty.@server[0].host='your server host'
uci set rtty.@server[0].port='your server port'
uci commit
/etc/init.d/rtty restart

部署服务端

安装依赖

sudo apt install python3 python3-pip
sudo pip3 install aiohttp uvloop

克隆代码

git clone https://github.com/zhaojh329/rtty.git

手动运行

cd rtty/server && ./rtty.py -p 5912

安装自启动脚本,后台运行

sudo ./install.sh
sudo /etc/init.d/rtty start

如何使用

使用你的Web浏览器访问你的服务器,然后输入你要访问的终端的MAC地址,然后点击连接按钮。

http://your-server-host:5912

贡献代码

如果你想帮助rtty变得更好,请参考 CONTRIBUTING_ZH.md。

技术交流

QQ群:153530783