The Decentralized Web – The Wild West Web
The construction of the DWeb (decentralized web) is in full progress for a few years. It’s going on mostly unnoticed by the public and it’s proceeding slowly. One of the most prominent examples of the decentralized web is BitCoin (and other cryptocurrencies like Ethereum). BitCoin is
nothing less than freedom money,  says Alex Gladstein, chief strategy officer of the Human Rights Foundation.
Except for crypto-currencies few parts of the decentralized work are visible to the public. Working on technologies for the decentralized web is hard, mostly unpaid pioneer work, that might (or not) bring huge wealth to the pioneers in the future.
It takes a lot of time and know-how to solve problems for a decentralized web. New technological solutions need to be developed for the three fundamental components of the internet: Storage, Naming, and Databases.
And developers need a long breath. Steve McKie explained in his Medium article the three generations of the DWeb: Generation 1 was the development of decentralized Browsers (for example Brave Browser), of Ethereum, the Ethereum Name Service (ENS), and IPFS (The InterPlanetary File System).
The 3rd generation will bring decentralized governance, name registrars, content storage apps, web hosting, P2P databases, identity management, mesh networking, and social networking. First contenders of this generation are already appearing.
The DWeb has way too many projects, ideas, and technologies to be able to follow all. If you start researching the topic it quickly becomes overwhelming. It’s nearly impossible to follow all the projects that get created, funded (or not), are discontinued, or die. A lot of ideas are tested and some will prevail. These will get more stable over time and easier to use which is important to bring the ideas to the public.
I picked a few decentralized projects I found personally interesting and will explain them in more detail.
Mastodon is an open-source, distributed Microblogging service similar to Twitter. It is not owned by one company but consists of multiple, decentralized instances owned by private individuals, associations, or companies.
Each instance has its own policies and rules. By default, all instances can talk to all other instances, but it’s possible to restrict the communication to other servers or set up filters for specific types of content.
It’s up to the user if they join a progressive-left LGBT+ instance or a right-wing Christian instance. With technical knowledge and a server, you can even set up your own instance and create your own policies.
It’s possible to mark Toots (the equivalent of a Tweet) with content warnings in case of NSFW, spoilers, or other potential upsetting content.
I like the design and friendliness, but also its weirdness.
Minds is a blockchain-based social network. You can earn money or cryptocurrency for using Minds and use the earned tokens to boost posts or support other content creators. Minds has a strong focus on free speech and doesn’t delete content unless it violated a law. They use a 3-strikes system for posting harassment and spam or not tagging NSFW content properly.
Minds has a premium membership program for content creators that want to access exclusive content or monetize their income. But even with the basic account, it’s possible to use the earned tokens to boost the own content.
I like the clean design and how nice and big the content is shown. And the edit feature is fantastic to fix a typo later. With a basic account and a few posts, I earned $20 in tokens in 3 years.
Minds has a build-in encrypted chat that was recently migrated to Matrix.
Matrix is an open network for secure, decentralized communication. It’s feature-rich and allows communication between different servers running (similar to Mastodon). Additionally, Matrix allows communication over Bridging with external services like Slack, Microsoft Teams, IRC, XMPP, Telegram, WhatsApp, Facebook, Hangouts, Signal, and many more.
It’s end-to-end encrypted, supports WebRTC VoIP/Video, and has no single point of control or failure due to its decentralized architecture. Matrix has a feature-set similar to commercial apps and it introduced recently Spaces, a feature to group rooms and people together (similar to a workspace in Slack).
To connect to the Matrix federation you use a client. You are not forced to use a specific one and can even create your own. The most used client is Element, available for Web, Android, iOS, macOS, Windows, and Linux.
Mozilla switched recently from IRC to Matrix, Minds switched their chat to Matrix. Gitter joined Element, Automattic invested nearly $5 Million into New Vector (the company founded by the core Matrix team in 2017) , and Element raised $30 Million.
More and more governments use Matrix. The French government forked the messenger and created their own messenger Tchap, the German states of Schleswig-Holstein and Hamburg use Matrix, and the German military introduced the BwMessenger for communication.
Matrix provides a service to create a link for any instance to share with people of different instances to connect.
Beaker Browser (dat)
Filecoin is one of the important project achievements of the decentralized web because it solves with a new crypto-currency the problem of hosting content and paying for it.
It will democratize the hosting and allow smaller customers to run servers and provide hosting for a decentralized internet. Centralized hosting makes it easy for the provider to dictate prices and remove or block content.
Decentralization helps with the distribution of content because storage providers can repost popular files and grow with the demand and transport it in all regions of the world, where it is requested, making it faster to access.
If somebody wants to store content they can negotiate with storage providers and pick the best option. The provider earns the storage fee over time. To ensure the data is correctly stored, cryptographic proof verifies the data.
A user who wants to request a file finds a provider that stores the content, pays the price, and receives the file.
LBRY & Odyssee
But LBRY is more. It is a protocol (
lbry://) for any type of digital content, for example, videos, music, ebooks, or video games. It has the aim to become the digital library of the future.
The content of the network is distributed across a network of hosts similar to BitTorrent, but with build-in possibilities for monetization, while the metadata lives on a blockchain.
Content creators can set a price or give the content away for free, content consumers can tip content creators or purchase paid content. LBRY uses its own crypto-currency
LBC (LBRY Credits).
The project is open-source and the company behind the project, LBRY Inc. build it in a way that it can never become a single-point-of-failure, should it turn evil. LBRY is very censorship-resistant. The video platform Odysee has a mild content policy and blocks horrific or infringing content from their server, but the LBRY Desktop app can access every file of the network without relying on the servers of LBRY Inc.
As long as one node is distributing the content it’s nearly impossible to get rid of the content. It’s possible to host content anonymously or within a user's namespace. Popular content is hosted by dozens, hundreds, or thousands of computers, depending on its popularity. The possibility for pretty URLs makes content easily shareable.
This is different from other decentralized video platforms as BitChute, DTube, or Dlive, where the website is usually the single, centralized control point to discover content. Should the website turn evil, or disappear all content is gone.
With the recent aggressive deletions of videos by YouTube of scientists talking about COVID-19 or other controversial political topics, more and more content creators started using Odysee. It provides a YouTube Sync option (for YouTube channels with recent and regular content and a minimum of 300 subscribers), has an iOS app, and an LBRY app for Android. It provides RSS feeds for each channel and it’s possible to download any video to the hard drive.
IPFS is one of the decentralized projects that has huge potential and is already very mature. I first discovered it when the Brave Webbrowser added native support for the IPFS protocol in January, 2021 .
IPFS stands for InterPlanetary File System and is a peer-to-peer hypermedia protocol (
ipfs://). This name is not a joke but hints into the possibilities of the protocol in the distant future. Currently, communication between Mars and Earth takes around 13 minutes, and transmitting 30MB of data can take up to 20 hours. Not the best conditions for a person on Mars to browse the internet. But IPFS and its features could help with this, by storing hashes on nodes on Mars to reduce the access time to commonly requested files dramatically.
Any file in the IPFS network is split into smaller chunks, which are cryptographically hashed and have a unique fingerprint, a CID (content identifier). It is the permanent record for this file as it exists at that point in time.
Other nodes on the network look up the file and store a copy of it, becoming a provider of the content until the cache is cleared.
IPFS allows the pinning of content to keep it forever. Each node decided this way what content it is interested in.
Each new file or change in the content creates a new hash and thus making it resistant to tampering and censorship. All files stored in IPFS are automatically versioned.
Advantages of IPFS compared to the current web are improved performance because the content is loaded from the nearest location. The bandwidth is improved with data savings improving up to 60% for video. The network is extremely resistant to censorship. The decentralization helps to be resistant in cases of bad connectivity (flaky wi-fi, natural disasters, or in the developing world) and prevents central authorities from mandating rules or limitations on its users.
To run your own node, you can either use Brave Browser, IPFS Desktop, the IPFS Companion extension (available for most browsers) or the command-line tool. If you use Brave and visit the first-time an IPFS address, you’ll be asked if you want to run your own node or use a public HTTP gateway.
This is the second part of a three-part series on the decentralized web. In the last part we’ll code and release our first decentralized website.
Alex Gladstein (2021): Bitcoin Is Protecting Human Rights Around the World, https://reason.com/video/2021/02/05/bitcoin-is-protecting-human-rights-around-the-world/. ↩︎
Steven McKie (2020): The Decentralized Web -- Explaining the Impending DWeb Explosion, <https:// ↩︎
Sebastian Grüner (2019): Mozilla wechselt von IRC auf Matrix und Riot, https://www.golem.de/news/chat-mozilla-wechselt-von-irc-auf-matrix-und-riot-1912-145664.html. ↩︎
Amandine Le Pape (2020): Gitter is joining Element, https://element.io/blog/gitter-is-joining-element/. ↩︎
Matthew Hodgson (2020): Welcoming Automattic to Matrix!, https://matrix.org/blog/2020/05/21/welcoming-automattic-to-matrix. ↩︎
Natasha Lomas (2020): Automattic pumps $4.6M into New Vector to help grow Matrix, an open, decentralized comms ecosystem, https://techcrunch.com/2020/05/21/automattic-pumps-4-6m-into-new-vector-to-help-grow-matrix-an-open-decentralized-comms-ecosystem/. ↩︎
Amandine Le Pape (2021): Element raises $30M as Matrix explodes!, https://element.io/blog/element-raises-30m-as-matrix-explodes/. ↩︎
Steve Loynes (2020): BwMessenger goes live for Bundeswehr!, https://element.io/blog/bwmessenger-goes-live-for-bundeswehr/. ↩︎
Thomas Ormston (2012): Time Delay Between Mars and Earth, https://blogs.esa.int/mex/2012/08/05/time-delay-between-mars-and-earth/. ↩︎