Charging NiMH batteries with Solar Panel?

Thanks, I have run this search as well

  1. I saw one mention that you only need a diode I believe but there were no exact specs - pardon my ignorance with electronics.
  2. Wondering if anyone here has built something similar specifically for 3xAA batteries and 5v solar panel and could share the details