webssh

Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit 62e6f7746d593d0b321d2f8c47d803eed5217338
parent 67a2488fe63e131f0dfc0d06b51f641de563dddb
Author: Sheng <webmaster0115@gmail.com>
Date:   Sat, 18 May 2019 14:27:14 +0800

Updated README

Diffstat:
MREADME.md | 19+++++++++++++++++++
MREADME.rst | 24++++++++++++++++++++++++
2 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -98,6 +98,25 @@ wssh.reset_encoding(); wssh.send('ls -l'); ``` +### URL Arguments + +Spport passing arugments by url (hash or search) like following examples: + +Passing form data +```bash +http://localhost:8888/?hostname=xx&username=yy +``` + +Passing a terminal background color +```bash +http://localhost:8888/#bgcolor=green +``` + +Passing a user defined title +```bash +http://localhost:8888/?title=my-webssh-server +``` + ### Use Docker Start up the app diff --git a/README.rst b/README.rst @@ -103,6 +103,30 @@ Browser console // send a command to the server wssh.send('ls -l'); +URL Arguments +~~~~~~~~~~~~~ + +Spport passing arugments by url (hash or search) like following +examples: + +Passing form data + +.. code:: bash + + http://localhost:8888/?hostname=xx&username=yy + +Passing a terminal background color + +.. code:: bash + + http://localhost:8888/#bgcolor=green + +Passing a user defined title + +.. code:: bash + + http://localhost:8888/?title=my-webssh-server + Use Docker ~~~~~~~~~~