Build the distributed web.
Explore Blog Docs Videos FAQ Download Mobile
Agregore is not just a Web-Browser
, it's a Web-Weaver
.
It gives you the tools to load and author content locally without needing the cloud.
Instead of needing to be always connected to a server, you can load from your cache or directly from others.
Agregore automatically reshares P2P websites with others so the more popular a site is, the faster it is to load it.
It works offline, on local networks, and over the internet.
Made to support a resilient and person-first foundation for software.
Agregore works by letting you load web pages and content from peer to peer protocols the same way you would load them from a website.
In the same way as you can navigate to http://example.com
, you can navigate to hyper://blog.mauve.moe
and have it load from anybody on the network that has a copy.
This can be done via the different protocols that Agregore supports like BitTorrent, IPFS, and Hypercore Protocol.
The web contents are rendered via Chromium using the Electron framework.
Electron is useful since it's what allows us to publish Agregore on Windows, MacOS, and Linux.
Agregore not only supports loading data through custom protocols, but it also provides APIs for uploading data into peer to peer protocols. This is done via the browser's fetch() API which is what web developers use to talk to web servers over HTTP or HTTPS.
You can create your own peer to peer website using this simple code snippet (open dev tools with CTRL+Shift+I):
// Upload your website page
url = 'ipfs://bafyaabakaieac/example.txt'
response = await fetch(url, {
method: 'PUT',
body: 'Hello World! 👋 🌎🌍🌏'
})// Navigate to the website
window.location.href = response.headers.get('Location')
Try making an app in the DWeb Scratchpad. For more details and demos, check out the the Videos page, or read the Fetch API Docs.