Skip to content
/ jaguar Public

๐Ÿ† CLI tool for testing socket connections

License

Notifications You must be signed in to change notification settings

leozz37/jaguar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Jaguar ๐Ÿ†

CodeFactor Codacy Badge Build Documentation License: MIT

Jaguar is a simple tool for working with socket connections. You can send, listen and ping a port using your terminal.

Installing

You can install using homebrew:

$ brew tap leozz37/jaguar

$ brew install jaguar

Running

You can use the --help command to check all the options:

Argument Description Required Default
-l, --listen Listen to a socket port No False
-s, --send Send payload to a socket port No False
-a, --alive Ping a port No True
-p, --port Port to be interacted with Yes -
-h, --hostname Hostname to be interacted with No 127.0.0.1
-d, --data Payload to be sent No -

You can run it with cargo to install all its dependencies:

$ jaguar -p 3000

Listen

To listen to a socket connection, run the following command:

$ jaguar -l -p 3000

To listen to a custom hostname, use the -h flag:

$ jaguar -l -p 3000 -h "127.0.0.1"

Send

To send a payload to a socket connection, run the following command:

$ jaguar -s -p 3000 -d "Hello World"

To listen to a custom hostname, use the -h flag:

$ jaguar -s -p 3000 -d "Hello World" -h "127.0.0.1"

Ping

To ping a socket connection, run the following command:

$ jaguar -p 3000

The -a flag is optional, ping is the default action of Jaguar.

About

Made with โค๏ธ by leozz37!

About

๐Ÿ† CLI tool for testing socket connections

Resources

License

Stars

Watchers

Forks

Languages