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

https://github.com/rubiojr/vpnflag

A little tool to display VPN country exit flag and "network speed"
https://github.com/rubiojr/vpnflag

Last synced: 3 months ago
JSON representation

A little tool to display VPN country exit flag and "network speed"

Awesome Lists containing this project

README

        

# VPNFlag

A little tool to display VPN country exit flag and "network speed".

Linux 🐧 only for now.

![/images/vpnflag.gif](images/vpnflag.gif)

## Usage

Run the `vpnflag` binary.

You can also use [script/install-service](/script/install-service) to create and start vpnflag via systemd as a user. This requires the `vpnflag` binary to be copied to `/usr/local/bin` first.

**Icon legend**

💀 Network unreachable.

🇪🇸 The country flag indicates the exit point, i.e. your "public" IP address.

🔴 Network speed test issues.

## Building/installing

Binaries are available in https://github.com/rubiojr/vpnflag/releases.

VPNFlag relies on https://github.com/getlantern/systray so some dependencies must be satisfied first. See their repository for instructions.

Run `go build` after satisfying deps.

## Notes

Measured network speed is based on the time it takes to make an HTTP GET request to https://api.github.com/zen. While not the best or most comprehensive way to measure "network speed", it's a good enough indication of the network performance when making simple HTTP requests, i.e. browsing the web.

## GeoIP database included

This tool includes IP2Location LITE data available from [https://lite.ip2location.com](https://lite.ip2location.com).