This is a tidy example of the project I’m working on, that uses a Python Websockets server and a Web front end. I can definitely learn from this, thank you.
@klaus49453 жыл бұрын
You are doing great job!!! Hope someday u will do voiceover while writing code!!! God bless You
@philipskird8649Ай бұрын
thanks for teaching me how to import correctly the node.js modules. in a short video. its so importent for easy online games too , that informations :-)
@amanchaturvedi53343 жыл бұрын
Because ur demonstration and implementation is awesome great learning for me 😄👍🙏
@Codingflag3 жыл бұрын
Glad to hear that!
@getsetalk2 жыл бұрын
Really helpful, please make video on P2P file transfer and chat system like WhatsApp
@aviatsports9 күн бұрын
great video! i was also wondering how you could make it so that you can use it sorta like a customer service live chat?
@Collossus-vc6wt Жыл бұрын
Nice work! Watched it on speed 1.5 and it looked perfect!
@Codingflag Жыл бұрын
Glad it helped.
@wierdpig1056 Жыл бұрын
@@Codingflag is it local ?
@aniketjoshi62862 жыл бұрын
PLease Give source code of this project
@buddyhartono64963 жыл бұрын
Awesome Tutorial 👍👍👍👍👍
@vhiroley3 жыл бұрын
Lovely Bhai 🤗👌👌
@fidelmudzamba20296 ай бұрын
This is really good. Source code would have been nice too
@noormohammadsazesh897Ай бұрын
Good job, which font are you using?
@iamadeal Жыл бұрын
It's really good. Can i get the source code please?
@_developer__64143 жыл бұрын
Yo u doin awesome things man, keep going!
@jgartdesignmarcenariaartes6202 Жыл бұрын
Great job! nice work
@Codingflag Жыл бұрын
Thanks a lot!
@alexdemeter1558 Жыл бұрын
Amazing job keep it going also source code please
@aleksboboychev Жыл бұрын
Nice work!
@sammedkumarchougala49124 ай бұрын
Thank you sir
@rangabharath42533 жыл бұрын
Awesome as always 👍😀
@eliebouley Жыл бұрын
Speechless ! Please wich IDE you use ? 😊😊😊
@Codingflag Жыл бұрын
sublime text
@eliebouley Жыл бұрын
@@Codingflag Thanks sir
@faygaming4355 Жыл бұрын
Great work my men. Can I get the source code please?
@F76823 ай бұрын
Awesome its working brother👍 but problem is that when new user joined it does not showing anything
@Codingflag3 ай бұрын
check is there any error on console. DM me on instagram, I will help to debug.
@F76823 ай бұрын
@@CodingflagThank you brother now my problem is solved and it's working 👍 sorry brother I am not using Instagram and Facebook😅 thank you for your support brother ❣️
@badrivenkatesan60453 жыл бұрын
Could you please show a class diagram of this P2P system with how you handle the notifications like "Person A joined the chat"
@Codingflag3 жыл бұрын
There is no class used to build this system, so class diagram is not possible.
@reactteamwdp76482 жыл бұрын
thank you so much sir
@sirjoi1628 Жыл бұрын
Hello, what program are you using on "1. Setting up project". Please tell us!
@lassyamiriyam5981 Жыл бұрын
Can I do this project in vs code directly without any installation as you shown in viedo or tell what application should I install in vscode to do this project please
@srikantsoni970011 ай бұрын
i have coded the whole by myself but its not working...it would be appreciated if you can share the source code 🙏
@AlexTheDev111 ай бұрын
Me too!
@rajatvashistha1665 Жыл бұрын
very helpfull tyyy
@slmmaula_2 жыл бұрын
Why is my join button not working? Please help me
@HerbyScott Жыл бұрын
Not only you bro
@HerbyScott Жыл бұрын
Did you find a solution?
@nothing-jr4bm2 жыл бұрын
Sir, everything is fine and properly working but my ''left the conversation" is not working but joined the conversation is working
@Codingflag2 жыл бұрын
can you check your socket listener name is written properly in both server and client side. Also you can check console to get proper error information. Reply to this if you face any error / issue along with your code.
@nothing-jr4bm2 жыл бұрын
@@Codingflag bug is fixed sir thank u for this amazing video
@Kuyanelsontv242 ай бұрын
Sir good day can i have the source code of this chatbbox
@someone-4k Жыл бұрын
Thanks very much😊keep it up bro.
@Codingflag Жыл бұрын
Thank you too
@zamyilton2 жыл бұрын
Please what is the name of the application used in the beginning
@Codingflag2 жыл бұрын
Its linux terminal
@zamyilton2 жыл бұрын
@@Codingflag thanks
@nelsonmuzahura62653 жыл бұрын
woooow
@baburao.creates2 жыл бұрын
bro i am getting this error Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') in code.js pls help me out
@Codingflag2 жыл бұрын
Can you share code so that I can help to debug. Also make sure you have added script tag at the end of body tag.
@baburao.creates2 жыл бұрын
@@Codingflag bro will this work perfectly if i upload it to production
@Codingflag2 жыл бұрын
yes
@manojgmanojg96002 жыл бұрын
Sir Everything is working well and good ,but when two person joined like ex join and left the conversation mssg is not displaying pls tell how to solve this error.
@Codingflag2 жыл бұрын
For this you need to maintain database of messages so that it can persist after logout. I have created one tutorial where I have used firebase as database and svelte. You can check that.
@manojgmanojg96002 жыл бұрын
@@Codingflag okk sir
@tohirramazonov-mk1dp7 ай бұрын
great
@tito55402 жыл бұрын
what is the black screen platform called and the white screen ?
@Codingflag2 жыл бұрын
Sublime text is code editor and Terminal is CLI tool
@sbiofficial6583 ай бұрын
Wow
@jegwaar6018 Жыл бұрын
i just wanna know does all messages will disapear after everyone logout. want some admin control like i can delete msg send by anyone but also collect some detail of person that sent msg so that i wont be in totaly dark. blocking a person block there ip to join room for 24 hr. if you could help me please i'm making a project first time
@WaydeWise Жыл бұрын
what theme do you use in sublime text?
@Codingflag Жыл бұрын
Guna
@WaydeWise Жыл бұрын
@@Codingflag thx
@xmythicgamingx28683 жыл бұрын
Nice its working
@anonymoussaif73613 жыл бұрын
Where the data will be store??
@Codingflag3 жыл бұрын
It's not stored anywhere, messages will be sent instantly to all room members. If you want to store message, I have created one video where I have used firebase to store messages.
@Nishant-f4w10 ай бұрын
Tell all the commands prompted in windows in terminal.
@Codingflag10 ай бұрын
Install git bash software and after that use bash terminal which supports these linux commands. basically below are the commands and their uses 1. touch - use to create file. You can create file using any of the way in windows. 2. cd - this also works in windows 3. npm - install nodejs on your machine to execute this.
@Kool_Conor Жыл бұрын
can you join from diferent computers?
@ahmedelmaqri45767 ай бұрын
bro common
@rockstarsai199 ай бұрын
bro, I am getting the white screen when i active the chat screen
@Codingflag9 ай бұрын
Any error on console?
@shemavictoire Жыл бұрын
thx very much
@Codingflag Жыл бұрын
You're welcome!
@VarshithaPatil5 ай бұрын
In which application we can create that mkdir..??
@Codingflag5 ай бұрын
If you are using windows then use command prompt or download git bash software. You don’t even need to use commands. You can do it using interface. mkdir = create folder with given name touch = create file with given name
@amanchaturvedi53343 жыл бұрын
Can I write this code in vs code please respond me??
@Codingflag3 жыл бұрын
yes
@lionel9038 Жыл бұрын
What do I have to do differently for a group chat?
@Bodige_Sri_Charan_Goud4 күн бұрын
Bro can you tell me the steps to host in server... I want to share the web site link to my guide
@Wander_Lens2 жыл бұрын
Bro can you tell me which node module i have to install for this project
@Codingflag2 жыл бұрын
express & socket.io
@Wander_Lens2 жыл бұрын
@@Codingflag npm install 🤩
@Reaperdip Жыл бұрын
how does sockets know or recognize the Type ?
@smartycode2 жыл бұрын
all the places seems to go fine, but isn't work to display message and when im inspecting it give me the message that Uncaught TypeError: Cannot read property 'addEventListener' of null so what shall i do
@Codingflag2 жыл бұрын
can you share your code so that I can help.
@Saggiskate2 жыл бұрын
how could I implement in the code a test to see if the username exists, so that I don't have two users with the same nickname? Thanks
@Codingflag2 жыл бұрын
Create global array in node and add username into that array when user joins and remove it when user leaves. Before joining the user, just check from maintained userlist array.
@Saggiskate2 жыл бұрын
@@Codingflag Thank you I have done it and it worked very well. I have one more question, is it possible to create a fixed administrator role to delete or remove users from the chat?
@Codingflag2 жыл бұрын
Yes you can create it just create one more page from where you can manage that users array.
@invisible27953 жыл бұрын
Nice 👍 can I get source code? 😊
@Codingflag3 жыл бұрын
Code is right there after demo part. If you face any issue while running it, message me on instagram along with github code link
@FREEDOM_SIDE2 жыл бұрын
@@Codingflag aM Having issues intergrating with my application
@jaypaul34842 ай бұрын
@codingflag brother localhost page is not updating even after completing index.html code, server page is keep showing This is HTML Please help
@EugeneAddo-r2b8 ай бұрын
Can it connect two different devices
@Codingflag8 ай бұрын
yes. for that you need to host it on server
@EugeneAddo-r2b8 ай бұрын
But can I use vscode's server
@Codingflag8 ай бұрын
no. In that case you can only use it for devices within your local network
@hanglethibich6835 Жыл бұрын
Can you application windows ?
@SchoolBoyJoooooo7 ай бұрын
i have a problem, when i try to join chat my program stay at the join screen. I already follow all your step, could you help me with this?
@Codingflag7 ай бұрын
can you upload your code on git and share link or DM link on insta so that I can help to debug
@SchoolBoyJoooooo7 ай бұрын
@@Codingflag ahhhh no worries, i already solved the problem thankyou for responding tho.
@Marcus_4056 ай бұрын
@@SchoolBoyJoooooo so what's the fix?
@SchoolBoyJoooooo6 ай бұрын
@@Marcus_405 miss type variables in css, in messages i didnt type the 's' (message)
@misqajap99456 ай бұрын
@@SchoolBoyJoooooohow bro?
@roshankumarb3257 Жыл бұрын
Bro.... This is a very nice session. Can I get your github id?
@suneelmekala54 Жыл бұрын
I am getting an error : io is not defined.
@ahmedallawi86387 ай бұрын
Make sure the library is installed
@sunbertyv3947 Жыл бұрын
This is incredibile but can this chatroom be share?
@LEARNANDEARN4219 ай бұрын
bor i am getting an errro when i enter chat from one tab and then from other tab to chatroom the first one already comes to the first page means reload
@programmerchauhan6582 жыл бұрын
How to make it not a personal so that every family has their own? Please tell
@Codingflag2 жыл бұрын
Host this app on heroku server.
@programmerchauhan6582 жыл бұрын
@@Codingflag thank sir
@Bodige_Sri_Charan_Goud4 күн бұрын
@programmerchauhan658 Bro did you host this to server...!??
@AbelAbel-le3pg5 ай бұрын
Is its likw random chat
@invisible27953 жыл бұрын
Bhai ye app only sample h ya install bhi kr skty hen agr play store per ho to link send kr dena mje thanks 😊
@Codingflag3 жыл бұрын
This is web app, you can make android app from this using cordova
@sethunthunder Жыл бұрын
how do i save the chat?
@yechielrosenzweig8790 Жыл бұрын
How I get the sources files?
@TGBDOfficial2 жыл бұрын
how can i get the code?
@niketnayan10202 жыл бұрын
I am not able to deploy it. Can you please help me?
@Codingflag2 жыл бұрын
kzbin.info/www/bejne/hGaui5uOprGcZqs I have created video on nodejs app deployment on heroku. If you are still facing issue then DM me on instagram.
@pocoace54152 жыл бұрын
the code.js wont work in me idk why
@Codingflag2 жыл бұрын
Can you share error if any
@МихаилПавлюкевич-с2ы3 ай бұрын
I did everything as in the video, but the buttons do not work, does not enter the room and does not send messages How can I fix this?
@Codingflag3 ай бұрын
DM on instagram, I will help you to debug the issue
Host it on heroku, you can find tutorials on youtube.
@Saske4433 жыл бұрын
source code? pls
@jfkongphop2 жыл бұрын
have github repo?
@manish_aravindh_20072 жыл бұрын
Dose people can chat online using this project? How many people can chat at the time?
@Codingflag2 жыл бұрын
It depends on max socket connections supported by your machine.
@quannguyenhuaminh29442 жыл бұрын
do you have github, can i get source pls ?
@Unknown-il3md Жыл бұрын
my code isn't showing joined conversation at end and cannot see other typing
@kavitawani36829 ай бұрын
my also u get any solution
@akhilv.a9155 Жыл бұрын
is there the code available
@htmoh81152 жыл бұрын
are you using VSC?
@Codingflag2 жыл бұрын
no. its sublime text 3
@htmoh81152 жыл бұрын
@@Codingflag ok
@onlyshort1302 Жыл бұрын
My joining page is not working
@carefree_ladka2 жыл бұрын
Add private chat functionality
@ninjaboiz1282 жыл бұрын
source code please
@HerbyScott Жыл бұрын
My join button don't work help me please
@alkapriyadarshini83474 ай бұрын
Sir what's your github id?
@shubhammusale692 Жыл бұрын
Thank u bro u are awesome it helped me a lot Totally working 😘😘😘😘😍😍😍😇😇😇😇😇😇😇🥰🥰🥰🥰🥰🥰
@Codingflag Жыл бұрын
Glad to hear that
@shubhamgarg50073 жыл бұрын
Its great but can I get the source code please?
@Codingflag3 жыл бұрын
sure, I will put it in git and update you
@Codingflag3 жыл бұрын
github.com/imgitto/Chatroom
@klaus49453 жыл бұрын
@@Codingflag Thx bro!!
@VikashYadav-km5gk Жыл бұрын
When running this command: node server.js node:internal/modules/cjs/loader:1051 throw err; ^ Error: Cannot find module 'C:\Users\Yadav\Documents\Chatroom\server.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15) at Module._load (node:internal/modules/cjs/loader:901:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.5.1 How to solve this error...
@Fort_Frenzy3 ай бұрын
Where did you make the server.js?
@PranotSolase Жыл бұрын
Touch is not recognized as an internal external command error
@HerbyScott Жыл бұрын
Use type nul
@adityaakmal207 Жыл бұрын
in 23:40 my console throw me an error "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'username')" how solution?
@Codingflag Жыл бұрын
Can you please upload code on git or any other platform and share link .. so that I can help to debug.
@estebanmolina79292 жыл бұрын
Im in 19:53, the console throw me an error "Uncaught ReferenceError: io is not defined" but io it was defined in server.js but it also does not allow me to use "require" because the console throw me the same error "Uncaught ReferenceError: require is not defined"
@Codingflag2 жыл бұрын
You can use another cdn link for socket.io library.
@zamyilton2 жыл бұрын
Hello, mine works well but when I go incognito mode, they don't see each other. I've tried opening normal tab, but they still don't see each other, it doesn't show joined conversation or left conversation, and when I say hello on one tab, it doesn't show on the other tab. But everything else is fine. What can I do??
@zamyilton2 жыл бұрын
And besides I'm using the latest socket. Which do I link to my html??
@zamyilton2 жыл бұрын
And is there any possible way to transfer to my phone 😂
@Codingflag2 жыл бұрын
can you share your code so that I can help to debug.
@DominicNweze2 жыл бұрын
@@zamyilton turn it into an app. Or put the code on a mobile editor.
@kavitawani36829 ай бұрын
Hello, mine works well but when I go incognito mode, they don't see each other. I've tried opening normal tab, but they still don't see each other, it doesn't show joined conversation or left conversation, and when I say hello on one tab, it doesn't show on the other tab. But everything else is fine. What can I do??@@Codingflag
@Youcan352 Жыл бұрын
can you share the code? please.
@Anime_editz672 жыл бұрын
Can you give src code
@mihirsarvaiya48823 жыл бұрын
Where are you write the code?
@Codingflag3 жыл бұрын
sublime text
@unlimitedchillan61433 жыл бұрын
@@Codingflag probably
@leandrohenrique6056 Жыл бұрын
❤️🙏🏽
@abfkabbo6118 Жыл бұрын
Can you provide the source code pls??
@RohitKumar-zp6ci6 ай бұрын
20:18 my join button is not working, i checked but couldn't find what went wrong
@Codingflag6 ай бұрын
You can check console to check the errors.
@raunakkumarmishra14494 ай бұрын
@RohitKumar-zp6ci same issue, do you find any bug?
@RohitKumar-zp6ci4 ай бұрын
@@raunakkumarmishra1449 I was trying to run only the index.html file