Skip to content
/ ipl Public

A simple command-line tool for displaying local network interface information written in Go

License

Notifications You must be signed in to change notification settings

qrxnz/ipl

Repository files navigation

ipl

Go Workflow

Screenshot of ipl output

A simple command-line tool for displaying local network interface information

ipl quickly lists your network interfaces, along with their IPv4 addresses and subnet masks, in a clean, color-coded output.

🧰 Features

  • Clear Output: Displays interface name, IPv4 address, and mask in a single, readable line.
  • Color-Coded: Uses colors to distinguish between different parts of the output for better readability.
  • Cross-Platform: Works on Linux, Windows, and macOS.

📦 Installation

Build from source

To build the project, you need to have Go installed.

go build .

Alternatively, if you have just installed, you can simply run:

task build

Using Nix ❄️

  • Try it without installing:
nix run github:qrxnz/ipl
  • Installation:

Add input in your flake like:

{
 inputs = {
   ipl = {
     url = "github:qrxnz/ipl";
     inputs.nixpkgs.follows = "nixpkgs";
   };
 };
}

With the input added you can reference it directly:

{ inputs, system, ... }:
{
  # NixOS
  environment.systemPackages = [ inputs.ipl.packages.${pkgs.system}.default ];
  # home-manager
  home.packages = [ inputs.ipl.packages.${pkgs.system}.default ];
}

or

You can install this package imperatively with the following command:

nix profile install github:qrxnz/ipl

📖 Usage

Run the compiled binary from your terminal:

ipl

📜 License

This project is licensed under the MIT License.

About

A simple command-line tool for displaying local network interface information written in Go

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •