HelloZeroNet / ZeroNet

ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.io
Other
18.39k stars 2.27k forks source link

[Feature] Dedicated proxies #1604

Open danimesq opened 6 years ago

danimesq commented 6 years ago

Most of ZeroNet users doesn't realizes it, but we need distributed servers, that acts as super peers, with reliable speed and bigger files seeded (for sample, distributed servers for video site or search engines, with lots of texts/data crawled and distributed).

Sample scenario:

KopyKate haves lots of users and videos, and users needs to search videos. A single video index can be about 5 GB. Users needs to download this whole data? But they can temporary download/seed (https://github.com/HelloZeroNet/ZeroNet/issues/1603 and https://github.com/HelloZeroNet/ZeroNet/issues/1602) this data from distributed hubs, or simply tempseed/download it from any server (distributed file servers of choice, not centralized).

Another thing to consider:

Clearnet users wants to watch exclusive videos on KopyKate, without accessing a proxy. They simply access kopykate.com, without the sensation that they are on ZeroNet. Simply prompted to register on a ID provider (zeroid.com/kxoid.com?), do the signup, the seed is downloaded as text file (https://github.com/HelloZeroNet/ZeroNet/issues/902 - easier than copy/write, like some wallets are downloadable as text files) be redirected back to KopyKate.com (https://github.com/HelloZeroNet/ZeroNet/issues/1580) and login.

Also, data searcheable on clearnet search engines such as Google/Bing (https://github.com/HelloZeroNet/ZeroNet/issues/1596).

HelloZeroNet commented 6 years ago

I'm not sure what you mean by "distributed hubs", "tempseed", "distributed servers"

danimesq commented 6 years ago

I'm not sure what you mean by "distributed hubs", "tempseed", "distributed servers"

"distributed hubs" I mean about every user seeds a hub. This is actually occurring, because not all users wants to seed all hubs. It makes hard to find files. Can't find all ZeroMe users, or do a good search with engines.

"tempseed" is a idea to lookup/download all files and temporary seed to save disk space. Torrents also does it, you seed while downloading. Usage: think that a search index of video site can reach 5 GB.

"distributed servers" not centralized, but they acts as super peers. Instead of user search on all peers for all needed files, user can choose a distributed server (for sample, KopyKates haves lots of peers, and 0net.io acts as distributed server/super peer, but 0net.io doesn't automatically seeds all videos).

HelloZeroNet commented 6 years ago

By enabling the "DOWNLOAD AND HELP DISTRIBUTE ALL FILES " at the sidebar it turns your client to a "dedicated tempseed server"

danimesq commented 6 years ago

By enabling the "DOWNLOAD AND HELP DISTRIBUTE ALL FILES " at the sidebar it turns your client to a "dedicated tempseed server"

Not about it.

HelloZeroNet commented 6 years ago

What would be the difference?

danimesq commented 6 years ago

I explained on the issue's description.

Instead of be in a proxy (https://zeronet.io/siteaddress.bit), site can work as siteaddress.com (proxy securelly hosting just one site, and ZeroID/other ID providers).

danimesq commented 6 years ago

@d14na @krixano @trenta3 @imachug @vRobM @geekless @tangdou1 @anoadragon453

vRobM commented 6 years ago

There is nothing stopping you from registering kopykate.com, putting it on a server, installing zeronet and turning on the feature to download and help distribute all files for the kopykate.bit ZN zite.

danimesq commented 6 years ago

There is nothing stopping you from registering kopykate.com, putting it on a server, installing zeronet and turning on the feature to download and help distribute all files for the kopykate.bit ZN zite.

But there should be a native feature on proxies for this and other features like.

d14na commented 6 years ago

@DaniellMesquita working on a new type of proxy specifically to attract Clearnet users. its browser-based and most importantly allows users to SEED from an ordinary web browser. my team has already completed the proof-of-concept on this, so it works! (just imagine if every mobile device that accessed the Zeronet from the Clearnet would become a seeder for EVERY resource they consumed) however, security is still questionable, and needs much more attention (this will ALL be open source, mostly here when its done). the objective is to get EVERYONE who is even mildly "curious" about the Zeronet to not only have quick, simple, SAFE & FAST Clearnet access to it, but also to become a SEEDER. THIS IS THE DEAL BREAKER! if you want the convenience of this new proxy, then you HAVE to become a contributor. some parts of it currently require CENTRALIZATION (just the way it has to be), but most of it will not be.

There are a lot of moving parts to this, and it's just too complicated for me to "explain" properly in detail at this time, so I'd rather just post an announcement when there's a demo online. eta, soonish' but I'm happy to answer any questions if you're interested in the idea.

danimesq commented 6 years ago

@d14na

You can understand, and also improved my idea. I don't throught about browser seeding. Good.

Do you have knowledge in Electron/Cordova?

An template/boirlerplate for apps with built-in ZeroNet is also attractive.

d14na commented 6 years ago

I don't throught about browser seeding.

this is really hard, since browser's DON'T support TCP/uTP, but we kinda found a way around it, again by using SUPeer.

if you visit TPB, you'll see a little message at the bottom (really tiny lol), that says, "By entering TPB you agree to XMR being mined using your CPU." This is kinda the same idea, but with SEEDING not MINING.

Do you have knowledge in Electron/Cordova?

yeah, but I'm using RN now.

An template/boirlerplate for apps with built-in ZeroNet is also attractive.

Definitely! need to make it frictionless if the Zeronet is expected to attract Clearnet devs.