>>25646029
But you can't easily mount such a flashlight to a bike without designing and 3d-printing some case first, and then you're in the territory where you could also just make that entire thing from scratch.
Some LED, some batteries, and some current-limiting cicuit made up of a few resistors, a inductor, a bunch of MOSFETs and maybe a mosfet driver wouldn't be that expensive.