We describe an undergraduate course where physics students are asked to conceive an outreach project of their own. The course alternates between the project conception and teachings about pedagogy and outreach, and ends in a public show. We describe its practical implementation and benefits. Through a student survey and an analysis of their projects, we discuss the merits and flaws of this learning-by-doing teaching approach for physics.