r/javascript • u/rafalsk • Jul 28 '22
Create decentralized applications with JavaScript
https://gridnet.org/wpp/index.php/2022/07/12/create-ui-dapps-right-now-developer-guide/4
u/PedroHase Jul 28 '22
Can you give a short TL;DR about Grid OS, its purpose & application/use?
P.S.: test.gridnet.org constantly fails to work for me :(
-5
u/rafalsk Jul 28 '22
P.S.: test.gridnet.org constantly fails to work for me :(
It might be due to some AdBlocker probably? There are no adds but some external software might be prevent the Bootloader from fetching all of the files.
For debugging of these issues you might want to switch to the Google Dev Console of Chromium and see all the files being loaded. The bootloader then verifies the integrity of each file, tosses new data sources as needed and attempts to resume downloads and so on.
If there is any trouble, you would see it within the Dev Console. You can then try to access the specific file manually.
Can you give a short TL;DR about Grid OS, its purpose & application/use?
Of course! We are providing an environment for both developers and end-users to make their dreams about self-hosted, decentralized applications a reality, without the need of integrating with external (centralized) services. Everything developers might ever need (decentralized storage, cross-browser onion routed communication capabilities, cross browser SWARM-based communication - 100% server less, wrapping around browser-specific WebRTC implementations).
Think of a decentralized YouTube where videos are self-hosted, powered by a decentralized, crypto-incentivized content delivery network. Think of social portals/applications whose content cannot by altered and affected by CEOs. Think of games, multiplayer games with dynamically generated worlds, which are stored in a decentralized fashion, with ultra fast, decentralized value-transfers available at your fingertips. Think of decentralized websites than cannot be brought down by anyone, you may deploy such on GRINDET OS already.
Other benefits include:
use technologies you are already well familiar with such as JavaScript, HTML, CSS👾
these are new grounds so high chances for your application to become popular.
no need for any server. The network hosts your app all by itself.
no need to configure any kind of software.
you can modify your web-page / application from any device. Yet again, – without installing any kind of software.
nobody can bring your app down.
nobody, including government institutions ever gets access to any kind of data,
including meta-data your app processes.
anonymous data exchange.
your app is available from anywhere.
you are 100% anonymous and so are your users.
access to data-storage and crypto exchange APIs at your fingers.
your app looks like it would be running on Windows and/or MacOS X even though it gets launched from a web-browser.
lots of ways to monetize your application. Ultra fast crypto payments available through JavaScript APIs. You may want to take a look (you do want to take a look!) at our GridCraft game and see how players are rewarded with crypto for finding Gold Veins in a dynamically generated environment.
the possibility to implement arbitrary logic running on nodes maintaining the network.
the list goes on and on. Limited only by your imagination
-4
u/rafalsk Jul 28 '22 edited Jul 28 '22
Fellow developers,
I have been a developer since I was 8 years old. Now 35.
Even though I never shared strong passion with web, client side development - it strongly changed while working on a project - I've had the opportunity to be the head of, since the early 2017.
Previously, even though various news kept reaching my ears, about JavaScript now being able to handle server side code (Node.JS etc.) I never took it seriously.
But then, thanks to two friends of mine, who are now members of the project of ours and who used to work at Google researching and implementing V8.... I got to know about ECMA6... the possibilities... these literarily blew my mind away.
Object oriented programming... the ability of manipulating individual bits and bytes in byte arrays.. we went ahead and implemented custom cryptography constructs and binary-encoded communication protocols straight through JavaScript...
Today, I invite you to take a look, at a project which we consider the project of our lives.
The project is about freedom, about decentralization, about allowing for the information to be free.
The name of the project is GRIDNET OS.
The project has been under development LIVE on YouTube almost each and every day since the early 2017.
So yet again, what is the purpose? What is the rationale?
A decentralized operating system. Running applications written in JavaScript and GridScript (our own language run by nodes operating the decentralized state-machine). For the most use-cases you would be fine with JavaScript alone, as the system makes all the essential components / APIs available at your disposal through JavaScript (decentralized storage, window management, communication, threads etc.).
Then you may choose to implement games, decentralized YouTube, collaborative apps, anonymous web-browsers, anything and everything.. running as 100% decentralized windowed apps.. available straight from the 'native' web-browser.
We are extremely passionate about what we do. It is to be 100% open source. We do not charge any kind of fees.
We are here to bring possibilities to you, to us, developers, so we can enter a better, decentralized, unbiased by censorship future. Together.
I invite you to take a look at a couple of articles:
The first, describing to you the overall rationale:
https://gridnet.org/wpp/index.php/2022/06/30/decentralized-os-with-a-decentralized-ui-dapps/
The second, being little bit more technical (with a detailed UML diagram of the entire system):
And finally, the one intended for developers, which takes you by hand about deploying the very first Hello World UI dApp of your own:
https://gridnet.org/wpp/index.php/2022/07/12/create-ui-dapps-right-now-developer-guide/
I also hereby invite everyone to a discussion.
Should you come to like what you're seeing I kindly invite you to.. join us. We are to be making the entire code base available on GitHub very soon. The forums are available at https://talk.gridnet.org/ (where we simply work together, gather bug reports and fix these on YouTube LIVE so to assure the community that we do our work meticulously and honestly).
1
u/rusmo Jul 28 '22
decentralized YouTube
How much hard drive space do you think we have, lol.
1
u/rafalsk Jul 28 '22
The proper question is, whether we can provide technology to properly incentivize others to provide the storage we need. And yes, the technology is in place.
1
u/johnlewisdesign Jul 28 '22
Nice one, interesting (slightly garish lol) site. maybe the downvotes came from jealous types, or people that think open source is self promotion, but not I. Charitable, good work!
1
u/rafalsk Jul 28 '22
Thanks so much! If you like it, consider joining our forums at talk.gridnet.org , if you would like to contribute we may provide access to the source code as it is. We are no-profit and Reddit is a great place for us to share information and attract other passionate fellas!
0
u/mmnyeahnosorry Jul 28 '22
Why the downvotes?
2
u/rafalsk Jul 28 '22
I would like to know as well, two downvotes not much looking at the 5.6K views the post received over the past hour.. in any case I am here to assist everyone:)
-2
1
u/rafalsk Jul 28 '22
Because these forums are 'owned'. In short. That is exactly why we need decentralized technologies.
0
Jul 28 '22
Good interesting and informative post.
1
u/rafalsk Jul 28 '22
Kindly thank you; for further discussion I invite you to talk.gridnet.org we may as well discuss here but seemingly the thread was already hit by a bot-net attack thus no new people are to come around.
0
u/great_waldini Jul 28 '22
Remindme! 12 hours
1
u/rafalsk Jul 28 '22
In 12 hours from now I'll be here for you as well, so if anything you just shoot.
0
u/RemindMeBot Jul 28 '22
I will be messaging you in 12 hours on 2022-07-28 21:56:59 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
-1
-3
0
Jul 28 '22
[deleted]
0
-3
u/rafalsk Jul 28 '22 edited Jul 28 '22
Unfortunately that is how it is on Reddit.
Which renders these forums extremely non-pro-freedom.
Why?
With 15k+ views, the topic hitting the podium within 3 hours, all of the sudden somebody comes along, orders a bot-net to report and down-vote and the entire topic is killed due to automatic mechanisms on Reddit within 15 minutes;]
Without a single, rational, logical comment the entire thread is suddenly gone.
Exactly why we need decentralized technologies.
-12
u/rafalsk Jul 28 '22 edited Jul 28 '22
Be succinct, please.
Tech-wise, thanks to my hard-working colleges, it is, I believe,- a piece of art. And I would be glad to address any of your concerns.
Tech-wise, we've got peer reviewed research papers at some of the best computer science conferences and journals.
The articles mentioned provide detailed UML diagrams of the architecture, describing in detail, the overall architectural rationale as compared with previous technologies.
Should you come up with a more constructive comment and or have any kind of sensible questions, I would be more than glad to assist you, for the common benefit of everyone just please be succinct.
11
1
u/simpleauthority Jul 28 '22
What are you trying to tell them by asking them to be succinct? Their comment was already quite succinct. Yours, however…
-1
u/rafalsk Jul 28 '22
Being succinct usually means being straight to the point and concrete.
I always tackle all the comments and questions in such a way.
Claiming that another person is insane and/or suggesting the person to be trying to scam anyone without presenting any logical reasoning followed with bought 'likes' presumably,- as I would not presume any 'sane' person to be jumping into such bold conclusions at first glance, is not professional, at best.
It's all pro-freedom technology in every meaning of the word.
It only showcases why we need decentralized technologies.
Suddenly a single person appears and within a couple of minutes orders a botnet to down-vote everything.
2
7
u/[deleted] Jul 28 '22
https://gridnet.org/wpp/index.php/2022/03/10/computer-science-meets-life-part-1/
For those who feel like plunging themselves into the depths of insanity.