Heterojunctions composed of single p-type CdS nanoribbons (NRs) and n-type silicon (Si) were successfully fabricated and can be applied as fast-speed self-driven visible photodetectors.