Author

Topic: [TOOL] web2web, web distribuito con ausilio della blockchain (Read 652 times)

legendary
Activity: 3528
Merit: 4042
yes
pero la cosa carina degli spinoff e che possono uscire idee carine ^_^
hero member
Activity: 708
Merit: 506
I support freedom of choice
in soldoni
utilizza una lib js per i torrent web

il torrent contiene tutte le info relative al sito (ovviamente "statico")

il torrent web viene scaricato dal js e i contenuti vengono serviti as is

per aggiornare il torrent viene usata la blockchain

Ne so poco ma mi pare diverso da Zeronet anche se alla fine fanno le stesse cose con gli stessi strumenti.
legendary
Activity: 3528
Merit: 4042
in soldoni
utilizza una lib js per i torrent web

il torrent contiene tutte le info relative al sito (ovviamente "statico")

il torrent web viene scaricato dal js e i contenuti vengono serviti as is

per aggiornare il torrent viene usata la blockchain
legendary
Activity: 3528
Merit: 4042
https://github.com/elendirx/web2web-gateway

https://github.com/elendirx/web2web

Quote
Server-less & domain-less websites updatable via torrents and bitcoin blockchain.

live demo
Why

Websites get seized by losing control over a webserver or a domain. If we replace both the webserver and the domain with torrents and blockchain then there's nothing left to seize.
How It Works

This repo contains two HTML files:

    index.html is responsible for loading the webpage from torrent,
    webpage.html is the actual webpage.

When you open index.html in the browser (live demo), here's what happens:

    Bitcoin address 1DhDyqB4xgDWjZzfbYGeutqdqBhSF7tGt4 is searched for the latest outgoing transaction containing OP_RETURN script. Inside the script there is a torrent infohash of webpage.html.
    webpage.html is downloaded from torrent via webtorrent and displayed.

How Is It Updated

To perform serverless updates, torrent of the updated webpage.html is created and its infohash is inserted into new bitcoin transaction sent from 1DhDyqB4xgDWjZzfbYGeutqdqBhSF7tGt4 address.
How Is It Domainless

Save the index.html to your PC and open it from localhost. It will still work and receive updates.
Jump to: