Skip to content

HsuJv/axum-websockify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axum-websockify

A simple implement of websockify using axum

Usage

$ ./target/release/axum-websockify  --help
axum_websockify 0.1.0
Jovi Hsu <[email protected]>
A simple websockify implement using axum

USAGE:
    axum-websockify [FLAGS] [OPTIONS] <src_addr> <dst_addr> --web <web>

FLAGS:
    -d, --debug      Sets log_level to debug
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --cert <cert>              SSL certificate file
        --key <key>                SSL key file
    -l, --log_level <log_level>    One of (error, warn[default], info, debug, trace) Note this value will overwrite -d
                                   settings
        --web <web>                Serve files from <web>

ARGS:
    <src_addr>    [source_addr:]source_port
    <dst_addr>    target_addr:target_port
  • For convenience, the website from noVNC was embeded to generate a simple POC
  • Test:
$ vncserver
$ tar xf noVnc.tar
$ ./target/release/axum-websockify --web $PWD/noVnc 0.0.0.0:8080 127.0.0.1:5900

About

A simple implement of websockify using axum

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages