TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Decentralized, Mutable, Serverless Torrent Swarm Websites

433 pointsby publiushover 3 years ago

34 comments

publiushover 3 years ago
This is a project I&#x27;ve been working on to create decentralized, peer to peer, &quot;serverless&quot; websites using several technologies including webtorrent, dmt (mutable torrent BEP-46), and handshake decentralized domains.<p>You can create either an immutable (uneditable) torrent site, or you can create a ed25519 keypair and create a mutable (updatable) torrent site.<p>This is great for blogging, whistle blowing, and other things. It also scales well since torrent technology is great although it had previous been pigeonholed to other use cases.<p>Please give it a try and let me know your thoughts! I don&#x27;t take any credit for this since I just weaved the great technologies others already made together!
neimanover 3 years ago
This is a fantastic work!<p>The best part of Federalist is reading and displaying the websites from BitTorrent using BEP-46. The Handshake part is less impressive for me personally, since it basically reads Handshake values from a service (query.hdns.io&#x2F;dns-query).<p>If Federalist adds a Handshake daemon, it will be much more decentralized, but at the same time much heavier on resources.<p>For historical perspective, decentralized websites (or p2p websites) are here since like 20 years. Here&#x27;s a super concise list of what I recall off the top of my head.<p>- Freenet is the first project I&#x27;m aware of doing that<p>- ENS+IPFS websites is a strong movement now (see esteroids.eth.limo, I&#x27;m a co-creator of this)<p>- ZeroNet was going strong like 5 years ago, and even though it&#x27;s less popular now it&#x27;s still functional and a nice project.<p>- Agregor browser brings decentralized website the Hypercore (a successor of DAT protocol)<p>- BitTorrent was supposed to have a project especially for decentralized websites (Maelstrom web browser), but it didn&#x27;t took off eventually<p>- Magnetico is a search engine built on top of BitTorrent, very similar to Federalists, but without the Handshake part.<p>- Skynet is a project meant almost only for decentralized websites, based on Sia. They have integration with ENS, and afaik, also with Handshake (check it out!)<p>- Swarm, Namecoin etc. could also be used for decentralized websites. I saw some people doing demos with it, but can&#x27;t recall any links&#x2F;names atm.
blooalienover 3 years ago
&gt; I don&#x27;t take any credit for this since I just weaved the great technologies others already made together!<p>You should <i>absolutely</i> take credit for <i>your</i> part in this. Others may have created the technologies you used, but <i>you</i> tied them together into something &quot;more&quot; than the individual pieces. There&#x27;s room enough for all players to take their credit for their part in this existing.
dane-pgpover 3 years ago
This looks like a great project, thank you.<p>One aspect of censorship resistance is the ability for people to publish and read content anonymously (or pseudonymously). Could you add something to the README about that threat model?<p>Also, I see that your IRC channel is hosted on Freenode. That seems an odd choice for a project that is opposed to censorship. Please consider a network with a better track record in that regard.
评论 #29517474 未加载
评论 #29517741 未加载
conradevover 3 years ago
BitTorrent is so good and I am surprised that I don’t see it in more places<p>Using a private key for mutations is a great idea. I believe it is similar to how BitTorrent Live (undocumented) was implemented, where new content was added to a merkle tree. That is at least how RFC7574 proposed doing it
betwixthewiresover 3 years ago
Bravo dude! Absolutely phenomenal work. I&#x27;m going to star this and attempt to tinker with it in a few days. I love seeing stuff like this get built, IMO the more interesting tools like this get built the better the world becomes.
评论 #29517359 未加载
rakooover 3 years ago
Very nice work ! I wanted to do something similar a long time ago but never took the time. Congratulations !<p>A few points:<p>- is this using webtorrent-the-library or webtorrent-the-protocol ? If it&#x27;s the latter it&#x27;s a bit useless. The only reason the protocol exists is to make web browsers speak a similar language as bittorrent, but both protocols are strictly different. Which means if you want to talk both you need to implement both (and fortunately webtorrent-the-library does so)<p>- The Readme says this is good for whistleblowing. Actually this is one of the worst ways of doing it. When using DHT you tell the whole world your IP is interested in a specific content. When using bittorrent your IP connects with other peers interested in a specific content. There is nothing easier for LE than watching a specific content of interest and see who is interested in it: journalists, sources, ... An anonymisation layer is mandatory for this use case
评论 #29537648 未加载
michaelscryptover 3 years ago
How is this different from ZeroNet [<a href="https:&#x2F;&#x2F;zeronet.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zeronet.io&#x2F;</a>]?
评论 #29514821 未加载
评论 #29514617 未加载
评论 #29515632 未加载
评论 #29518537 未加载
oscargrouchover 3 years ago
This is cool.<p>I&#x27;m also working on a decentralized distribution mechanism based on torrents, and while i&#x27;ve being working on a different architecture, the network mechanism are basically the same with a couple of differences on the network level.<p>In my case i&#x27;m working on a very customized version of chrome where the web api is actually available for native applications beyond Javascript.
评论 #29515325 未加载
algo_traderover 3 years ago
Well done, good luck. Always wanted to implement something like this.<p>&gt; dmt (mutable torrent BEP-46),<p>Is dmt supported (made scalable?!) by the existing torrent infra structure (DHT&#x2F;trackers&#x2F;etc??). Sorry if this question doesnt make sense.
评论 #29515286 未加载
评论 #29515020 未加载
everfreeover 3 years ago
How does this compare to IPFS+ENS (InterPlanetary File System + Ethereum Name Service)?
vgb2k18over 3 years ago
I would love it if someone could change my mind on this:<p>The words unblockable and uncensorable have been misused in the documentation.<p>Real-world example: 99% of my colleagues cannot bring their own devices into our corporate workplace to access torrents via DHT. There are some network rules and filters in place to block most non 443 traffic. Those 99% are effectively blocked.<p>Setting a remote HAProxy server to mask miscelaneous traffic as https was a practical way out through the firewall, which then exposed my HAProxy server to a block by IP rules.<p>This is an idea I&#x27;d love to be wrong about. Bock-resistant is the most appropriate statement for this project in its present form. Change my mind :)
评论 #29517990 未加载
评论 #29517945 未加载
derbOacover 3 years ago
How would you compare this in a use-case sense to something like Beaker browser?<p>Also -- and I&#x27;m unfamiliar with handshake -- but is the sort of thing that could work over ad hoc networks?
评论 #29515455 未加载
Geeeover 3 years ago
This doesn&#x27;t solve the problem that users have to host files themselves, which makes the network unsuitable for many use cases. With torrents and IPFS, only popular content will be hosted by voluntarists with varying levels of service.<p>This is the drawback of traditional decentralized networks compared to blockchain-based networks such as Sia&#x2F;Skynet, where users can pay to get their files hosted with guaranteed service level.
评论 #29518759 未加载
RobLachover 3 years ago
Very cool and actualized proof-of-concept. &quot;Decentralization&quot; beyond a marketing term.
nynxover 3 years ago
This is what decentralization is about, not crypto.
评论 #29515330 未加载
评论 #29516717 未加载
f0e4c2f7over 3 years ago
Seems cool at first glance! I&#x27;ve never heard of Handshake, will be looking at that more in particular.<p>So I see the address in the screenshot starts with federalist:&#x2F;&#x2F;<p>Is it possible to access these sites with a normal web browser from the internet too?
评论 #29515092 未加载
评论 #29515082 未加载
xrdover 3 years ago
I cloned it. I don&#x27;t see how to get to the publius or federalist scripts. I wanted to try to create a blog; is this documented somewhere?<p>It&#x27;s an exciting project.
评论 #29518647 未加载
warabeover 3 years ago
Seems a great project! I&#x27;ve always dreamed creating something like this! One thing I want to know is, your project support users&#x27; anonymity?
评论 #29517595 未加载
account-5over 3 years ago
How did this thread about a decentralised serverless I internet protocol end up in a debate about US gun policy?
评论 #29520185 未加载
peterth3over 3 years ago
&gt; This is great for blogging, whistle blowing, and other things.<p>Could this support user authentication for uploading content? Maybe with something like metamask?<p>Using this tech to make a medium&#x2F;substack&#x2F;twitter-style site would lower the barrier to entry for non-technical journalists.
petreover 3 years ago
WebTorrent has never worked for me. It&#x27;s included in Brave now but whenever I try to open a magnet link it just sits and waits while qbittorrent downlads everything i before I can manage to make a cup of coffee.
评论 #29524370 未加载
tluyben2over 3 years ago
Instead of blockchain&#x2F;web3, I wish these type of projects would pop up more. They are drowned (in my circles) out by &#x27;decentralized everything blockchain&#x27; hype... we need this indeed.
评论 #29522378 未加载
timbit42over 3 years ago
Would this work over I2P?
评论 #29515732 未加载
mrtksnover 3 years ago
What are some cool websites that I can visit right now?
评论 #29515794 未加载
newguyhere2over 3 years ago
this is actually nice, imagine a world where devices have software like this and acts as a node, so like install it on your smart coffee pot, tv, etc. seems silly but i think as time progresses and as technology advances and gets cheaper and cheaper to build that we will one day have normal everyday appliances os&#x27;s in them, maybe even a type of wifi that will eventually create mesh networks
评论 #29516835 未加载
peter_retiefover 3 years ago
Downloading, setting up and having a look. Using IPFS&#x2F;IPLD at the moment. Will give feedback later
nyolfenover 3 years ago
i remember dreaming about something like this almost 20 years ago, when understanding torrents drew me into learning about networking and computing generally. huge props, it fills me with a warm feeling to see that these systems are not just possible but manifest.
lolspaceover 3 years ago
What would happen if I created an illegal site? CP or selling guns?
评论 #29518115 未加载
评论 #29518553 未加载
评论 #29517294 未加载
gpmover 3 years ago
How do you handle security updates to Chromium?
评论 #29516760 未加载
naanbreadover 3 years ago
Does this mitigate any aspect of DDOS?
nubelaover 3 years ago
Is there a mobile client?
throwaway94294over 3 years ago
Isn&#x27;t this just trusting whoever runs <a href="https:&#x2F;&#x2F;query.hdns.io" rel="nofollow">https:&#x2F;&#x2F;query.hdns.io</a> ?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;publiusfederalist&#x2F;federalist&#x2F;blob&#x2F;3670867764ef8a914cbcbd9affcb2efa24700814&#x2F;include&#x2F;hresolver.js#L2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;publiusfederalist&#x2F;federalist&#x2F;blob&#x2F;3670867...</a>
评论 #29515580 未加载
champagnoisover 3 years ago
These sorts of things are still blockable through DNS and IP filters cutting off access to the root nodes and such I would guess.<p>As such, what is the use case?
评论 #29515264 未加载
评论 #29515297 未加载