Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Integrate IPinfo's free IP to Country database #2804

Open
abdullahdevrel opened this issue Apr 19, 2024 · 0 comments
Open

Comments

@abdullahdevrel
Copy link

What feature do you want to see added?

Authme has some limitations around the current IP location provider's data that can be addressed by switching to IPinfo's free IP database. The main issue is that users are unable to configure the MaxMind account. If you switch to IPinfo's free IP to Country database, you can package the program with a default IPinfo access token that can readily download the database.

The database is licensed under CC-BY-SA 4.0, and with sharing attribution, you can allow users to download the database with just an IPinfo access token specific to the project. Moreover, the database comes with additional features:

  • Daily updates and full accuracy.
  • Comes in MMDB database format.
  • Location data granularity goes down to individual IP addresses
FIELD NAME EXAMPLE DATA TYPE DESCRIPTION
start_ip 217.220.0.0 TEXT Starting IP address of an IP address range
end_ip 217.223.255.255 TEXT Ending IP address of an IP address range
country IT TEXT ISO 3166 country code of the location
country_name Italy TEXT Name of the country
continent EU TEXT Continent code of the country
continent_name Europe TEXT Name of the continent

🔗 Documentation: https://ipinfo.io/developers/ip-to-country-database

🔗 Sample: https://github.com/ipinfo/sample-database/tree/main/IP%20to%20Country

Are there any alternatives?

No.

Anything else?

You can also check out the free IP to country ASN database if you'd like. The ASN metadata could help with the Antibot mechanism. Please let me know what you think. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant