[Feature Request] Integrate IPinfo's free IP to Country database
abdullahdevrel opened this issue · 0 comments
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!