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 TH-cam rate-limits how fast commenters/me can I reply).
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?
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
@@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😊.
@@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.
@@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?
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!
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.
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...
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
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.
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
@@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
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"
@@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 !
@@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!
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!
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.
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.
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
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
Oh gawd... the format structure of Javascript is almost confusing for a budding Noobie Coder like me. I kinda understand. As a proof of concept. It's fucking neat. ✨👍
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
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.
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.
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. :)
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.
@@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
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 TH-cam rate-limits how fast commenters/me can I reply).
Thank you for everything you do! I hope your systems are stable and your bugs sparse!
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?
Thanks for your time 🤠
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
Awesome work Mark.
I built a decentralized chad app
haha
Alexa, play can you feel my heart
smashes like
@@Fireship how to put dapps in play store how contacted BTW them
How
This guy is God Gift for Developers😍, Back to Back Awesome Tutorials!👏
Looks like you have a nice channel there, subscribed!
@@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😊.
If Jeff subscribes then I will as well
@@isheanesunigelmisi8400 Thanks dude😊
@@arslantechlab subscribed .🙌This is an awesome channel about programming 👏
Finally: content on app architectures beyond the conventional server-client model dependant upon the corporate clouds (AWS, Google, _et cetera_ )!
Except, of course, that radix server in the middle acting as a non-cache storage.
Writing "etc" as "et cetera" must be one of the must pretentious things I've seen.
@@thecorruptversion, so you mustn't've seen very much, then, huh? Try getting out more.
@@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.
@@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?
So much freedom on one single tutorial.. I feel like going out for some range fun now :)
Wow. No firebase, and mom can't believe you did something that works! Amazing!
I'm a simple man, I see fireship upload, I click
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!
Man you're what I wish to be as a Developer! keep doing your stuff and hope you good health Jeff
I read this as "gnu web3" and I thought Richard Stallman wrote a new thing...
that would be really funny
Same here actually
Mee Too
jesus christ, dude.. in 15 minutes? you are the best of the best. period.
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.
For now, take my like/comment and sub. 💖💖
watched to learn about gunjs, left loving how simple svelte is
Your selection of technologies is great, I always learn something new on this channel, thanks
I knew I liked this channel for a reason.
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...
@Zelená Žaba we don't have native observables yet, but when we get them the API will be like RxJS
Love the cowboy music in the background 🤠. These little details always make your videos special
So excited for all of the web 3 content to come
The video I've been waiting for! Thank you Jeff 🤩
Is Svelte going to be your goto JS framework / library from now !? Glad to see svelte getting much deserved attention ! 😁
Congrats on 800k subs
Wow, that's been a ride. He's just under 3 mil now
please more videos on building decentralized api’s!
@@user-tu6oh2op9s wow
@@user-tu6oh2op9s scam
great to see you have used svelte!
WOW! You made my day by uploading this video
THIS IS YOUR BEST VIDEO!!!!!!! Thank you for explaining to us know all your design decisions :)
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
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.
🙏🙏🙏🙏
Video is about gun and it is like a bullet. To the point and fast. Nice work.
Richard Hendricks, your dream is coming to pass
This channel is really a god-gifted channel for developers😇😇
Watching fireship's videos makes me feel like I can learn anything XD
This is dope! I really like how fast you can start developing.... Me so happy...!
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
ipfs is not about NFTs. Marketplaces use IPFS as database to store graphics.
@@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
@@tobiokandi it's already being used by Audius and I believe NFTs are in their roadmap
What? A shitload of NFT marketplaces already use IPFS to store the meta json
Was waiting for your video ! You both are great ! Can't wait to have dapp popping everywhere !
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"
@@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 !
@@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!
I was thinking about a decentralised chatting app just yesterday!
This guy should have been at 1M already
awesome, as usual the quality of you content is amazing
Fireship always on target delivering premium content!
Perfect timing, I was just about to try this 🤣
Fireship on fire 🔥🔥🔥🔥
this is the future of the web highkey
Building a demo that's literally more secure, private, scalable and open than most popular chat apps in 10 minutes.
secure where?
@@digletwithn Unlike a lot of messaging apps, it technically implements E2E encryption, though with a hardcoded key.
@@rkvkydqf Most of messaging apps have encryption nowadays.
@@monarch0243 and without a hardcoded key in the first place
@@digletwithn Exactly/Obviously!
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!
absolutely! Gonna non-stop work until this is flawless. I'm very grateful to Fireship!
@@marknadal9622 nice one, Mark! Love your work!
Fireship rocks! You guys deserve maximum success!
D3js in 100 secondssssssss 🥳🥳🥳🥳
on the list
@@Fireship amazing! Thanks! Cant wait
This is an amazing tutorial! Please more videos on decentralized chat dapp topic
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.
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.
That was you!!! I was helping you test that! It was fun spamming
Content on 🔥, as always !
you are aweasome! built a chat app in 10 minutes
DAPP is my favorite genre
now this is cool, decentralisation is what is worth talking about imo
Really loved the use of Svelte instead of React!!!
Awesome video as always man
Nice nice nice!
This is exactly what the web needs this days.
Finally!! Thank you for this!
You definitely helped me through college
I just completed Silicon Valley, and here you are with a decentralized app tutorial. How do you do it man?!!?
HOW Do you have time to learn so many different topics, animate these awesome videos AND develop dapps???
Entrepreneurship
because make video is his work
It's a team of people.
I love it when you do svelte content
Waiting for this 🥰💖
Finally u talked about daap!
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
Finally someone talks about decentralization without hyping blockchain bullshit
I've seen enough Silicon Valley to know where this is going
Lol!
Oh sh*t the rats are coming
😂😂😂
@@empnadajhhh9469 wai wha
Omg 0:23 is why I love your stuff. I'm trusting you....lmfao
this is the kind of content I like :)))))
I was waiting for this, YES
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
Manh😂 you read people's mind 😂 I was think about this idea yesterday
Please do more tutorials on web3 like how to generate nfts, auto mint nfts, mass offers!
Please do more web3 specific content.
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
:0 you created 4 videos that led to this video noice
Extremely helpful
HEY THIS IS SO COOL, AND IT WORKS IN MOBILE
7:00 That double whitespace is triggering my OCD so hard XD
Awesome content!! And what's the badass western theme in the background in the beginning and at the end???
Woo! More Svelte content!
Nice tutorial,i was wondering if there is a way for us to see the data stored so far🤔
謝謝!
You should make a video in how create those cool Thumnails hahhaa
Oh gawd... the format structure of Javascript is almost confusing for a budding Noobie Coder like me. I kinda understand. As a proof of concept. It's fucking neat. ✨👍
You could make a online game with this well you would have to optimize it more but the idea is here
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
thank you will look into this
I wanted to build it. Thanks.
Awesome video! Question: Where is the relay server stored?
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.
This is an interesting test... it needs some optimization to handle the firehose of data
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.
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. :)
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.
@@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
Nice tutorial
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.
Pipernet - The Internet We
Deserve
If you like the idea, the Berty Project might interest you. It'll take a while still to be ready though.
Bhahaha I lost it when you started rapping at 00:19
Damn this is REALY fn cool!
Love the music
You're Super Awesome!
woooondeeeerrfuuuuull ❤️❤️❤️
Fireship is finally getting on the blockchain hype
Cool stuff, bro.