Micro-factory for self-assembled peptide nanostructures