An Antd HTTP/HTTPS server's plugin that acts as a bridge between a VNC server and web applications
Go to file
DanyLE c860d23b21
Some checks reported errors
gitea-sync/antd-wvnc-plugin/pipeline/head Something is wrong with the build of this commit
dont close websocket after receiving close frame
2022-08-18 21:22:07 +02:00
dist improvement code 2021-01-02 20:12:51 +01:00
test move wasm to new wasm.js repository 2018-09-22 14:37:23 +02:00
.gitignore use autotool 2019-11-13 18:01:14 +01:00
a2d8beecfdb082bc4a84b5bf8114198d9b1e3eb9.gif Add files via upload 2018-10-13 18:30:29 +02:00
configure.ac Updates: 2020-12-29 20:30:16 +01:00
Jenkinsfile Update Jenkinsfile 2022-08-17 19:49:24 +02:00
Makefile.am use autotool 2019-11-13 18:01:14 +01:00
README.md Update README.md 2022-08-17 19:36:49 +02:00
wvnc.c dont close websocket after receiving close frame 2022-08-18 21:22:07 +02:00

antd-wvnc-plugin

An Antd HTTP/HTTPS server's 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 to communicate with the VNC server using the plugin.

To speed up the data transmission, WVNC uses libjpeg for image compression.

Build from source

As WVNC is an Antd's plugin, the server need to be pre-installed:

build dep

  • git
  • make
  • build-essential
  • ant-http (libantd.so)

Plugin Dependencies

  • libjpeg-turbo
  • libvncserver-dev

build

When all dependencies are installed, the build can be done with a few single command lines:

# replace x.x.x by a version number
wget -O- https://get.iohub.dev/antd_plugin | bash -s "wvnc-x.x.x"

# or from the distribution tarball
tar xvzf wvnc-x.x.x.tar.gz
cd wvnc-x.x.x
./configure --prefix=/opt/www --enable-debug=yes
make
sudo make install

Run

To run the Antd server with the wvnc plugin:

/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 to provide web based VNC client

Generate distribution

libtoolize
aclocal
autoconf
automake --add-missing
make distcheck