Live data from Hacker News

Peerweb: Decentralized website hosting via WebTorrent

peerweb.lol

91–100 of 137 posts

Re: Peerweb: Decentralized website hosting via WebTorrent

#91

Every time I try these they never work, including this one. I’m not sure what the value prop is over just using a torrent client? Maybe when they’re less buggy they’ll become a thing.

If it actually worked i could certainly see the value prop of not making users download a separate program. Generally downloading a separate program is a pretty big ask.

Re: Peerweb: Decentralized website hosting via WebTorrent

#92
post #67

I wonder if these colors are a kind of a watermark that are hardcoded as system instructions. Almost all slopware made using claude have the same color palette. So much for a random token generator to be this consistent

Yep, and I refuse to use sites that look like this. Lovable built frontend/landing pages have a similar feel. Instant lost of trust and desire to try it out.

Its interesting - AI has a certain style. You can see it in pictures and even text content. It does instantly get my guard up.

Re: Peerweb: Decentralized website hosting via WebTorrent

#94
> Enhanced security with DOMPurify integration!

> XSS Protection - All HTML sanitized with DOMPurify > Malicious Code Removal - Dangerous tags and attributes filtered > Sandboxed Execution - Sites run in isolated iframe environment

I don't think that super makes sense. You probably just want the iframe sandbox and not remove all js. Or ideally put the torrent hash as the subdomain to use same origin policy.

Re: Peerweb: Decentralized website hosting via WebTorrent

#95

This is cool - I actually worked on something similar way back in the day: https://github.com/tom-james-watson/wtp-ext . It avoided the need to have any kind of intermediary website entirely. The cool thing was it worked at the browser level using experimental libdweb support, though that has unfortunately since been abandoned. You could literally load URLs like wtp://tomjwatson.com/blog directly in your browser.

What were your plans for advertising website updates? Classic RSS feed or something else?

Re: Peerweb: Decentralized website hosting via WebTorrent

#96

This is cool - I actually worked on something similar way back in the day: https://github.com/tom-james-watson/wtp-ext . It avoided the need to have any kind of intermediary website entirely. The cool thing was it worked at the browser level using experimental libdweb support, though that has unfortunately since been abandoned. You could literally load URLs like wtp://tomjwatson.com/blog directly in your browser.

What were your plans for advertising website updates? Classic RSS feed or something else?

At the time there was a bit of momentum behind the idea of mutable torrents: https://torrentfreak.com/mutable-torrents-proposal-makes-bit...

Re: Peerweb: Decentralized website hosting via WebTorrent

#97
post #56

Cool. Some people complained about broken demos, I uploaded the mdwiki.info [1] website unaltered and seems to work fine [0]. MDwiki is a single .html file that fetches custom markdown via ajax relative to the html file and renders it via Javascript. [0]: https://peerweb.lol/?orc=b549f37bb4519d1abd2952483610b8078e6... [1]: https://dynalon.github.io/mdwiki/

Why is it called MDwiki? It's clearly not a wiki.

The idea is to host it on github, and people send changes to the content via pull requests (vs. editing like in wikipedia). There is no backend, just plain files.

Re: Peerweb: Decentralized website hosting via WebTorrent

#99
I'm glad to see this was not unexpectedly fast to load. Would not want to upset those distributed expectations! I wonder if there's a business model in selling speed on a robust network that is on average too slow. Is there anyway to incentivize more nodes through micropayments distributed from people who pay for their site to be served faster?

Ultimately I guess the distributed web is felled by economics thus far.

Re: Peerweb: Decentralized website hosting via WebTorrent

#100
post #81

Earlier quoted context omitted.

I think it is very difficult (and dangerous to the host) to serve user-uploaded videos at scale, particularly from a moderation standpoint. The problem is even worse if everyone is anonymous. There is a reason YouTube has such a monopoly on personal video hosting. Maybe developments in AI moderation will make it more palatable in the future.

The "host" is the user in this case. Every user that watches the video, shares the video. Given that discovery doesn't appear to be a part of this platform, any links would undoubtedly be shared "peer-to-peer" as well, so if you aren't looking at illegal things and don't have friends sending you illegal things to watch, it's perfectly safe.

webtorrent!
Post reply on HN