Git Product home page Git Product logo

pingu's Introduction

golangci-lint release

🐧 pingu

ping command implementation in Go but with colorful output and pingu ascii art

Language:Go License:MIT Latest Release

Features

  • Colorful and fun output.
  • Cross-platform support: Windows, macOS, and Linux (also WSL)
  • It works with a single executable file, so it can be installed easily.
  • Support IPv4 and IPv6.

Usage

Simply specify the target host name or IP address in the first argument e.g. pingu github.com or pingu 13.114.40.48. You can change the number of transmissions by specifying the -c option.

Usage:
  pingu [OPTIONS] HOST

`ping` command but with pingu

Application Options:
  -c, --count=     Stop after <count> replies (default: 20)
  -P, --privilege  Enable privileged mode
  -V, --version    Show version

Help Options:
  -h, --help       Show this help message

Installation

Download executable binaries

You can download executable binaries from the latest release page.

Latest Release

Build from source

To build from source, clone this repository then run make build or go install. Developing on go1.18.3 linux/amd64.

Another way to install it if you have go in your machine just:

go install github.com/sheepla/pingu@latest

WSL support

To run on WSL, give CAP_NET_RAW capability with the following command and start it with the -P, --privilege option.

sudo setcap cap_net_raw=+ep /path/to/pingu
pingu -P github.com

c.f.

Capability - Arch Linux Wiki

LICENSE

MIT

Author

Sheepla

pingu's People

Contributors

arnitdo avatar haoqixu avatar harashun avatar iuhoay avatar johnmanjiro13 avatar kasheight avatar mattn avatar naoyukis avatar sheepla avatar yuseferi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.