#geo-ip #country #ip

app countryip

Get a random IP address from a country

1 unstable release

0.1.0 Jan 12, 2023

#14 in #geo-ip

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

~13–27MB
~466K SLoC