Explore the world of peer-to-peer networking through WebRTC and JavaScript in this 32-minute conference talk from JSConf Budapest 2017. Delve into the challenges of web centralization and discover how emerging technologies can help return the internet to its decentralized roots. Learn about the building blocks and basic principles of decentralized networks using real-world examples, including WebRTC, Kademlia DHT, and BitTorrent. Examine the fundamentals of data channels, NAT traversal, STUN & TURN protocols, and various network topologies. Discuss the limitations of WebRTC, the complexities of distributed systems, and the role of economy and incentives in decentralized networks. Gain insights into how these technologies can be applied beyond file sharing to create a more secure and private internet experience.