GUN author here! Gaaaaah the app is already swamped, OK looks like I'm gonna need to working on my scaling code... trying to fix things now! Probably too late. Please try to run a local version of the project in the meanwhile (so sorry) - and I'm happy to answer any Qs too (tho KZbin rate-limits how fast commenters/me can I reply).
@thomaslauer10153 жыл бұрын
Thank you for everything you do! I hope your systems are stable and your bugs sparse!
@kahungchim63673 жыл бұрын
Hi there, I would consider to build a forum app with gun, however I am concerned that some features like banning users or advanced user management would be impossible. Is it actually the case? Or it is something possible to implement?
@nirajsheladiya82463 жыл бұрын
Thanks for your time 🤠
@deidyomega3 жыл бұрын
What would running a local copy of the code do? It looks like its all client side. So if I compile the code locally and run it, or download the code from the webapp and run it, it should run at the same speed, and have the same scaling problems
@roastgg3 жыл бұрын
Awesome work Mark.
@arslantechlab3 жыл бұрын
This guy is God Gift for Developers😍, Back to Back Awesome Tutorials!👏
@Fireship3 жыл бұрын
Looks like you have a nice channel there, subscribed!
@arslantechlab3 жыл бұрын
@@FireshipProud Moment for me sir❤😍 I have a great plans for this channel. I'm working on data structures and algorithms & Nodejs series right now. And then I'll make a complete courses on javascript, Reactjs and many more😊.
@isheanesunigelmisi84003 жыл бұрын
If Jeff subscribes then I will as well
@arslantechlab3 жыл бұрын
@@isheanesunigelmisi8400 Thanks dude😊
@shafiaansar8633 жыл бұрын
@@arslantechlab subscribed .🙌This is an awesome channel about programming 👏
@the_primal_instinct3 жыл бұрын
I built a decentralized chad app
@Fireship3 жыл бұрын
haha
@bookle58293 жыл бұрын
Alexa, play can you feel my heart
@sleyeborgrobot68432 жыл бұрын
smashes like
@housefull24322 жыл бұрын
@@Fireship how to put dapps in play store how contacted BTW them
@kattagroup2k232 жыл бұрын
How
@y9tw0t3 жыл бұрын
Finally: content on app architectures beyond the conventional server-client model dependant upon the corporate clouds (AWS, Google, _et cetera_ )!
@tal_the_great2 жыл бұрын
Except, of course, that radix server in the middle acting as a non-cache storage.
@thecorruptversion2 жыл бұрын
Writing "etc" as "et cetera" must be one of the must pretentious things I've seen.
@y9tw0t2 жыл бұрын
@@thecorruptversion, so you mustn't've seen very much, then, huh? Try getting out more.
@thecorruptversion2 жыл бұрын
@@y9tw0t Well done for deleting your original comment, because it made no sense. The "try getting out", "go outside" and arguments of that kind are so 2009. Try a better pre-made comment next time.
@y9tw0t2 жыл бұрын
@@thecorruptversion ahh, yes, because the validity of a thought is a function of it's newness; nothing that's "2009" (whatever that even means) 🙄 can be sound. Also, I said _get out_ because you portrayed something that's not at all pretentious as the *"must"* pretentious thing ever when there are myriad things that're a great deal more pretentious, indicating that you're either deficient in experiences out in the world or deficient in attention to details. Oh, and, the only reason I amended my original response is that it occurred to me that you probably aren't the sort who bothers to backup your arguments when someone like myself takes them seriously and gives you an opportunity to make them make sense. Here's, more or less, my original response -let's see if you entertain it in good faith: "How do you figure that using the unabbreviated form of a term amounts to pretention? And, what, do you abbreviate everything, then; only _approx._ , never _approximately_ ; only _no._ , never _number_ ; _et cetera_ ?" There anything else you need explained for you?
@GrazianoBF3 жыл бұрын
So much freedom on one single tutorial.. I feel like going out for some range fun now :)
@stephen98493 жыл бұрын
I read this as "gnu web3" and I thought Richard Stallman wrote a new thing...
@kraskaska3 жыл бұрын
that would be really funny
@mohamedtalaatharb24413 жыл бұрын
Same here actually
@KunalKumar-dz4kb3 жыл бұрын
Mee Too
@stfalx3 жыл бұрын
Wow. No firebase, and mom can't believe you did something that works! Amazing!
@TheIlham9803 жыл бұрын
Man you're what I wish to be as a Developer! keep doing your stuff and hope you good health Jeff
@IceBreakerGamer3 жыл бұрын
I'm a simple man, I see fireship upload, I click
@MrDallix3 жыл бұрын
I am planning on using gun as a framework for realtime crossplatform notifications in a web app I'm making. Absolutely love it! Thank you for making coding easy!
@m3po223 жыл бұрын
I wish more people used observables. It's a unified API for async that simplifies everything. No friggin async/await everywhere, no one-off event listener syntax, etc...
@m3po223 жыл бұрын
@Zelená Žaba we don't have native observables yet, but when we get them the API will be like RxJS
@keerthivasan61073 жыл бұрын
Is Svelte going to be your goto JS framework / library from now !? Glad to see svelte getting much deserved attention ! 😁
@Mikkysam523 жыл бұрын
Richard Hendricks, your dream is coming to pass
@DevMadeEasy3 жыл бұрын
Hey FireSHip🔥. 😮 Wow, great content, as always!!! I just 💜loved it. Thanks for sharing it!🙏 Besides being a programmer, you are an expert in "After Effects"... This video is breathtaking.
@froggo43633 жыл бұрын
🙏🙏🙏🙏
@svenkuffer45123 жыл бұрын
Reminds me of the IPFS, InterPlanetary File System, a decentralized file storage using a distributed hash table, often used in addition with NFTs and Blockchain
@DimaNoizinfected3 жыл бұрын
ipfs is not about NFTs. Marketplaces use IPFS as database to store graphics.
@svenkuffer45123 жыл бұрын
@@DimaNoizinfected that‘s what i said, in addition to NFT, the NFT has an id which is a hash of the files metadata, that is used to lookup the location in the DHT, and then you can retrieve it in the ipfs
@Mopark253 жыл бұрын
@@tobiokandi it's already being used by Audius and I believe NFTs are in their roadmap
@arpee13373 жыл бұрын
What? A shitload of NFT marketplaces already use IPFS to store the meta json
@0xcoburn3 жыл бұрын
please more videos on building decentralized api’s!
@kage-musha17023 жыл бұрын
@@user-tu6oh2op9s wow
@MalumFashEntertainment3 жыл бұрын
@@user-tu6oh2op9s scam
@tuliomop3 жыл бұрын
Your selection of technologies is great, I always learn something new on this channel, thanks
@crowlsyong2 жыл бұрын
What you do for the dev world...is just amazing. THANK YOU. Please keep making (some) free content. I promise I'll get a few months of your pro thing soon.
@crowlsyong2 жыл бұрын
For now, take my like/comment and sub. 💖💖
@princejoogie3 жыл бұрын
watched to learn about gunjs, left loving how simple svelte is
@jordanasghar64193 жыл бұрын
You could take the data layer further and start pushing to IPFS and the Filecoin network for massive scalability. Here, you have a prebuilt, state of the art system for storing decentralised data on hard drives across the world, at a fraction of the cost of cloud vendors.
@nhivothianh4030 Жыл бұрын
Can you help me answer the question? this youtube clip build a dapps, do i need to use IPFS. Currently, I just build to introduce how decentralized database works between 2 computers.
@rkvkydqf3 жыл бұрын
Building a demo that's literally more secure, private, scalable and open than most popular chat apps in 10 minutes.
@digletwithn3 жыл бұрын
secure where?
@rkvkydqf3 жыл бұрын
@@digletwithn Unlike a lot of messaging apps, it technically implements E2E encryption, though with a hardcoded key.
@monarch02433 жыл бұрын
@@rkvkydqf Most of messaging apps have encryption nowadays.
@digletwithn3 жыл бұрын
@@monarch0243 and without a hardcoded key in the first place
@monarch02433 жыл бұрын
@@digletwithn Exactly/Obviously!
@fatgolem693 жыл бұрын
Congrats on 800k subs
@LabGecko6 ай бұрын
Wow, that's been a ride. He's just under 3 mil now
@amos6602 жыл бұрын
jesus christ, dude.. in 15 minutes? you are the best of the best. period.
@shauryajain42153 жыл бұрын
Love the cowboy music in the background 🤠. These little details always make your videos special
@thedoubleop3 жыл бұрын
I knew I liked this channel for a reason.
@jata13 жыл бұрын
I just found this channel and you are so good! All of your videos are so polished and juicy! Thank you for your videos and inspiring me to explore more development
@alphaNaj3 жыл бұрын
great to see you have used svelte!
@aqibsuhail83883 жыл бұрын
I just completed Silicon Valley, and here you are with a decentralized app tutorial. How do you do it man?!!?
@minnow13373 жыл бұрын
So excited for all of the web 3 content to come
@JeyPeyy3 жыл бұрын
HOW Do you have time to learn so many different topics, animate these awesome videos AND develop dapps???
@Altessaire3 жыл бұрын
Entrepreneurship
@butterfly75623 жыл бұрын
because make video is his work
@sazaraki3 жыл бұрын
It's a team of people.
@0xNES3 жыл бұрын
Was waiting for your video ! You both are great ! Can't wait to have dapp popping everywhere !
@computadorhumano9493 жыл бұрын
Do you not a spoker English? Why i am ask because my teach english tell me that i always do need put with subject before of sentence in this case "i was wanting for your video"
@0xNES3 жыл бұрын
@@computadorhumano949 I'm not native if that's your question. Your english teacher is right tho, you should put the subject before the verb. My mistake !
@LabGecko6 ай бұрын
@@0xNES said _"Your english teacher is right tho, you should put the subject before the verb."_ Technically, yes, but what you wrote in the original post is how most English speakers write in text / comments. Saying this in person would be: "I was waiting for your video! You're both great! Can't wait to have dapp popping everywhere!" Not much difference. I'm not sure why we anglophones use 'I was' at the start. Perhaps it just sets what or who is being spoken about. Good luck with your languages!
@AbhishekSalunkhe-fg2sy2 жыл бұрын
Video is about gun and it is like a bullet. To the point and fast. Nice work.
@313comput3 жыл бұрын
I've seen enough Silicon Valley to know where this is going
@davidbeckham16533 жыл бұрын
Lol!
@VivekYadav-ds8oz3 жыл бұрын
Oh sh*t the rats are coming
@gainbrain13383 жыл бұрын
😂😂😂
@aqibsuhail83883 жыл бұрын
@@empnadajhhh9469 wai wha
@hourglass84503 жыл бұрын
Watching fireship's videos makes me feel like I can learn anything XD
@PranshuTheGamer3 жыл бұрын
I was thinking about a decentralised chatting app just yesterday!
@nathandaven3 жыл бұрын
this is the future of the web highkey
@nickydevendt3 жыл бұрын
This is dope! I really like how fast you can start developing.... Me so happy...!
@yashkalavadiya50213 жыл бұрын
This guy should have been at 1M already
@piltonswrangbrahma51403 жыл бұрын
Fireship on fire 🔥🔥🔥🔥
@leonardotarla27233 жыл бұрын
You can also use akash network to build a dapp. It's a decentralized network build in blockchain that accepts any kind of application that uses docker container
@jiren89913 жыл бұрын
WOW! You made my day by uploading this video
@SecularDarwinism3 жыл бұрын
The video I've been waiting for! Thank you Jeff 🤩
@Valiant6003 жыл бұрын
Really loved the use of Svelte instead of React!!!
@RonnieDenzel5 ай бұрын
Nice tutorial,i was wondering if there is a way for us to see the data stored so far🤔
@xulipaTV3 жыл бұрын
Fireship always on target delivering premium content!
@codedByAyush2 жыл бұрын
This channel is really a god-gifted channel for developers😇😇
@MrSamkots Жыл бұрын
Awesome content!! And what's the badass western theme in the background in the beginning and at the end???
@anupamdahal70293 жыл бұрын
THIS IS YOUR BEST VIDEO!!!!!!! Thank you for explaining to us know all your design decisions :)
@willd46863 жыл бұрын
That was you!!! I was helping you test that! It was fun spamming
@hannibal.b52423 жыл бұрын
awesome, as usual the quality of you content is amazing
@Fiwiipe2 жыл бұрын
I wonder how it can scale up with millions of users because there would be so much data that to store on each peer that don't seems to be feasible.
@BozmanWJ3 жыл бұрын
Perfect timing, I was just about to try this 🤣
@David-iq1kd7 ай бұрын
With the app getting "swamped" does this mean Gun.js doesn't scale well? Not hating here just trying to get a feel for it's limits. Seems like an amazing project and I'd like to understand it's limitations.
@BeckmannBuda26 күн бұрын
Thanks for the analysis! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (behave today finger ski upon boy assault summer exhaust beauty stereo over). How should I go about transferring them to Binance?
@aleksd2863 жыл бұрын
DAPP is my favorite genre
@TheRollupCo2 жыл бұрын
This is an amazing tutorial! Please more videos on decentralized chat dapp topic
@losbopfos56373 жыл бұрын
Nice nice nice! This is exactly what the web needs this days.
@brandonsayring3 жыл бұрын
Great idea! You really pushed GUN to its limits (making the app laggy and completely unusable) but it must be great field test for them to observe and make improvements on the source code from!
@marknadal96223 жыл бұрын
absolutely! Gonna non-stop work until this is flawless. I'm very grateful to Fireship!
@brandonsayring3 жыл бұрын
@@marknadal9622 nice one, Mark! Love your work!
@CodeWithVlad3 жыл бұрын
Awesome video! Question: Where is the relay server stored?
@moh68233 жыл бұрын
D3js in 100 secondssssssss 🥳🥳🥳🥳
@Fireship3 жыл бұрын
on the list
@moh68233 жыл бұрын
@@Fireship amazing! Thanks! Cant wait
@THEMithrandir095 ай бұрын
If you like the idea, the Berty Project might interest you. It'll take a while still to be ready though.
@alongoren6163 жыл бұрын
Please do more tutorials on web3 like how to generate nfts, auto mint nfts, mass offers!
@yollotltamayo26853 жыл бұрын
Awesome video as always man
@fruduruk3 жыл бұрын
I think it works but it is extremely slow. I wonder how many people are online rn and what happens if 90% go offline. This must mean there is a moving limit on how much this decentralised db can handle.
@Fireship3 жыл бұрын
This is an interesting test... it needs some optimization to handle the firehose of data
@augustday94833 жыл бұрын
I feel like this system would work well for an adhoc chat thread system where a group of users are in a chat together, sending messages, and then when they're done they leave the chat and that data goes away. If your use-case is designed around active users in small rooms, the decentralization would work well (the chatters serve as their own mini peer network). Idk, just spitballing.
@marknadal96223 жыл бұрын
Definitely my fault, still working on improvements. Why I haven't been replying to comments... debugging a ton. Sorry again, everyone! But I won't stop until this works flawlessly. @SzymeX "complex"? GUN is only like ~9KB! That is smaller than lodash! With default adapters (networking, storage) GUN is about 13KB, add in cryptography + routing algorithms is about another +16KB. Extremely tiny. :)
@ImperiumLibertas3 жыл бұрын
The problem with decentralized tech is incentivizing people to constantly seed the data to make both stable and actually decentralized. I wonder what is stopping someone from posting messages in the past or completely rewriting the history all together. Is there a consensus algorithm being used? All things that will need to be figured out in time.
@phxcppdvlazi2 жыл бұрын
@@augustday9483 then how about having "rooms" (no chat data) be distributed as well? basically just a layer on top of rooms which are created using a decentralized "chat room matchmaking" app. Then when users enter the room another mini p2p app is started
@sarthaksehgal2800 Жыл бұрын
So a decentralised architecture with centralised relay servers. Isn't this back to square one?
@PASTRAMIKick3 жыл бұрын
I broke the app, I cleared all data from the app on my browser while still logged in and now there's no way to sign out, and a single user can only have one active session.
@theonewhowill49033 жыл бұрын
If everything is stored everywhere, how do you implement security logic and prevent others from decrypting this information?
@hgghyxo3 жыл бұрын
by using a unique and strong key pair, i guess
@marknadal96223 жыл бұрын
Zsolt is correct! ECDSA/ECDH are used by default.
@loudcoringa59352 жыл бұрын
you are aweasome! built a chat app in 10 minutes
@fev43 жыл бұрын
But where did you deploy it!? This is so interesting. I'd love to see more for sure
@marknadal96223 жыл бұрын
"it" is the deployment - as a .html you can open from your filesystem, email to people, or put on codepen, jsbin, or github pages, netlify, vercel, anywhere!
@fev43 жыл бұрын
@@marknadal9622 Ohhh, and what about the database and backend? If I were to have a proxy, where could I deploy it? Anywhere where node.js is supported?
@marknadal96223 жыл бұрын
@@fev4 Yupe!
@nhivothianh4030 Жыл бұрын
@@marknadal9622 Can you help me answer the question? this youtube clip build a dapps, do i need to use IPFS? Currently, I just build to introduce how decentralized database works between 2 computers.
@richarddees57512 жыл бұрын
Today, I was thinking that, maybe someday, I wanted to build an application based on blockchain. I think about a blockchain as a giant kurbernete cluster where millions (could be billions) machines connected each other as nodes. And I don't worry about managing the whole cluster/blockchain myself. :DD
@AndyChamberlainMusic3 жыл бұрын
can you make the scrollbar a bit thicker lol so hard to click
@betoharres3 жыл бұрын
i remember when the author of gun first introduced this library on hackernews, a bunch of mean comments pointing fingers to him basically telling this is a stupid idea, at least the guy kept straight with the comments
@liquidsnake68792 жыл бұрын
now this is cool, decentralisation is what is worth talking about imo
@torvic992 жыл бұрын
Fireship rocks! You guys deserve maximum success!
@anthem29243 жыл бұрын
You definitely helped me through college
@reitznerdomenik3 жыл бұрын
I love it when you do svelte content
@azatecas3 жыл бұрын
Oh man can wait till i get out of work, im doing this tutorial, ever since you introduced gun.js i haven't stopped thinking about it
@mritunjay4ever2 жыл бұрын
dApp the data is not controlled by anyone instead it is decentralized across the entire userbase. Gun stores a small subset of data on each user based on the data that they consumed in the app(peer to peer). when a user makes a query for something a request will be made which will search for other users that have that data and sync it up.
@felipearmijo62423 жыл бұрын
Content on 🔥, as always !
@McDjurhuus2 жыл бұрын
Please do more web3 specific content.
@Munafio2 жыл бұрын
You have a typo error with the title of this video, (chat app) instead of (chat dapp) .. Thank you for your great content ❤️
@Akhbash2 жыл бұрын
7:00 That double whitespace is triggering my OCD so hard XD
@AminovJP Жыл бұрын
Hello Fireship, discovered your great channel and now watching all your videos : ) , regarding this one i just tried, but have one concern, how to avoid a user to put garbage data from the browser console by executing client side JS? since the variable GUN is accessible. Thank you.
@karis75393 жыл бұрын
Do you work for the Pied Piper?
@wota_pov3 жыл бұрын
Finally u talked about daap!
@TheCodeDealer3 жыл бұрын
You should make a video in how create those cool Thumnails hahhaa
@boredduck2313 жыл бұрын
:0 you created 4 videos that led to this video noice
@ahmedcheheb-d4m8 ай бұрын
just i have a question can we build a decentiralized and centralized application on the same time it just now iam building an app that have payment feature i create it using node js exepress connected with mongo db but i want to add a web 3 feature to my app by accluding a crypto payment in my app is that possible
@mansourfall28593 жыл бұрын
Thanks @Fireship amazing content as always! Any plan to do "Web 3" video?
@gaptekdev3 жыл бұрын
Hi, what is layer communication used by gun.js..?, I mean between one device and other, is there a server (for transporter) must be provided?
@marknadal96223 жыл бұрын
WebRTC, Websocket, UDP multicast, etc. there are adapters for most transports.
@chikenei3 жыл бұрын
can i use this technique on wordpress??
@zainul-ab86112 жыл бұрын
can't understand to use svelte UI and that npx degit sveltejs/ thing!!
@pantelistsak93763 жыл бұрын
Hi, how does gunjs know how to connect us to the same app? I mean there is a server right? That connects me and you and the gunjs takes on?
@marknadal96223 жыл бұрын
Firewalls and "NAT traversal" prevent browsers from connecting directly without (sigh) signal or relay peer - but these are decentralized as well. One of the new things I'm trying is to automatically rotate/connect to those "discovery" peers with AXE, previously app developers had to manually configure this.
@pantelistsak93763 жыл бұрын
@@marknadal9622 ok thanks for the explanation, because it seems like magic at first glance 😅
@MashaoleMogale2 жыл бұрын
i see that the db is decentralized but where did you host the app as you said it cost you nothing to run , ive been looking for a decentralised db and hosting solution
@SumonRayy3 жыл бұрын
Waiting for this 🥰💖
@nooblero3 жыл бұрын
How does it work from routing point of view? Users still connect to servers and from those servers they are introduced and from there they start the "distributed" db?
@marknadal96223 жыл бұрын
Great Q! Relay peers run the same code as browsers. So any machine can be a relay as long as it has a public IP address. Then we're collecting a volunteer list of these IP addresses and automatically gonna have browsers rotate through them, to then discover other peers, so that way everything stays decentralized!
@tofo71512 жыл бұрын
I have concerns with the latency. How will web 3.0 solve issues that might arise with regards to distributing data of real-time web applications? (speed and latency issues)
@MuhammadAwais-hf7cg2 жыл бұрын
does these decentralized apps does not have a major breaking point of lack of resources to store data on local user's device? like for this scenario, after 1 year usage of both types of chatapp, whatsapp consumes very less amount of resources of user's device as compare to decentralized chatapp? am i right? if yes then how these decentralized apps can beneficial for us?
@iqgustavo3 жыл бұрын
Wonder what is your opinion about the "session messaging app"... Thanks for a great video! Although I'm only a non programmer user ...
@goobertnelius2 жыл бұрын
You could make a online game with this well you would have to optimize it more but the idea is here