Skip to content

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

📦 Binary Releases

Pre-compiled binaries for Linux, Windows, and macOS are available on the Releases page.

🐹Using Go

You can install ipl directly using go install:

go install github.com/qrxnz/ipl@latest

🏗️ Build from Source

To build from source, you need to have Go installed.

git clone https://github.com/qrxnz/ipl.git
cd ipl
go build -o ipl .

Alternatively, if you have Task installed, you can use:

task build

❄️ Using Nix

  • Run without installing
nix run github:qrxnz/ipl
  • Add to a Nix Flake

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 ];
}
  • Install imperatively
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

 
 
 

Contributors