Thanks to visit codestin.com
Credit goes to github.com

Skip to content

oleflb/pubip-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PUBIP-CLI tool

If you use minecrafts "open to lan" feature, this tool automatically determines your public IP address as well as the port and lays it into the system clipboard so that you can easily share the address with your friends.

How to use PUBIP-CLI?

Run pubip and your ipv4 will magically appear in your clipboard

Dependencies

pubip uses

Installing (Linux)

  1. Choose a location, for example

    $ cd /opt

  2. Clone the repo

    $ git clone https://github.com/okiwi6/pubip-cli.git

  3. Enter the repo

    $ cd pubip-cli

  4. Build the tool using cargo (if you don't have the rust toolchain installed, do so first)

    $ cargo build --release

  5. If you want to, create a symlink so you can use the tool from the command line

    $ sudo ln -s /opt/pubip-cli/target/release/pubip /usr/local/bin/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages