Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.31 KB

readme.md

File metadata and controls

54 lines (41 loc) · 1.31 KB

SwagIP Build Status Python Flask

A simple way to get your public IP address and other connection related information

Examples of retrieving your public IP address from Linux/Unix CLI:

wget -qO - ip.swagger.pro
curl ip.swagger.pro
fetch -qo - ip.swagger.pro

Example of retrieving your public IP address from PowerShell 3+:

Invoke-RestMethod http://ip.swagger.pro

Authors

Installation

$ pip install -r requirements.txt
$ python app.py

Testing

$ py.test tests/

Docker

Docker is used to scale the application

$ docker build -t swagip .
$ docker run -p 0.0.0.0:80:8080 swagip

Screenshots

Browser Information:

Browser Information

Wget Commands:

Wget Commands

Curl Commands:

Curl Commands

Fetch Commands:

Fetch Commands

PowerShell Commands:

PowerShell Commands