8 ms·
Web2Web Bootstrap
- catilac 10y agoCool! Here is the source code: https://github.com/elendirx/web2web https://github.com/elendirx/web2web
- Mizza 10y agoNeat hack! Although from the source, it looks like this is really dependent on "https://blockexplorer.com/api/txs/?address=' https://blockexplorer.com/api/txs/?address=' + CONFIG.btcAddress", so still has an obvious PoF until the browser can speak BTC.
- cloudjacker 10y agoHm, couldn't the Brave Browser from the Mozilla project "speak BTC"
- elkos 10y agoThe Brave browser is actually not a Mozilla project but a browser start-up build by ex-mozillians
- christophilus 10y agoThis is really clever. I'd love to see the web shift to a decentralized model like this. I don't know enough about bitcoin to understand how this would perform under load. I'm assuming that bitcoin scales the same way that any p2p network scales? So the more requests there are for a resource, the more peers that are serving up that resource?
- jbpetersen 10y agoGiven how the Bitcoin blockchain is handled, all nodes serve up the resource assuming they've kept their copy of the blockchain up to date. You might be surprised how much of a political issue this is.
- btown 10y agoEspecially in jurisdictions that criminalize, or are considering criminalizing (see: the EU), serving links to illegal content. Surprise, because someone put a torrent hash into the chain, it's illegal to mine or own Bitcoin.
- mablap 10y agoIt would seem the video is also hosted YouTube[1]. It has better quality. [1]: https://www.youtube.com/watch?v=udAL48P5NJU https://www.youtube.com/watch?v=udAL48P5NJU.
- jbpetersen 10y agoI'm curious what lead to choosing a Bitcoin/Torrent stack over alternatives and whether there were factors besides brand recognition.
- kauegimenes 10y agoWhat alternatives you would use?
- niftich 10y agoIPFS: https://ipfs.io/ https://ipfs.io/ GitTorrent: https://github.com/cjb/GitTorrent https://github.com/cjb/GitTorrent Tahoe-LAFS: https://tahoe-lafs.org/trac/tahoe-lafs https://tahoe-lafs.org/trac/tahoe-lafs Freenet: https://freenetproject.org/documentation.html#understand https://freenetproject.org/documentation.html#understand Urbit: https://urbit.org/docs/using/filesystem/ https://urbit.org/docs/using/filesystem/
- mastazi 10y agoA couple of notable previous HN discussions about IPFS: https://news.ycombinator.com/item?id=10329084 https://news.ycombinator.com/item?id=10329084 https://news.ycombinator.com/item?id=10187555 https://news.ycombinator.com/item?id=10187555
- jbpetersen 10y agoEthereum and IPFS
- nprescott 10y agoFrom the project README: > 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. > > When you open index.html in the browser, 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. I'm at 10 minutes waiting and the page hasn't loaded anything yet, the console reports wasm loaded correctly. It might be more useful to change the URL to the repo catilac linked. The idea sounds interesting, if a bit circuitous. Edit: Now that I think about it more, I'm a little confused about how this "decentralizes" anything, because the page is still required to get the bitcoin address in the first place? What prevents someone from seizing a domain or webserver and modifying this particular bitcoin address, other than the work involved? Can anyone familiar with IPFS speak to similarities or differences?
- swiley 10y agoKeep in mind that some ISPs actively attack bittorent and it won't work with them if it accepts unencrypted connections. That might be why it's not working for you (if you've never used bittorent successfully there before)
- bastawhiz 10y agoIt isn't using bittorrent, it's a web page. It uses webtorrent, which operates over WebRTC. WebRTC is encrypted and doesn't use bittorrent's TCP/UDP ports. In fact, ISPs would have a hell of a time even discerning WebRTC traffic containing a video call and a webtorrent connection.
- lossolo 10y agoNot very practical and flawed design. 1. You need to make .torrent of your content AND bitcoin transaction = EVERY even smallest change to your site which need to be seeded as new torrent. 2. If there is not enough people to seed your torrent in DHT network then you need to seed it yourself with your IP/server IP which means it can be taken off like any other website. 3. If you want to get an "account" you need to send him money? If you want this project developed you need to "throw money at him". Aha... 4. Project is connecting to blockchain instead of bitcoin nodes, which means if blockchain is down every site hosted in this system will be down. 5. The most important thing, if you will wait for 3 transaction confirmations then every update to your site will need to wait ~30 minutes or anyone will be able to impersonate as you. This is project killer. Ok so what is an alternative? There is a new BIP pending in BitTorrent protocol that will enable to update .torrent files in DHT network which means you don't need bitcoin at all in this equation.
- niftich 10y agoIt's true that BEP-46 'Mutable Torrents' exists now, but trustless DHTs like Bittorrent Mainline are vulnerable to Sybil attacks [1][2], which is conceptually similar to a Blockchain 50+% attack to where a malicious party can control a large amount of nodes and propagate lies. You want to involve some incentive scheme to counteract this [3]. [1] https://en.wikipedia.org/wiki/Sybil_attack https://en.wikipedia.org/wiki/Sybil_attack [2] http://ieeexplore.ieee.org/document/6503215/ http://ieeexplore.ieee.org/document/6503215/ [3] https://news.ycombinator.com/item?id=10029851 https://news.ycombinator.com/item?id=10029851
- lossolo 10y agoIt will not help to eliminate attacks by using point 3 as you are still on the bitcoin network on which 50%+ attack can be made. Using mutable torrents you are attaching public key to .torrent file and then just signing any changes with your private key. It's even better than bitcoin and without flaws of bitcoin which i mentioned. You need to get information about content/website that you want to access somewhere, don't you ? So with this information you can get also sha256 of the public key that is attached to.torrent.
- dfar1 10y agomight not be able to take the content down, but can't you take the domain down? wouldn't that just have as much impact?
- dubcanada 10y agoSeems to cause my browser to crash latest Chrome on Windows.
- Jayschwa 10y agoDitto. Using Chrome beta.
- xj9 10y agoI've worked on a lot of web projects, but still I don't understand why we want to build applications in browsers. Don't get me wrong, I love the web and I've been hacking on it for a long time, but browsers can't do shit. Servers do all of the heavy lifting, even with "modern" web apps. Yet our browsers are resource-hungry monsters. I'm currently working in the peer to peer application/protocol space and the biggest thing that stands out to me is the impact these technologies could have in developing countries. The challenge is making things light enough to run well on the weak hardware most people have to work with. Browser apps don't make the cut.
- forthefuture 10y agoI can't tell you how happy I'd be if someone made a network of applications you could download and install in under a second that ran in any other language.
- n00b101 10y agoran in any other language When you say "language" here, are you referring to the web languages (HTML, JS)?
- mcav 10y agoI think they're referring to any non-web language, e.g. if I could host and distribute C apps with the ease of the web. (Getting end-users to actually run and use a program with one click, rather than having to download a binary, run it separately, etc.)
- imtringued 10y agoAre you thinking of something along the lines of `ceylon run com.example.helloworld/1.0.0`? This command downloads the module if it's not locally available from the remote repository and then runs it to print "Hello, World!".
- khedoros 10y ago
- sergiotapia 10y agoI think ZeroNet has the same goals but is much more polished for the end user. https://zeronet.io/ https://zeronet.io/
- beardog 10y agoWhile i love Zeronet, this can run in Chrome and Firefox (possibly others?) without a "complicated" program you have to download and run, and learn the interface of. (I don't think its complicated to use but, the average non-techie person understandably would)
- OrthoMetaPara 10y agoCan you add multiple data channels to SimplePeer?
- mkoryak 10y agoIt also uses jquery to make an ajax request and run stuff on document ready. Thats a lot of overhead.
- Kiro 10y agoWhy do you need to involve torrents? Why can't the whole site live on the blockchain?
- throwaway1974 10y agoBitcoin blockchain can only store very small amounts of extra data with each transaction.
- Kiro 10y agoBitcoin, yes, but it works on other blockchains made for this purpose.
- XCSme 10y agoWell, Chrome crashed for me after that page was loaded... not a very convincing demo.
- deleted 10y ago[deleted]
- juanpabloaj 10y agoA few months ago I made this project https://github.com/juanpabloaj/markdowntorrent https://github.com/juanpabloaj/markdowntorrent the content is fetched from torrents, currently the pages are down because their torrents seed are down. when I made the project, I can't resolve to the question, how you can get the url of the content of your interest?