by TacticalCoder · 2y ago · 0 comments
I'll search online but if a fellow HNer runs it offline, I'm all ears...
P.S: I've got Gbit/s FTTH as well as servers in datacenters so downloading tens of gigabytes ain't an issue
(1gbps is 450GB/hour, useful for estimating things)
https://github.com/lorenz/hibp-cached
It downloads and continually updates from the upstream database while serving the identical API. On a fast link it can download the entire thing in a few hours.
It just uses a giant BoltDB file to store compressed chunks.