frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: I made IP-to-Geo location data library for developers

https://ip2geo.framer.website/
6•bfzli•5h ago
I made this lib called Ip2Geo — it's a super-lightweight, type-safe library that lets you convert any IP into geolocation data. It's 100% free with unlimited uses—no catch. It works online only and runs on both the client and server.

Comments

dc396•4h ago
It's a bit ironic that the 'random' IP address you used in your demo (8.8.8.8) is anycast, which means that geographically, it is located at hundreds of sites all over the world.

You might want to expand on what you mean by "IP geolocation" and exactly how you are creating your mapping from IP to geographic location.

ggm•4h ago
They said they are scraping other sources. So it's the RIR data from whois, rdap or the delegated files, modulated through curated lists like maxmind, and collections from GEOFEED sources as defined in the rfc.

There are other models. I'd be surprised if they do any triangulation (for instance) because it's success rate in finding errors or misreporting in the above is low, unless you are Akamai and have 400+ points of BGP to get closest match from.

rideontime•4h ago
> It's 100% free with unlimited uses—no catch

This conflicts with the "for now" on the linked page. I would also recommend actually explaining how it works in the "How it works?" section, instead of hand-waving it away with "we convert it on our service and collaborate with other services." I also cannot find a privacy policy anywhere.

> Read more about the Ip2Geo at https://minilibs.com/ip2geo.

Also, this link on your NPM page simply redirects to a mostly-empty Github profile.

As currently presented, I do not find this service trustworthy.

LorenDB•4h ago
I can't wait until somebody invents a solution to prevent geolocation via IP. It's a pointless "feature" that has big privacy implications, and if you really need location or region information, we have much better tools for that.
ChocolateGod•3h ago
Not really possible with how internet routing works, routing tends to correspond with the layout of physical infrastructure.

Plus, your IP will always have at least a sovereign state due to the ASN associated.

theamk•3h ago
it's called "VPN"
tallytarik•4h ago
This looks similar to iplocate.io, which I’ve run since 2017. There are also plenty of others.

Free and unlimited is going to be a tough deal to maintain forever if it gets popular. Good luck!

Feel free to reach out if there’s anything I could help with

Mice use chemical cues such as odours to sense social hierarchy

https://www.crick.ac.uk/news/2025-05-19_mice-use-chemical-cues-such-as-odours-to-sense-social-hierarchy
1•gnabgib•1m ago•0 comments

Obesity and Efforts to Lose Weight (1992)

https://www.nejm.org/doi/10.1056/NEJM199212313272710
1•paulpauper•3m ago•0 comments

Fat 'remembering' past obesity drives yo-yo diet effect, say experts

https://www.theguardian.com/society/2024/nov/18/ability-fat-remember-obesity-drives-yo-yo-diet-effect
1•paulpauper•6m ago•1 comments

Has AI generated a new treatment for blindness?

https://twitter.com/sgrodriques/status/1924845624702431666
1•paulpauper•7m ago•0 comments

Chromaplane Unlocked: The Electromagnetic Synth You Must Try [video]

https://www.youtube.com/watch?v=oGWjp8XlNus
1•grugagag•8m ago•0 comments

Understanding How Violet Light Can Stop Myopia Progression

https://bme.gatech.edu/bme/news/understanding-how-violet-light-can-stop-myopia-progression
1•plun9•9m ago•0 comments

Apple Turnaround

https://hypercritical.co/2025/05/20/apple-turnaround
2•zdw•10m ago•1 comments

The One-Tree Website

https://ratfactor.com/cards/one-tree-website
1•zdw•12m ago•0 comments

Stop Calling Everything a Painkiller

https://www.0toreal.com/posts/stop-calling-everything-a-painkiller/
1•nullhabit•13m ago•0 comments

Unlocking hidden powers in Xtensa based Qualcomm ath10k WiFi chips

https://forum.defcon.org/node/245775
1•pabs3•14m ago•1 comments

Sokol: Cross-platform libraries for C, C++, and Wasm, written in C

https://github.com/floooh/sokol
1•lioeters•16m ago•0 comments

The US test-fired its most powerful laser

https://www.popsci.com/science/united-states-most-powerful-laser-zeus/
2•cnees•16m ago•0 comments

Show HN: TitleBridge - A FinalCut Workflow Plugin

https://bustin.tech/apps/titlebridge/
3•_morph3ous•22m ago•0 comments

Google rolls out Project Mariner, its web-browsing AI agent

https://techcrunch.com/2025/05/20/google-rolls-out-project-mariner-its-web-browsing-ai-agent/
2•terrytys•23m ago•0 comments

Karaoke in cars heralds the triumph of Chinese firms

https://www.theguardian.com/world/2025/may/20/sing-when-youre-winning-how-karaoke-heralds-the-triumph-of-chinese-carmakers
1•n1b0m•24m ago•1 comments

Measuring engineering success by impact, not velocity

https://stackoverflow.blog/2025/05/12/beyond-speed-measuring-engineering-success-by-impact-not-velocity/
2•ppjim•26m ago•0 comments

FrankenPHP 1.6

https://dunglas.dev/2025/05/frankenphps-new-features-thread-autoscaling-mostly-static-binaries-deb-and-rpm-packages-caddy-2-10/
1•sawirricardo•32m ago•0 comments

The size bias of text embeddings and its impact on search

https://jina.ai/news/on-the-size-bias-of-text-embeddings-and-its-impact-in-search/
1•softwaredoug•36m ago•0 comments

The Second AI Revolution

https://www.nide.ch/blog/ai-jobs
2•dotcoma•39m ago•0 comments

One spine of NVLink Fusion tech can 'move more traffic than the entire Internet'

https://www.pcgamer.com/hardware/nvidias-jen-hsun-huang-boasts-that-one-spine-of-its-new-nvlink-fusion-tech-can-move-more-traffic-than-the-entire-internet/
1•sonabinu•44m ago•0 comments

Local-first software movement: Taking apps offline

https://www.quantumrun.com/insight/local-first-software-movement-taking-apps-offline
3•ppjim•45m ago•0 comments

Questions about AI 2025

https://caseyhandmer.wordpress.com/2025/05/21/questions-about-ai-2025/
1•jk_tech•46m ago•0 comments

Model Merging in Pre-Training of Large Language Models

https://arxiv.org/abs/2505.12082
1•veryluckyxyz•47m ago•0 comments

Cars are just too expensive

3•Urbanisttidbits•49m ago•3 comments

Epic Games' Fortnite back up on Apple App Store in US after nearly 5 years

https://www.reuters.com/technology/epic-games-fortnite-back-up-apple-app-store-us-epic-gamestore-eu-2025-05-20/
9•spenvo•51m ago•1 comments

Chicago newspaper prints a summer reading list. The problem? Books don't exist

https://www.cbc.ca/news/world/chicago-sun-times-ai-book-list-1.7539016
4•pseudolus•52m ago•0 comments

Ask HN: Does vibe coding hurt good software engineers?

2•unclebucknasty•53m ago•1 comments

Rapidly Develop UIs in Angular

https://ui.angular-material.dev/home/
1•shhdharmen•53m ago•0 comments

In Latest EV Pullback, Ford to Share Battery Plant with Nissan

https://www.wsj.com/business/autos/ev-ford-nissan-battery-plant-lease-ef47542c
1•NN88•1h ago•0 comments

AWS Service Changes

https://aws.amazon.com/about-aws/whats-new/2025/05/aws-service-changes/
4•cherioo•1h ago•0 comments