I'd like to string up cafe lights on my back porch, but there's no outlet or power source for them to plug into. The cafe lights wrap around the porch roof perimeter and end about 2 feet away from the porch light (see photo).
My question: is there a way to cut the male end of this string of cafe lights and, with the help of additional wiring and end caps, somehow splice/connect it to the porch light so it can be operated by the light switch that turns on/off the porch light? Or is there a better and safer way altogether to connect the cafe lights to a power source? For reference, here's a closeup of the porch light: