HelloZeroNet / ZeroNet

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

Idea: Something like Phonegap but with ZeroNet #763

Open fermmm opened 7 years ago

fermmm commented 7 years ago

Is it technically possible to create like a Phonegap/Cordova compiler to build mobile applications that are Zeronet sites? Is this planned?

This can be a revolution, bringing Zeronet to all the people, enabling devs to make networking native apps for mobile without needing big amounts of money to rent servers, non profit and working.

Just an example: A dating app like Tinder that is much better because the guy with the best ideas does not need money and a business model to pay the rent of the servers and is super populated because there is no need to pay because there is no cost. This is just an idea that came to my mind while writing this, imagine the possibilities and the revolution of a non profit quality mobile networking apps.

Phonegap it's a compiler that creates a an application with a "hidden browser" that only loads your website, it's just a way to create native applications using html/js/css. Is based on Apache Cordova which is open source as far as I know,

Maybe there is a way to replace the "hidden browser" of Cordova with something like a "zeronet hidden browser" so we can convert any zeronet website into a native mobile application.

I think ZeroNet is much more usefull in the native application world than in the web because an extra download to browse ZeroNet is something that stops potential users.

OliverCole commented 7 years ago

I like the idea. I don't think anyone's written a phone ZeroNet client though, and that would be a prerequisite.

And while that's certainly possible, it would require the users of your Tinder example to allow their phones to be serving P2P requests all day for the site to continue being operational - that tends to be bad for battery life and data caps.

fermmm commented 7 years ago

allow their phones to be serving P2P requests all day for the site to continue being operational - that tends to be bad for battery life and data caps.

Why not host the application only while using it? An application made with this can contain a ZeroNet client that stops when the application stops. The creator of the app can rent a server to seed the application just in case nobody is using it, maybe is not necessary in a successful application. The cost of renting a seed server should be low, affordable for anyone. Also the app can be multi platform so web users can also help with the hosting. Maybe I don't understand something about how ZeroNet works.