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

"latest" URL of DB-IP database #38

Open
MaurUppi opened this issue Jan 5, 2024 · 3 comments
Open

"latest" URL of DB-IP database #38

MaurUppi opened this issue Jan 5, 2024 · 3 comments

Comments

@MaurUppi
Copy link

MaurUppi commented Jan 5, 2024

Alternative Providers
DB-IP.com: lite databases seem to work but setting up auto-update for them is not practical, as there's no "latest" URL.

Downloader for DB-IP.com Databases
develop by me.

dbip-asn-lite.csv.gz
dbip-asn-lite.csv.gz.sha256sum
dbip-asn-lite.mmdb.gz
dbip-asn-lite.mmdb.gz.sha256sum
dbip-city-lite.csv.gz
dbip-city-lite.csv.gz.sha256sum
dbip-city-lite.mmdb.gz
dbip-city-lite.mmdb.gz.sha256sum
dbip-country-lite.csv.gz
dbip-country-lite.csv.gz.sha256sum
dbip-country-lite.mmdb.gz
dbip-country-lite.mmdb.gz.sha256sum

@g-andrade
Copy link
Owner

g-andrade commented Jan 16, 2024

Thanks for mentioning your project, it looks cool! I wonder if it goes against DB-IP's terms of service (or even GitHub's)? It would be important to clear that up before adding any mention of in locus - and even then, with the caveat that it's not an official source.

@MaurUppi
Copy link
Author

MaurUppi commented Jan 17, 2024

Thanks for mentioning your project, it looks cool! I wonder if it goes against DB-IP's terms of service (or even GitHub's)?

I don't think it is either against DB-IP's terms of service or GitHub (what reason made you think it's relevant with them?)
the key is you MUST follow what they asked you to do according to DB-IP's terms of service. copied below.

It would be important to clear that up before adding any mention of in locus - and even then, with the caveat that it's not an official source.

Agreed with you about it's not an official source. in terms of the download link of the files.

The free IP to Country Lite database by DB-IP is licensed under a Creative Commons Attribution 4.0 International License

You are free to use this IP to Country Lite database in your application, provided you give attribution to DB-IP.com for the data.

In the case of a web application, you must include a link back to DB-IP.com on pages that display or use results from the database. You may do it by pasting the HTML code snippet below into your code :

IP Geolocation by DB-IP

@g-andrade
Copy link
Owner

I don't think it is either against DB-IP's terms of service or GitHub (what reason made you think it's relevant with them?)

I don’t know friend, I assume commercial enterprises have their best interests at heart, no judgement about it - just practicality. Wouldn’t want to get DMCA’d two years from now for facilitating illegal distribution of intellectual property or something like that. locus is something I do for fun and I’d rather keep lawyers at bay.

That having been said (and I’m sorry if that came across in an unfriendly tone): I’ll review the relevant terms of service when I find the chance. Your project is ingenious and a clever way of improving the developer experience of making use of DB-IP databases. Thanks for pointing me to it!

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

No branches or pull requests

2 participants