vpnflag

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2020 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

VPNFlag

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

Linux 🐧 only for now.

/images/vpnflag.gif

Usage

Run the vpnflag binary.

You can also use 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

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package statik contains static assets.
Package statik contains static assets.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址