A hub generator for a bicycle having a hub shaft, a hub body, an electricity
generating
mechanism, a wiring unit, a wiring passage, and a wiring draw-out part is provided.
Both ends of the hub shaft are adapted to be mounted in a non-rotational manner
to a frame of the bicycle using first and second nuts. The wiring unit is connected
to the electricity generating mechanism and configured to be connected to an external
device. The wiring passage is formed inside the hub shaft and extends from the
electricity generating mechanism to the first shaft end of the hub shaft such that
the wiring unit can be drawn out from the first shaft end. The wiring draw-out
part is configured to be mounted to the first nut at the first shaft end and guide
the wiring unit from the first shaft end to the outside.