This paper presents a centrality-based algorithm for optimal network coder placement in peer-to-peer content distribution that significantly reduces the number of coders needed while maintaining comparable performance to full network coding. The proposed method leverages insights from upstream coding to eliminate information duplication and utilizes centrality metrics to identify effective encoding locations in the network topology. Performance evaluations demonstrate the effectiveness of this approach in minimizing resource consumption while optimizing content distribution time.