Great tool!
Last time, the error was located in Beijing; this time, it was located in Shenzhen. It’s still not accurate, but it’s much more accurate than last time.
Will you open-source it? If so, could you explain how to deploy it to CF?
Why is the city shown by the lookup different from my actual location?
There are three common reasons: you’re using your carrier’s centralized gateway (the metropolitan-area network gateway often isn’t in your city); you have a proxy or VPN enabled, or are using a cloud service provider’s network node; or your network uses a shared address (CGNAT). In all three cases, the location shown is that of the egress router, not the physical location of your device—no IP lookup tool can determine the latter.
It won’t be open-sourced for now.