Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 2.01 KB

README.md

File metadata and controls

75 lines (50 loc) · 2.01 KB

yip

Tiniest server which responds with requester IPv4 address

Why

⬆️ Back to Top

This server is the counter part to https://github.com/kevingimbel/mip.

It responds with the callers' IP address on request. That's it.

Usage

⬆️ Back to Top

Cargo

Run the server with cargo run, then connect to it on port 8111.

Binary

Build the binary for your system with cargo.

$ cargo build --release

Then copy the binary from target/release/yip to some place in your $PATH. Afterwards the server can be started by running yip.

$ yip

Specify custom port

By default port 8111 is used. A different port can be set with the environment variable PORT.

$ PORT=8080 yip

Contributing

⬆️ Back to Top

We love and welcome every form of contribution!

Where to start?

Here are some good places to start:

See open issues.

Code of Conduct

⬆️ Back to Top

You are expected to follow our code of conduct when interacting with the project via issues, pull requests or in any other form. Many thanks to the awesome contributor covenant initiative!

License

⬆️ Back to Top

GNU AFFERO GENERAL PUBLIC LICENSE 3, see LICENSE file.