Someone built an automatic lightning photographer with a Raspberry Pi, and it actually works

It's really easy to make yourself.