Using spare parts and an old LED bike light, the author built a self powered light. Using harddrive magnets, coil from an old relay, and the rear wheel for the generator. I have seen this build before. But not so well down with free parts.
http://www.instructables.com/id/Magnetic-induction-safety-bike-lights-Nearly-invis-1/