I built a simple Bitcoin Halving countdown. Here it is.

Yesterday I wanted to play around with my VPS and some code. So I built a quick Bitcoin Halving countdown. It's intentionally simple, with no clutter. Just the key info. Here is the link:

Halving.to

As of now we are 174,402 blocks away to the next halving. The clock uses a 10-minute average of time between blocks to calculated the approximate date and time of the next halving.

I can improve this naive calculation more once we are in the final difficulty period before the halving. Until then, any attempt to reduce the error is futile.