Agregore

Explore the distributed web

Explore Blog Docs Videos Download Mobile

Features

Screenshot showing Agregore Browser loading a hyper:// URL

Watch the 5 Minute Intro

How does it work?

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.

How do I share stuff?

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:

// 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')

For more details and demos, check out the the Videos page, or read the Fetch API Docs.

Source Code Contact Discord Matrix Mastodon Twitter