Chiral single-photon sources and integrated quantum-photonic chips