Back Original

Peerweb: Decentralized website hosting via WebTorrent

๐Ÿค” What is PeerWeb?

PeerWeb is a revolutionary way to host and share websites using WebTorrent technology. Instead of relying on centralized servers, websites are distributed across a peer-to-peer network, making them censorship-resistant and always available. ๐ŸŒโœจ

๐Ÿ“ค Quick Upload

๐Ÿ“

Drag & Drop Your Website

Drop a folder with your website files

๐Ÿ“š How to Use PeerWeb

๐ŸŽจ Create your website - Build a static website with HTML, CSS, JavaScript, and assets

๐Ÿ“ค Upload via drag & drop - Simply drag your website folder to the upload area above

๐Ÿ”— Share the link - Your site gets a unique PeerWeb link that works anywhere

๐ŸŒ Keep hosting - Leave this tab open or use our desktop client for permanent hosting

๐Ÿ’ก Load Existing Site

To load a website from a torrent hash, enter it below:

๐ŸŽฏ Just the hash! PeerWeb automatically adds the magnet link prefix and trackers.

๐Ÿงช Demos

Functionality test page:

๐Ÿ› Debug Mode

For developers and troubleshooting, add &debug=true to see detailed progress:

https://peerweb.lol?orc=ABC123DEF456...&debug=true

๐Ÿš€ Advanced Options

๐Ÿ’พ Smart Caching

PeerWeb caches visited sites for lightning-fast loading! ๐Ÿš€

๐Ÿƒโ€โ™‚๏ธ Instant Loading - Cached sites load immediately

๐Ÿ’ฝ IndexedDB Storage - Persistent across browser sessions

๐Ÿงน Auto Cleanup - Old cache expires after 7 days

๐Ÿ”’ Secure Storage - Only cached after DOMPurify sanitization

๐Ÿ“‹ Requirements for PeerWeb Sites

๐Ÿ“„ Must contain an index.html file (in root or subfolder)

๐Ÿ”— All resources should use relative paths

โšก Only static content (HTML, CSS, JS, images, fonts, etc.)

๐Ÿ”’ Files are served in a sandboxed environment for security

๐Ÿ“ฑ Responsive design recommended for best experience

๐Ÿงน Content is automatically sanitized for security

โœจ Benefits

๐Ÿšซ Censorship Resistant - No central point of failure

๐Ÿ’ฐ Cost Effective - No hosting fees ever

๐ŸŒ Global Distribution - Automatically distributed worldwide

๐Ÿ“ฑ Always Available - Works as long as peers are online

๐Ÿ”’ Secure - Sandboxed execution with XSS protection

๐Ÿ“ˆ Real-time Progress - See download progress and peer statistics

โšก Fast Loading - Smart caching for instant repeat visits

๐ŸŽฏ Simple URLs - Just add the torrent hash to any PeerWeb site

๐Ÿ’พ Offline Ready - Cached sites work without internet