Exactly what the title says.
A generator that will most likely be placed in the centre of your village that runs on coal or some other form of power that you keep fueled like your village bell. It provides power for things like the streetlights in boston. This leaves room for things like massive darkness villages equipped with constant light. Another way for streetlights to work could be the same way as oil candles in that they burn very, very slowly.