1
0
mirror of https://github.com/lxsang/antd-tunnel-plugin synced 2024-12-27 02:18:20 +01:00
Go to file
2020-08-03 00:54:08 +02:00
bst.c fist draft version 2020-08-03 00:54:08 +02:00
bst.h fist draft version 2020-08-03 00:54:08 +02:00
configure.ac initial comit 2020-08-02 18:49:03 +02:00
Makefile.am fist draft version 2020-08-03 00:54:08 +02:00
README.md initial comit 2020-08-02 18:49:03 +02:00
tunnel.c fist draft version 2020-08-03 00:54:08 +02:00

antd-wterm-plugin

wterm is an antd plugin providing the Terminal gateway to the web using websocket.

Build from source

As wterm is an Antd's plugin, the server must be pre-installed

build dep

  • git
  • make
  • build-essential

build

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

mkdir antd
cd antd
# replace x.x.x by a version number
wget -O- https://get.bitdojo.dev/antd_plugin | bash -s "wterm-x.x.x"

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

Run

To run the Antd server with the wterm plugin:

/path/to/your/build/antd

Web applications can be put on /path/to/your/build/htdocs, the web socket to wterm is available at:

ws://your_host:your_port/wterm

This websocket address can be used with xterm.js to provide web based termnial access

Generate distribution

libtoolize
aclocal
autoconf
automake --add-missing
make distcheck