mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2025-03-12 10:52:48 +01:00
Update README.md
This commit is contained in:
parent
1ddab03c06
commit
d5833aa7af
42
README.md
42
README.md
@ -1,17 +1,49 @@
|
|||||||
# antd-wvnc-plugin
|
# antd-wvnc-plugin
|
||||||
|
|
||||||
An [Antd HTTP/HTTPS server's](https://github.com/lxsang/ant-http) plugin that acts as a bridge between a VNC server and web applications. It allows web application to communicate with VNC server using web socket via a predefined protocol and message format.
|
An [Antd HTTP/HTTPS server's](https://github.com/lxsang/ant-http) plugin that acts as a bridge between a VNC server and web applications. It allows web application to communicate with VNC server using web socket via a predefined protocol and message format. Web application can use my dedicate javascript library called [**wvnc.js**](https://github.com/lxsang/wvnc.js) to communicate with the VNC server using the plugin.
|
||||||
|
|
||||||
To speed up the data transmission, **WVNC** uses **libjpeg** and **zlib** for data compression.
|
To speed up the data transmission, **WVNC** uses **libjpeg** and **zlib** for data compression.
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
A demo will soon be available
|
A demo will soon be available
|
||||||
|
|
||||||
## Dependencies
|
## Build from source
|
||||||
* ANTD: As **WVNC** is an **Antd** plugin, it need to be built using the server build system
|
ANTD: As **WVNC** is an **Antd** plugin, it need to be built along with the server. This require the following application/libraries to be pre installed:
|
||||||
|
|
||||||
|
### build dep
|
||||||
|
* git
|
||||||
|
* make
|
||||||
|
* build-essential
|
||||||
|
|
||||||
|
### server dependencies
|
||||||
|
* libssl-dev
|
||||||
|
* libsqlite3-dev
|
||||||
|
|
||||||
|
### Plugin Dependencies
|
||||||
* Zlib
|
* Zlib
|
||||||
* libjpeg-turbo
|
* libjpeg-turbo
|
||||||
|
* libvncserver-dev
|
||||||
|
|
||||||
## Build
|
### build
|
||||||
|
When all dependencies are isntalled, the build can be done with a few single command lines:
|
||||||
|
|
||||||
A build script will soon be available
|
```bash
|
||||||
|
mkdir antd
|
||||||
|
cd antd
|
||||||
|
wget -O - https://apps.lxsang.me/script/antd | bash -s "wvnc"
|
||||||
|
```
|
||||||
|
The script will ask you where you want to put the binaries (should be an absolute path, otherwise the build will fail) and the default HTTP port for the server config.
|
||||||
|
|
||||||
|
## Run
|
||||||
|
To run the Antd server with the **wvnc** plugin:
|
||||||
|
```sh
|
||||||
|
/path/to/your/build/antd
|
||||||
|
```
|
||||||
|
|
||||||
|
Web applications can be put on **/path/to/your/build/htdocs**, the web socket to **wvnc** is available at:
|
||||||
|
```
|
||||||
|
ws://your_host:your_port/wvnc
|
||||||
|
```
|
||||||
|
This websocket address can be used with my client side javascript library [**wvnc.js**](https://github.com/lxsang/wvnc.js) to develop web based VNC client
|
||||||
|
|
||||||
|
``
|
||||||
|
Loading…
x
Reference in New Issue
Block a user