We describe a novel method for long distance quantum communication in realistic, lossy photonic channels. The method uses single emitters of light as intermediate nodes in the channel. One electronic spin and one nuclear spin degree of freedom associated with each emitter provide quantum memory and enable active error correction. We show that these two degrees of freedom, coupled via the contact hyperfine interaction, suffice to correct arbitrary errors, making our protocol robust to all realistic sources of decoherence. The method is particularly well suited for implementation using recently-developed solid-state nano-photonic devices.