-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57993ff
commit 587d710
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,38 @@ | ||
# WebSockify-rs | ||
|
||
Rust implementation of [WebSockify](https://github.com/novnc/websockify). | ||
noVNC files are embedded in websockify-rs for easy use. | ||
|
||
## Usage | ||
|
||
``` | ||
WebSockify-rs 0.1.0 | ||
Okamura Yasunobu | ||
Convert TCP/Unix doamin socket connection to WebSocket | ||
USAGE: | ||
websockify-rs [FLAGS] [OPTIONS] <upstream> <listen> | ||
FLAGS: | ||
-h, --help Prints help information | ||
-l, --lisnten-unix Listen path is unix domain socket | ||
-u, --upstream-unix Upstream is unix domain socket | ||
-V, --version Prints version information | ||
-v, --verbose | ||
OPTIONS: | ||
-p, --prefix <prefix> server prefix | ||
ARGS: | ||
<upstream> Upstream host:port | ||
<listen> Listen host:port | ||
``` | ||
|
||
## Example | ||
|
||
``` | ||
$ vncserver | ||
$ ./websockify-rs localhost:5901 127.0.0.1:8080 | ||
``` | ||
|
||
Access to [http://127.0.0.1/static/vnc.html](http://127.0.0.1/static/vnc.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters