Lurker News
For the past 5 years or so I've been working on a ground-up redesign of Freenet, my peer-to-peer project from the early 2000s (now renamed Hyphanet).

The new Freenet has been up and running since December along with some early applications like River[1], our decentralized group chat and Delta - a decentralized CMS. Users have already started to build their own apps on Freenet including games, and we have some interesting apps in development like Atlas, a search/recommendation engine.
Architecturally, this new Freenet is a global, decentralized key-value store where keys are webassembly contracts which define what values (aka "state") are valid for that key, how or when the values can be mutated, and how the state can be efficiently synchronized between peers.
We've developed a unique (AFAIK) solution to the consistency problem, every contract must define a "merge" operation for the contract's associated state. This operation must be commutative, meaning that you can merge multiple states in any order and you'll get the same end result.
This approach allows state updates to spread through the network like a virus[2], which typically achieves consistent global state in a few seconds or less.
Like the world wide web, Freenet applications can be downloaded from the network itself and run in a web browser - similar to single-page apps on the normal web. However, rather than connecting back to an API running in a datacenter, the webapp connects locally to the Freenet peer and interacts with Freenet contracts and delegates over a local websocket connection.
If you'd like to try Freenet we have convenient installers for the major desktop OSs but not yet mobile, and you can be chatting with other users on River within seconds[3]. Happy to answer any questions, you're also welcome to read our FAQ[4], or watch a talk I gave back in March[5].
[1] https://github.com/freenet/river
[2] https://freenet.org/about/news/summary-delta-sync/
[3] https://freenet.org/quickstart/
[4] https://freenet.org/faq/
[5] https://youtu.be/3SxNBz1VTE0

Comments (271) 42 threads

Earlier comments
rohitsriram2 replies#
Decentralized web has been a pipe dream forever but group chat actually working in practice is more convincing than anything they could have shown. Real time sync was always the hard part.

Curious about mobile though, you mentioned iOS is the main blocker because of wasm restrictions. Is the plan to run the peer on desktop and have mobile just connect to it, or are you expecting people to run a full peer on Android?

Gigachad3 replies#
The hard part imo was not being exposed to, or unknowingly redistributing illegal content. They claim this new freenet solves this but the details on how weren't super clear.
snvzz#
They got rid of anonymity, which makes this a trivial problem: Law enforcement takes care of it.

Now, whether giving up anonymity was worth it is a separate issue.

MagicMoonlight1 reply#
Realistically the only uses cases of this are illegal ones. It’s like Tor, you’re either using it because your government made everything illegal, or you’re using it for dark shit.
Gigachad#
I'd be interested in it just for fun. Hosting a cool decentralized blog or something. And hosting stuff that is legal in my country but illegal in say Russia. I just don't want to host or transport anything that is illegal or objectionable to me.
tardedmeme1 reply#
Every Tor relay redistributes CSAM daily, but nobody gets busted for running a Tor relay.
LoganDark2 replies#
> nobody gets busted for running a Tor relay.

Citation needed? IIRC, the general advice for running a Tor relay is "don't, unless you want an endless supply of abuse complaints". So you'd require a jurisdiction that ignores abuse complaints.

Continue this thread — 2 replies

ArneBab#
On Hyphanet (the original Freenet) there’s been working group chat via a Hyphanet-backed IRC server for over a decade (the server is named FLIP, the first working version was released in 2013, developed purely on Freenet/Hyphanet).
dariosalvi781 reply#
I wrote a short University essay on Freenet in 1998 I think it was... I may still have the document somewhere. Good stuff, very pioneer!
duskwuff2 replies#
Unfortunately, this is an effectively unrelated project.
noosphr#
That project had nothing to do with the freenet that ran after 2006 either. It's not the first ground up rewrite with major breaking changes using the same name.
sanity#
Not sure how you can say it's unrelated given that it was created for the same purpose by the same person with many design similarities.
dgudkov#
It's refreshing to see people doing something conceptually interesting outside of the LLM domain.
toomim#
How do you compare this to the effort in https://braid.org, which is also a decentralized web, which adds subscriptions that can operate in a tree (or DAG) of reactive state, each with its own validator and supporting different media types, and merging with merge-types?

Freenet seems to not interoperate with the existing WWW as much, while at the same time giving more specification on a specific routing and WASM validator. The existing WWW and Braid leave those decisions up to each particular host/authority to decide.

Load more comments