how to make a bike powered generator?

i want to make a stationary bike that generates power for tvs game systems chargers etc

This question has been asked before. Instructables has a number of different versions. For example,

Keep in mind that unless you are an Olympic racer, this will only be suitable for low-power applications. But what you can get should be sufficient for a small TV or game system and is definitely sufficient for charging camera batteries.