Well, there was this successful kickstarter:
https://www.kickstarter.com/projects/527051507/hexbright-an-open-source-light
It was close to something I’d actually want, but a bit too large and spendy. Programmable tail cap switch and accelerometer (just because he could).