Skip to content

hwchen/manx-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manx

manx is a wscat clone. It's a simple interface to websocket servers.

One of its features is that it saves the prompt, so that you can easily see the commands you're typing even if you are receiving a flood of data.

For those learning Rust and async, manx shows how async websockets can interface with sync stdin and stdout loops.

Windows should be supported (although currently untested, please sent in bug reports!)

Thanks especially to smol, async-tungstenite, tungstenite, and linefeed, which provided the building blocks for this app.

Install

Make sure you have Rust, then

cargo install manx

Usage

To connect to a ws server:

manx ws://echo.websocket.org

Options:

manx 0.4.0
Walther Chen <walther.chen@gmail.com>
Talk to websockets from cli

USAGE:
    manx [FLAGS] [OPTIONS] <URL>

FLAGS:
    -h, --help              Prints help information
        --show-ping-pong    Print when ping or pong received.
    -V, --version           Prints version information

OPTIONS:
        --cert <cert_path>    Specify a client SSL Certificate

ARGS:
    <URL>

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

wscat clone in rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages