#country #ip #geo-ip #geo #ip-address

app countryip

Get a random IP address from a country

1 unstable release

0.1.0 Jan 12, 2023

#17 in #geo-ip

23 downloads per month

MIT license

17KB
103 lines

CountryIP


Getting Started

CountryIP is available on crates.io under the name countryip. Install it with cargo by running:

cargo install countryip

Alternatively if you don't have cargo installed or just want to manually, You can get the latest version of country-ip from the github actions artifacts

Usage

From the command line you can use

./countryip --country [two or three digit iso3166 code]

Dependencies

~14–30MB
~512K SLoC