Was 2017 when i first started learning programming and this channel was first in my list. After 5 years in my career as senior dev still coming back to this to learn new stuff. thank u so much ^^
hhahaha, all tools that are forced to cross platform always end up badly in terms of memory resources. I used to try cordova just made a simple to-do-list app, I ran it on my phone and my phone got hot in just 5 minutes lol
Dude, I am literally checking for latest Electron tutorial. Many people comment about this, but never thought it will happen to me. Anyway thanks buddy.
Thank you for the tutorial! I like that you focus on electron and not on adding a front-end framework in the mix. It made the way you explained the main process, renderer and IPC communication very clear!
I went through this slowly and carefully...took several hours so that I could digest things...especially the ipc stuff. It makes a lot more sense now. I do hope you'll update your udemy course on this some day. That said, I know enough to be dangerous now and I really like what can be done with Electron. Thanks!
I just finished your react udemy course and then i was researching a a problem i wanted to solve and this youtube video was exactly concept i was looking for
This was super useful! Thank you so much! What would be super helpful is showing how to set up a webpack in the renderer. And show how to set up a framework in the rednerer.
Thanks for this one, I have never tried electronjs, it was something I was kinda avoiding but I find it super interesting. And also it refreshes a lot the knowledge of node usage. Don't hesitate to make more ;) All the best from Barcelona
@traversymedia Brad, I’ve lurked on TH-cam and other sites for a while as I am trying to learn JavaScript for a upcoming Bootcamp and I’ve been stressing because I keep getting stuck in trying one resource and moving to the next as it feels too slow. I watched some of your JavaScript TH-cam videos and am completely impressed with how you structure the learning topic and your tone that you teach in. You make beginners feel welcomed and hopeful. I just purchased two of your courses on Udemy and want to thank you for the top tier content and hope you are getting enough support to continue producing such high quality material. Please, if you don’t do it already, start a podcast man. I, among many others, would love to dive into that content with you. Cheers my friend!
@@subiebugeye02 if you want to program web apps learn c+ javascript is mainely for web apps and web pages, this stuff is really for advanced users in javascript to be able to code desktop apps without learning new languages
Hey, thanks for the vid... always fun working with your tutorials... Something that threw me ... when setting the values on the width and height fields of the selected image form, the values were invisible (I thought it was failing) but turned out the text color was opaque for some reason, so setting style color to black to both inputs "fixed" it. May go back and determine the source of the problem and do a more systemic adjustment later, but love your teaching style. No BS and fundamental.
Html/css/js can be used now to build pretty much any software, server side, front end, even mobile apps and of course desktop apps with electron. No other stack can compete hence why JS is the #1 programming language :)
you can do that with c# which is faster and obviously a better choice to develop such applications except for web applications.Right now, You can develop cross-platform (web, macOS, windows, ios, android...) applications with html, css, c#. 😉
I am getting back into programming after nearly 25 years. I am absolutely amazed at what Javascript has become. For reference, last time I used Javascript all we had was var. And the thought of using it for server side was Twilight Zone levels of science fiction. 😂
What steps must developers creating desktop apps with Electron use to make those accessible to screen reader software that blind folks use? Came across something recently to configure a device for recording wildlife and if it was a web page, could benefit from labels for text edit fields, radio buttons and checkboxes. But with electron, what is the best practice so that the app is then screen reader accessible?
Thanks for this one! I am creating one desktop application using electron now I want to connect it to the database. Can you tell me anything that I need to do?
@@AbhishekBM Why not? He has done a tutorial on Rust and this is a tutorial on desktop application... I guess it depends on him but it wouldn't be new to his ecosystem
REALLY interesting video, thanks for that Brad! Don't know what I would give for a course on a Vanilla HTML/Javascript/CSS to Native Mobile App conversion [maybe using Cordova?]. The discontinuation of PhoneGap has left a huge gap in that respect (yes, I am WELL aware of its drawbacks, but I'm obviously NOT talking about creating one million plus downloads gaming apps here)
@@erasmusmensah Wish it were that simple. Most of the time, it's really a matter of prestige - there are clients out there who INSIST on a native app where a PWA would totally suffice
Can you do a video on building a TH-cam to MP3 Converter? All the ones online are sketchy. It would be awesome if we could build our own. Love the video!
It doesn't make sense to worry about memory leaks when your application closes. Even in C++ if you have forgot to free stuff in the heap when the whole application ends all of the memory will be claimed back by the OS. It doesn't make sense to set that window to null when your closing your app. Unless electron apps don't 'close' and just run in the background like chrome does even when you close all the windows - which would be stupid if it did this
Oh, and early implementation of the "about" window is generating a new instance of every selection. If not addressed in later in this tutorial, and easy way to prevent this?
How is this an issue in 2022? Developers like making a mountain out of a molehill. Today average computer users are just doing fine with PCs and Macs with 256GB of storage. We are no longer storing photos, music and movie files on our computers to worry so much about storage. This is the same argument most developers make against certain technologies arguing that technology X cannot support millions of users yet in the entire life they'll never build a product or service for millions of users. Every dev out there argues as if he is building the next Facebook.
@@imbayi Sir.... but if I just want a simple image resizer, for this, I am asked to download 100MBs software then I would definitely think that there should be some malware/spyware/resource consumer program also running with that software
Thanks a lot Traversy. I had a lot of trouble though getting the file-path from my renderer.js file. It was simply not available at files[0].path. So I had to send a unit8Array to main.js
Love your videos and thanks for sharing your knowledge. Will your updated Udemy course include working with React? I find that there's a big gap there as someone who's coming from React and trying to figure out how to use that With Electron. Also, when is it due to be updated?
Hi Brad. I was wondering, how do you get the css file used in this electron app? Since it is Tailwind css, did you design elsewhere and treeshaking the classes first or that is full css in Tailwind?
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + npm init + ~~~ + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I don't mean to disrespect, but why are we still using electron in the holy year of 2022? There are plenty more options that use simple html, css and js and are easy to learn and easier to run performance wise. I would personally promote NW.js and Tauri more then Electron. You don't have a Tauri course and the NW.js one is 2 years old. Keep it up though, you were one of the first channels I watched when I started learning to program and I appreciate your help.
I don't understand why. But around 59:35, the line "const resizeImg=require("resize-img")" removes the inspector window from the app. NAd I am not able to get it back.
Year 2000: -You had HTA which were HTML container with full system access. Ran HTML+ VB Script -VB6 - desktop application development IDE which produces native code, can do what the system is capable of. 2022: lets make desktop apps using Javascript and it will consume only 1GB of memory.
Somethings are not clear and it is quite frustrating. at 19:02 you say something unclear and a window opens to load UI theme. I watched it about 10 times and i don't get how it was open. can you clearfy that?
Was 2017 when i first started learning programming and this channel was first in my list. After 5 years in my career as senior dev still coming back to this to learn new stuff. thank u so much ^^
mec daaxloebit mag dros daviwye swavla ;d
a familiar situation :)
Any advice second year cs and i feel lost
Me too! Brad is one of the most inspiring people in this world!
senior in only 5 years? i graduated this year and im junior only. congrats!!
spent a whole day trying to get things going, came here, and now everything is illuminated. Hands down the best programming tutorials around!
Finally I can use all my RAM
😂
Hahahahahaha
nice one hhhh
Cool 😎 just watch if any smoke coming ou
hhahaha, all tools that are forced to cross platform always end up badly in terms of memory resources. I used to try cordova just made a simple to-do-list app, I ran it on my phone and my phone got hot in just 5 minutes lol
Best tutor for programming on TH-cam!!!
Thanks Brad. I don't think I'll ever be able to repay you for all the great training.
This week I was working on Electron and suddenly I saw your video notification on my phone. As always thank you Traversy
Dude, I am literally checking for latest Electron tutorial. Many people comment about this, but never thought it will happen to me. Anyway thanks buddy.
Thank you for the tutorial!
I like that you focus on electron and not on adding a front-end framework in the mix.
It made the way you explained the main process, renderer and IPC communication very clear!
I went through this slowly and carefully...took several hours so that I could digest things...especially the ipc stuff. It makes a lot more sense now. I do hope you'll update your udemy course on this some day. That said, I know enough to be dangerous now and I really like what can be done with Electron. Thanks!
Absolutely perfect timing. I wanted to do something very close to this.
The best Electron tutorial on youtube 🙌🙌
Excellent work explaining this. I got a lot out of seeing how it all worked, and coding along. Really appreciate the time you took to make it!
this is really what i was searching information for atleast a month now, thank you
Electron? Remember that Brad has a full course on the topic. Another amazing instructor that made a course on Electron is Stephen Grider!
@@Gigusx Thank you🥺
I just finished your react udemy course and then i was researching a a problem i wanted to solve and this youtube video was exactly concept i was looking for
Today i made a screen recorder using electron, I wish this video would have come a few days earlier. Would have saved a lot of time.
May I ask you to share the code with me for education purposes? Just curious :)
@@overboostoverboost2541 i tried sending 7 msgs and all got deleted
He is here again. Thanks Brad!
Never regret the day I subscribed to your channel dude.. thanks for the video
I was planning to learn electorn and then you dropped this video. Thanks man
This was super useful! Thank you so much! What would be super helpful is showing how to set up a webpack in the renderer. And show how to set up a framework in the rednerer.
Thank you for this video. I watch from begin to end, and I was not have any problem during development.
One of those products that aged like the finest milk in terms of tutorials. I'm glad that this one is still relevant
Thanks for this one, I have never tried electronjs, it was something I was kinda avoiding but I find it super interesting. And also it refreshes a lot the knowledge of node usage. Don't hesitate to make more ;)
All the best from Barcelona
One of if not the best Electron videos on TH-cam. Nice job Brad!
@traversymedia
Brad, I’ve lurked on TH-cam and other sites for a while as I am trying to learn JavaScript for a upcoming Bootcamp and I’ve been stressing because I keep getting stuck in trying one resource and moving to the next as it feels too slow. I watched some of your JavaScript TH-cam videos and am completely impressed with how you structure the learning topic and your tone that you teach in. You make beginners feel welcomed and hopeful. I just purchased two of your courses on Udemy and want to thank you for the top tier content and hope you are getting enough support to continue producing such high quality material. Please, if you don’t do it already, start a podcast man. I, among many others, would love to dive into that content with you. Cheers my friend!
Bobo just use Udemy
@@idkcoder what?
@@subiebugeye02 if you want to program web apps learn c+ javascript is mainely for web apps and web pages, this stuff is really for advanced users in javascript to be able to code desktop apps without learning new languages
This content should be made a playlist
Great tutorial. You're a very good teacher sir!
Another great video! Thanx!!!
For those interested, to get rid of the menu on the About window...
abountWin.setMenu(null);
Hey, thanks for the vid... always fun working with your tutorials...
Something that threw me ... when setting the values on the width and height fields of the selected image form, the values were invisible (I thought it was failing) but turned out the text color was opaque for some reason, so setting style color to black to both inputs "fixed" it. May go back and determine the source of the problem and do a more systemic adjustment later, but love your teaching style. No BS and fundamental.
We need one project with Advance Angular please 😊, stay blessed Brad 🎉
Something I've been waiting for. There were so many updates to electron
Helpline📲
Questions can come in⬆️
Thank you very much for a clear tutorial. I was pulling my hairs out looking for a solid tutorial.
Good times. Thanks as always Brad. Much love ☮
thank you Brad for this updated tutorial on electron!
Great video. Taught me a lot. Felt like Bill Burr was teaching me with your accent!
Html/css/js can be used now to build pretty much any software, server side, front end, even mobile apps and of course desktop apps with electron. No other stack can compete hence why JS is the #1 programming language :)
you can do that with c# which is faster and obviously a better choice to develop such applications except for web applications.Right now, You can develop cross-platform (web, macOS, windows, ios, android...) applications with html, css, c#. 😉
@@emreaka3965 with electron or do i need to use webview?
And when it comes to games☠️🗿
I am getting back into programming after nearly 25 years. I am absolutely amazed at what Javascript has become. For reference, last time I used Javascript all we had was var. And the thought of using it for server side was Twilight Zone levels of science fiction. 😂
Great session, Very useful and informative at a great pace. Thanks.
Helpline📲
Questions can come in⬆️
I will save it on my list so I can follow it later,
Tks Brad
This is the best tutorial I could find ... thank you :-)
Another classic, I also want to say that there is nothing like development with bare js and nodejs :)
like raw-dogging in a whorehouse.
It's amazing. Thank you for a good experience for a newbie
Super cool video!
Trying to learn how electron works so I can make my own Music player app
I am planning to make my own video player. Can you drop your github link
finally someone who doesn't talk like his being chased by lions lol. thank you for this video
What steps must developers creating desktop apps with Electron use to make those accessible to screen reader software that blind folks use? Came across something recently to configure a device for recording wildlife and if it was a web page, could benefit from labels for text edit fields, radio buttons and checkboxes. But with electron, what is the best practice so that the app is then screen reader accessible?
Ive been waiting for this. THANKS BRO
Helpline📲
Questions can come in⬆️
Cool project,we also need an update on progressive web application.Its good for cross platform.
No up to date udemy courses for electron. Can't wait for yours
Thanks for this one!
I am creating one desktop application using electron now I want to connect it to the database. Can you tell me anything that I need to do?
Great course as always Brad... But personally I am waiting for Tauri Crash Course, they have an amazing framework and I really want to give it a try
Check other channels. Brad is a web developer. It's unlikely he'll do a tutorial on a rust based framework
@@AbhishekBM Why not? He has done a tutorial on Rust and this is a tutorial on desktop application... I guess it depends on him but it wouldn't be new to his ecosystem
me too
Is the updated course on Udemy available now?
Could you please make a video on "Create a Desktop App with JavaScript & Tauri"? Thanks Brad for all the good works.
to the top!
making the height and width fields required on the form elements will forgo the need to check in the submit if they have values. Just saying.
Thank you for your work did you consider Neutralinojs as much smaller and much faster than electron because it uses chrome library
Extremely awesome video, it's better, than docs. Thanks!
Hi. Is the udemy update ready?
Great job dude !
I love this guy fr
Awesome, Brad! 👏👏👏👍
Great tuto Mr brad 🔥🔥
Hope to make project based on TAURI framework 🙏🙏🙏
REALLY interesting video, thanks for that Brad! Don't know what I would give for a course on a Vanilla HTML/Javascript/CSS to Native Mobile App conversion [maybe using Cordova?]. The discontinuation of PhoneGap has left a huge gap in that respect (yes, I am WELL aware of its drawbacks, but I'm obviously NOT talking about creating one million plus downloads gaming apps here)
Try PWA
@@erasmusmensah Wish it were that simple. Most of the time, it's really a matter of prestige - there are clients out there who INSIST on a native app where a PWA would totally suffice
I'm done just watching, is time I follow up and start building... I'll be back to testify.
Can you do a video on building a TH-cam to MP3 Converter? All the ones online are sketchy. It would be awesome if we could build our own. Love the video!
that would be amazing and helpful tool
I learned so much! Thank you
Cool background.
Thanks for the course, it's very informative and helpful.
Helpline📲
Questions can come in⬆️
It doesn't make sense to worry about memory leaks when your application closes. Even in C++ if you have forgot to free stuff in the heap when the whole application ends all of the memory will be claimed back by the OS. It doesn't make sense to set that window to null when your closing your app. Unless electron apps don't 'close' and just run in the background like chrome does even when you close all the windows - which would be stupid if it did this
Always excellent.
really good video, thank you
Awesome tutorial thank you very much
Oh, and early implementation of the "about" window is generating a new instance of every selection. If not addressed in later in this tutorial, and easy way to prevent this?
Electron JS uses chromium to render HTML CSS JavaScript so even if you only have a simple h1 tag it will be more than 100MB in size
How is this an issue in 2022? Developers like making a mountain out of a molehill. Today average computer users are just doing fine with PCs and Macs with 256GB of storage. We are no longer storing photos, music and movie files on our computers to worry so much about storage. This is the same argument most developers make against certain technologies arguing that technology X cannot support millions of users yet in the entire life they'll never build a product or service for millions of users. Every dev out there argues as if he is building the next Facebook.
@@imbayi Sir.... but if I just want a simple image resizer, for this, I am asked to download 100MBs software then I would definitely think that there should be some malware/spyware/resource consumer program also running with that software
Excellent! 👍👍
Great Video!
ahh, so much needed as those security changes in electron made many many tutorials not suitable
Helpline📲
Questions can come in⬆️
Thanks A LOT! Very helpfull video!
Thanks a lot Traversy. I had a lot of trouble though getting the file-path from my renderer.js file. It was simply not available at files[0].path. So I had to send a unit8Array to main.js
same error. there are two possible solution: 1.install electron js 20 version 2. read the electron current version(32) doc - it is helpful
Great video! What is your VS Code Color Theme? :D Looks like GitHub Darker, but the outlines are less prominent with your theme.
Thank you Brad...
I never thought that Mark Wahlberg would be teaching me Electron
Thanks Brad
Thanks for this 😌
Please make a video on Tauri App which is an electron replacer.
How is your VS code theme called? Looks neato! And thanks a lot for the tutorial, helped me a lot to become familiar with Electron development.
TH-cam needs to add a feature to clip favorite channels and videos
How to use SQL with electron? I'm trying to connect Sqlite but alas! Please shed some light on it
Love your videos and thanks for sharing your knowledge. Will your updated Udemy course include working with React? I find that there's a big gap there as someone who's coming from React and trying to figure out how to use that With Electron. Also, when is it due to be updated?
man. Thank you!
Hi Brad. I was wondering, how do you get the css file used in this electron app? Since it is Tailwind css, did you design elsewhere and treeshaking the classes first or that is full css in Tailwind?
When will the course-update be available?
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ npm init
+ ~~~
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Thanks sir
In this app Can I use RPC (remote procedure call) as in web apps
I was thinking of searching this then this video popped up 🤣
I don't mean to disrespect, but why are we still using electron in the holy year of 2022? There are plenty more options that use simple html, css and js and are easy to learn and easier to run performance wise. I would personally promote NW.js and Tauri more then Electron. You don't have a Tauri course and the NW.js one is 2 years old. Keep it up though, you were one of the first channels I watched when I started learning to program and I appreciate your help.
Thank you for this video toaay
Your index.html (on GitHub) is missing closing tag of button div (line 57).
I don't understand why. But around 59:35, the line "const resizeImg=require("resize-img")" removes the inspector window from the app. NAd I am not able to get it back.
Great stuff mentor...pls do same with react js if possible with a DB...thnks...
Year 2000:
-You had HTA which were HTML container with full system access. Ran HTML+ VB Script
-VB6 - desktop application development IDE which produces native code, can do what the system is capable of.
2022: lets make desktop apps using Javascript and it will consume only 1GB of memory.
yes yes yes yes yes yes!
finally
Thank you 🙏
Somethings are not clear and it is quite frustrating. at 19:02 you say something unclear and a window opens to load UI theme. I watched it about 10 times and i don't get how it was open. can you clearfy that?