Skip to content

[Enhancements] Migrating IP to Country database to IPinfo#30

Open
abdullahdevrel wants to merge 1 commit intolineofflight:mainfrom
abdullahdevrel:main
Open

[Enhancements] Migrating IP to Country database to IPinfo#30
abdullahdevrel wants to merge 1 commit intolineofflight:mainfrom
abdullahdevrel:main

Conversation

@abdullahdevrel
Copy link

Context

The existing IP-to-country database solution does not provide daily updates and has compromised accuracy. IPinfo's IP-to-country database offers full accuracy and is updated daily.

Although the current database is only updated biweekly, our project downloads the database daily.

The GeoLite2 Country, City, and ASN databases are updated twice weekly, every Tuesday and Friday.

Instead of the current setup, which involves unzipping the geolocation database, we can directly download and use IPinfo's MMDB database.

I have forked the repository and migrated the code references to IPinfo. The IPinfo free IP-to-country database can be used under the CC-BY-SA 4.0 license.

@kleper
Copy link

kleper commented May 17, 2024

I think you should approve this PR, can fix your problem with the outdated database.

@abdullahdevrel
Copy link
Author

Thank you @kleper. I have emailed the maintainer of the project as well.

@sndrgb
Copy link

sndrgb commented Dec 5, 2024

Is this project unmanteined?

@abdullahdevrel
Copy link
Author

I am not sure if my fork itself has been stale. If you take a look at the code, integrating our IP to Country database is not very complicated. For the update mechanism, we support direct download via a storage URI with only a token.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants