#country #ip #geoip #geo

app countryip

Get a random IP address from a country

1 unstable release

0.1.0 Jan 12, 2023

#1153 in Command line utilities

MIT license

103 lines


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


From the command line you can use

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


~412K SLoC