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 RUclips 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!
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...
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.
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.
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
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!
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
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.
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!
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
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
"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!
@@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?
@@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.
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
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.
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
Is the sync supposed to be this laggy (on the app now), or is that a gun issue? Is it because there is too much "history"? Cool concept, but we had better chat experiences in the 90's with yahoo messenger :P
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.
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?
Appreciate the detailed breakdown! A bit off-topic, but I wanted to ask: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How should I go about transferring them to Binance?
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 RUclips 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!
Man you're what I wish to be as a Developer! keep doing your stuff and hope you good health Jeff
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!
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
I'm a simple man, I see fireship upload, I click
Congrats on 800k subs
Wow, that's been a ride. He's just under 3 mil now
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
Your selection of technologies is great, I always learn something new on this channel, thanks
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. 💖💖
Richard Hendricks, your dream is coming to pass
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.
🙏🙏🙏🙏
I knew I liked this channel for a reason.
watched to learn about gunjs, left loving how simple svelte is
please more videos on building decentralized api’s!
@@user-tu6oh2op9s wow
@@user-tu6oh2op9s scam
So excited for all of the web 3 content to come
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
Is Svelte going to be your goto JS framework / library from now !? Glad to see svelte getting much deserved attention ! 😁
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!
Love the cowboy music in the background 🤠. These little details always make your videos special
The video I've been waiting for! Thank you Jeff 🤩
great to see you have used svelte!
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!
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
This is dope! I really like how fast you can start developing.... Me so happy...!
THIS IS YOUR BEST VIDEO!!!!!!! Thank you for explaining to us know all your design decisions :)
WOW! You made my day by uploading this video
awesome, as usual the quality of you content is amazing
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.
Fireship on fire 🔥🔥🔥🔥
I was thinking about a decentralised chatting app just yesterday!
This guy should have been at 1M already
Fireship always on target delivering premium content!
Watching fireship's videos makes me feel like I can learn anything XD
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.
Perfect timing, I was just about to try this 🤣
Video is about gun and it is like a bullet. To the point and fast. Nice work.
this is the future of the web highkey
D3js in 100 secondssssssss 🥳🥳🥳🥳
on the list
@@Fireship amazing! Thanks! Cant wait
Content on 🔥, as always !
This channel is really a god-gifted channel for developers😇😇
you are aweasome! built a chat app in 10 minutes
That was you!!! I was helping you test that! It was fun spamming
Nice nice nice!
This is exactly what the web needs this days.
This is an amazing tutorial! Please more videos on decentralized chat dapp topic
Fireship rocks! You guys deserve maximum success!
Awesome video as always man
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!
I've seen enough Silicon Valley to know where this is going
Lol!
Oh sh*t the rats are coming
😂😂😂
@@empnadajhhh9469 wai wha
Really loved the use of Svelte instead of React!!!
now this is cool, decentralisation is what is worth talking about imo
Omg 0:23 is why I love your stuff. I'm trusting you....lmfao
I just completed Silicon Valley, and here you are with a decentralized app tutorial. How do you do it man?!!?
Nice tutorial,i was wondering if there is a way for us to see the data stored so far🤔
I love it when you do svelte content
You definitely helped me through college
7:00 That double whitespace is triggering my OCD so hard XD
DAPP is my favorite genre
Finally someone talks about decentralization without hyping blockchain bullshit
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
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
Awesome content!! And what's the badass western theme in the background in the beginning and at the end???
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.
Finally!! Thank you for this!
Finally u talked about daap!
Waiting for this 🥰💖
Please do more tutorials on web3 like how to generate nfts, auto mint nfts, mass offers!
Manh😂 you read people's mind 😂 I was think about this idea yesterday
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
Awesome video! Question: Where is the relay server stored?
:0 you created 4 videos that led to this video noice
If you like the idea, the Berty Project might interest you. It'll take a while still to be ready though.
But where did you deploy it!? This is so interesting. I'd love to see more for sure
"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!
@@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?
@@fev4 Yupe!
@@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.
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
this is the kind of content I like :)))))
would you trust this library for enterprise grade software? probably not?
Extremely helpful
Please do more web3 specific content.
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.
HEY THIS IS SO COOL, AND IT WORKS IN MOBILE
So a decentralised architecture with centralised relay servers. Isn't this back to square one?
You should make a video in how create those cool Thumnails hahhaa
You could make a online game with this well you would have to optimize it more but the idea is here
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
can you make the scrollbar a bit thicker lol
so hard to click
Is the sync supposed to be this laggy (on the app now), or is that a gun issue? Is it because there is too much "history"? Cool concept, but we had better chat experiences in the 90's with yahoo messenger :P
This is my fault currently. I take all blame!
@@marknadal9622 Nice stress test for such an awesome idea!
@@marknadal9622 No worries man. Great work. Are you open to contributers?
@@deidyomega YES PLEASE.
@Antonio Ruby, indeed, oye!
Bhahaha I lost it when you started rapping at 00:19
Thanks @Fireship amazing content as always! Any plan to do "Web 3" video?
If everything is stored everywhere, how do you implement security logic and prevent others from decrypting this information?
by using a unique and strong key pair, i guess
Zsolt is correct! ECDSA/ECDH are used by default.
謝謝!
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.
Woo! More Svelte content!
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?
Do you work for the Pied Piper?
Appreciate the detailed breakdown! A bit off-topic, but I wanted to ask: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How should I go about transferring them to Binance?