An open API service indexing awesome lists of open source software.

https://github.com/bntzio/cliip

Get your ip info with a single cli command 💻
https://github.com/bntzio/cliip

cli cli-app ip ip-address

Last synced: 6 months ago
JSON representation

Get your ip info with a single cli command 💻

Awesome Lists containing this project

README

          

cliip

Get your ip info with a single cli command 💻

[![Build Status](https://travis-ci.org/bntzio/cliip.svg?branch=master)](https://travis-ci.org/bntzio/cliip)
[![npm](https://img.shields.io/npm/v/cliip.svg)](https://www.npmjs.com/package/cliip)
[![npm](https://img.shields.io/npm/l/cliip.svg)](https://github.com/bntzio/cliip/blob/master/license)

## What is cliip?
Cliip (shorthand for cli-ip) is the fastest way to know your public ip address directly from the command line interface.

Cliip uses the [ipinfo](http://ipinfo.io/) api to get the ip information.

## Requirements
* Node version >=6

## Install
`npm install --global cliip`

## Usage
Just type `cliip` in your terminal and voila! 🎊

## Demo
![](cliip.gif)

## Commands
Some commands include:

* `cliip country` - get current ip country
* `cliip city` - get current ip city
* `cliip hostname` - get current ip hostname

You can also chain arguments! 😄

`cliip country city hostname`

Type `cliip --help` to see all the available commands.

## License
MIT © [Enrique Benitez](https://bntz.io)