DEV Community

Stephan Dilly
Stephan Dilly

Posted on

ip2country released

ip2country is a webservice based on rust for ip โžก๏ธ country ๐Ÿ‡ช๐Ÿ‡บ lookup. we make use of that heavily in our games: https://github.com/extrawurst/ip2country

(grab it as docker image ready to go or build from rust code)

Origin Story:

it's a mess if u are looking for such solutions, since so many try to lure you into paid stuff or slow-as-ass ones (i was using a go based one before) and even a rust based one I found on crates.io does something weird eating up 90mb of RAM (for ipv4) while this one is around 8mb for ipv4 and ipv6.

Top comments (0)