regarding the mechanical installation, unless the rear wheel is the same dropout width as the front fork, you'll have to have someone cut your fork up and rebuild it into a wider one, or replace it with a fork that is wide enough to hold your rear wheel, if one even exists that can do so.
then you will need to ensure there are torque arms or clamps on teh dropouts to hold the motor axle securely. without them there can be a risk of the wheel ripping out of the fork, which could land you on your face sliding down the road.
he has a thread for the generator stuff
https://endless-sphere.com/forums/viewt ... 8#p1317118
i'm guessing this thread si only for hte mechanical of putting a rear in the front. If not the threads should get merged to keep the whole project in one thread so he gets all the right answers from those already helping him.