Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
  • Loading branch information
Jianhui Zhao committed Mar 13, 2018
1 parent ee38f34 commit 97d04c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,18 @@ Save configuration and apply
/etc/init.d/rtty restart

# Usage
Use your web browser to access your server: http://your-server-host:5912, then click the connection button
Use your web browser to access your server: `http://your-server-host:5912`, then click the connection button

You can easily embed RTTY into your existing platform: http://your-server-host:5912?id=your-id
You can easily embed RTTY into your existing platform: `http://your-server-host:5912?id=your-id`

Automatic login: http://your-server:5912/?id=device-id&username=device-username&password=device-password
Automatic login: `http://your-server:5912/?id=device-id&username=device-username&password=device-password`

# Upload file and download file
## Upload file and download file
Open the context menu with the shortcut key: Ctrl+Shift+f

## Execute a command remote
`curl http://your-server:5912/cmd -d '{"devid":"test","cmd":"ls","username":"test","password":"123456"}'`

# Contributing
If you would like to help making [rtty](https://github.com/zhaojh329/rtty) better,
see the [CONTRIBUTING.md](https://github.com/zhaojh329/rtty/blob/master/CONTRIBUTING.md) file.
11 changes: 7 additions & 4 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,18 @@ rtty非常适合远程维护你的或者你公司的部署在全球各地的成
/etc/init.d/rtty restart

# 如何使用
使用你的Web浏览器访问你的服务器: http://your-server-host:5912,然后点击连接按钮。
使用你的Web浏览器访问你的服务器: `http://your-server-host:5912`,然后点击连接按钮。

你可以非常方便的将RTTY嵌入到你现有的平台: http://your-server-host:5912?id=your-id
你可以非常方便的将RTTY嵌入到你现有的平台: `http://your-server-host:5912?id=your-id`

自动登录: http://your-server:5912/?id=device-id&username=device-username&password=device-password
自动登录: `http://your-server:5912/?id=device-id&username=device-username&password=device-password`

# 上传文件和下载文件
## 上传文件和下载文件
使用快捷键打开菜单: Ctrl+Shift+f

## 远程执行命令
`curl http://your-server:5912/cmd -d '{"devid":"test","cmd":"ls","username":"test","password":"123456"}'`

# 贡献代码
如果你想帮助[rtty](https://github.com/zhaojh329/rtty)变得更好,请参考
[CONTRIBUTING_ZH.md](https://github.com/zhaojh329/rtty/blob/master/CONTRIBUTING_ZH.md)
Expand Down

0 comments on commit 97d04c2

Please sign in to comment.