Hacker News new | past | comments | ask | show | jobs | submit login

> let the user set their country.

Or use GeoIP to assume a default country, but allow the user to change their country or clear the country filter. MaxMind has a free offline GeoIP database that’s good.

If the developer wants to keep the full country list, they could move the GeoIP identified country to the top of the list and/or highlight it for easy access.




Implementing soon :)


Feel free to check the IPinfo IP to Country database: https://ipinfo.io/products/free-ip-database

It is pretty easy to use, and comes with full accuracy (daily updates).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: