A bicycle lighting apparatus comprises a computer housing adapted to be mounted to a bicycle, a computer housed within the computer housing, and an integrated lighting device that is controlled by the computer.