I was thinking about how to generate electricity from magnets. This is obviously a basic drawing but why couldn't you run a setup like this to gain electricity.
The magnets push off each other due to their polar fields and spin around on a fixed axis (purple point)
This fixed point is a rod that is connected to a generator.
The green arrow shows the direction the "fan" spins.
I don't exactly know how to explain how it works because it is late at night but I drew a picture to help