Electron JS in 100 Seconds

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.พ. 2020
  • Build your first native desktop app (MacOS, Windows, Linux) in 100 seconds with Electron JS. fireship.io/tags/electron/
    Electron Docs www.electronjs.org/
    #100SecondsOfCode #Electron #JS
    Install the quiz app 🤓
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 367

  • @Fireship
    @Fireship  4 ปีที่แล้ว +287

    Stayed tuned for a long-format Electron ⚡ video in a few days where we'll build & distribute a more complex desktop app. Suggestions are welcome!

    • @SXCRD
      @SXCRD 4 ปีที่แล้ว +1

      Is there something like a windows API that could be used to create an Electron app that is pretty much a launcher/shortcuts interface? That's would be cool ☺

    • @elmotareal
      @elmotareal 4 ปีที่แล้ว +1

      Can we package electron into mobile apps? No?

    • @Fireship
      @Fireship  4 ปีที่แล้ว +3

      @@elmotareal No, but there are tools designed for this like Cordova and Capacitor (Ionic).

    • @DKPstudios
      @DKPstudios 4 ปีที่แล้ว +3

      Please make sure to explain when to use Electron and when not to. For example, if it's mostly the same code (HTML, CSS, JAVAScript), what are the benefits of doing it in electron rather than straight web? Just easier access to file systems and the OS?

    • @kofi.0
      @kofi.0 4 ปีที่แล้ว

      Please don't only create an electron app with multiple windows. Over the last few days, the subtle "multi-page" app tormented me and I found multiple vague answers on the topic during research. Google search key "multi page electron" the first hit confirms the vagueness.

  • @Qexia
    @Qexia 4 ปีที่แล้ว +700

    "And you can bring along your favorite frameworks"
    **Doesn't show React**
    I LOL'd

    • @Fireship
      @Fireship  4 ปีที่แล้ว +255

      Lol, never heard of it ;)

    • @danebrouwer
      @danebrouwer 4 ปีที่แล้ว +15

      @@Fireship Sick burn 😂

    • @knowledgenews5343
      @knowledgenews5343 4 ปีที่แล้ว +1

      Why? 😂

    • @Qexia
      @Qexia 4 ปีที่แล้ว +10

      @@Fireship A man of culture, I see.
      PS: Any chance you can make a video about integrating Jest and Cypress into an Angular project?

    • @sudeep.g
      @sudeep.g 4 ปีที่แล้ว +22

      May be because that's a library

  • @hnasr
    @hnasr 4 ปีที่แล้ว +169

    This is awesome! No idea how you can take a whole concept and explain it in 100s . Such craftsmanship in content creation. Unique style

    • @sweatypotato248
      @sweatypotato248 2 ปีที่แล้ว +1

      hello Sensei

    • @ShubhamPandey-st4nn
      @ShubhamPandey-st4nn ปีที่แล้ว

      @@sweatypotato248 name your favourite anime

    • @tks4
      @tks4 ปีที่แล้ว

      Totally ironic to you, bdw i also love your videos, rather I listen to them as podcast

    • @martin_93
      @martin_93 ปีที่แล้ว

      Love both your and Fireship video. Fireship can pack whole concept in 100s video, where you shine at explaining deep concept, without shortcuts. Particulary your videos about databases they're just awesome.

    • @LooTingPro
      @LooTingPro ปีที่แล้ว

      he does this a lot he is kinda crazy

  • @himbary
    @himbary 4 ปีที่แล้ว +467

    Unreal. I literally started learning Electronjs like 30min ago

    • @moon_tm
      @moon_tm 4 ปีที่แล้ว +3

      Same lmao

    • @vicci2741
      @vicci2741 4 ปีที่แล้ว +6

      LMAO I want to create my first desktop app with it

    • @FilledStacks
      @FilledStacks 4 ปีที่แล้ว

      Jeff knows everything!

    • @sporekapu
      @sporekapu 4 ปีที่แล้ว

      WTF Same!!

    • @MelvinAdekanye
      @MelvinAdekanye 4 ปีที่แล้ว

      *That's Crazy*

  • @brettgregory3622
    @brettgregory3622 4 ปีที่แล้ว +55

    Love your work man! No jokes, been following you for a year and tomorrow I am releasing my first full project management platform using firebase and Angular for my company tomorrow. Cant wait to see the Electron video in the next few days!

    • @Fireship
      @Fireship  4 ปีที่แล้ว +12

      Wow, that is awesome, would love to take a look if it's a public project 👍

  • @joecodes5938
    @joecodes5938 4 ปีที่แล้ว +74

    Electron is an amazing tool. I had an internship where we made all angular applications into electron apps to be used at big conferences for marketing purposes

    • @ChristopherGray00
      @ChristopherGray00 11 หลายเดือนก่อน +11

      god i love having a chat app take up 2 gigabytes of memory... man the future of programming is grim

    • @Synthetic_geth
      @Synthetic_geth 8 หลายเดือนก่อน +3

      @@ChristopherGray00 *cough* tauri *cough*

    • @qwertykeyboard5901
      @qwertykeyboard5901 7 หลายเดือนก่อน

      Does it kick the AC on every time they open it?

  • @dmhendricks
    @dmhendricks 4 ปีที่แล้ว +1

    I'm excited for the full-length video! Nice work.

  • @FilledStacks
    @FilledStacks 4 ปีที่แล้ว +1

    Tuuuuuned in for the full video. Been working on a project on Flutter for desktop. I'm enjoying it quite a bit. Keen to see how electron works through your video. Thanks for the awesome video!

  • @_tsu_
    @_tsu_ 4 ปีที่แล้ว +33

    Wow can't wait for full tutorial!! I was about to spend 8-10 horus listening to keyboard noise and static 😜

  • @hdluktv3593
    @hdluktv3593 3 ปีที่แล้ว +2

    I don't know how many times you blow my mind with your videos. I discover so many cool frameworks and other mind-blowing technology with your channel it's just unbelievable. Thanks a lot!

  • @EntityPlantt
    @EntityPlantt 6 หลายเดือนก่อน +1

    Thanks for creating a video for my favorite app environment! It's really nice how you explained all things to motivate a person to use it. And shoutout for naming electron-packager before electron-forge

  • @rafaelgpontes
    @rafaelgpontes 4 ปีที่แล้ว +20

    This is so weird. I just randomly looked for electron spontaneously and you happened to make this video today! lol

    • @tobeqz7065
      @tobeqz7065 4 ปีที่แล้ว

      Ikr! This happened to me multiple times

  • @codingprograms2078
    @codingprograms2078 4 ปีที่แล้ว +1

    Cold......killed it . great work love your concise explanation able to grasp the concepts quickly.

  • @blazefirer
    @blazefirer 4 ปีที่แล้ว +614

    build native desktop apps using nothing but html, css, js and 400 mb rams more than it should

    • @CrowJam
      @CrowJam 4 ปีที่แล้ว +234

      you could unironically ship a 16gb ram stick to every customer who buys your electron app, just purely on savings you ll have by developing cross platform this cheaply : D

    • @Daniel-dj7vc
      @Daniel-dj7vc 4 ปีที่แล้ว +44

      @@CrowJam That my friend, just made my day :D

    • @aprithul
      @aprithul 4 ปีที่แล้ว +25

      Don't forget the input lag.

    • @lolwhatever7307
      @lolwhatever7307 3 ปีที่แล้ว +43

      Electron is the worst abomination of JS infrastructure. Everything written on electron runs bad on old systems, this is not how desktop apps should perform.

    • @dc4539
      @dc4539 3 ปีที่แล้ว +32

      @@lolwhatever7307 Sounds like you need a new system

  • @robertkylethomas173
    @robertkylethomas173 4 ปีที่แล้ว +90

    These videos are awesome... can we maybe have mongoose in 100s?

    • @alemalohe
      @alemalohe 4 ปีที่แล้ว

      is that mango DB would really love that

    • @aleksd286
      @aleksd286 4 ปีที่แล้ว +8

      Uhh. I don't think Mongoose is a good topic because it's just a library used in JS to work with MongoDb, instead MongoDb itself is a good topic

    • @NicolaiWeitkemper
      @NicolaiWeitkemper 4 ปีที่แล้ว +1

      @@aleksd286 Maybe MongoDB + Mongoose?

  • @indrarajyadav528
    @indrarajyadav528 4 ปีที่แล้ว +62

    up for electron series

    • @eshaan7_
      @eshaan7_ 4 ปีที่แล้ว

      YES!

    • @g-luu
      @g-luu 4 ปีที่แล้ว

      @@eshaan7_ YES!

  • @fahad.hossain
    @fahad.hossain 4 ปีที่แล้ว

    the best as always. waiting for the full course.

  • @abhishekprashant3791
    @abhishekprashant3791 4 ปีที่แล้ว +2

    Thank you for the video! ElectronJS looks awesome. I will definitely give it a go

  • @jogindersingh9096
    @jogindersingh9096 4 ปีที่แล้ว +1

    These 100 sec videos are awesome.

  • @BabarAli-yb1eg
    @BabarAli-yb1eg 4 ปีที่แล้ว +118

    Man do 100 minutes of this.. need it

    • @Fireship
      @Fireship  4 ปีที่แล้ว +86

      I am considering a full course on electron if there's enough demand for it

    • @GoldNugget
      @GoldNugget 4 ปีที่แล้ว +4

      @@Fireship There is, please do it in a detailed way so that someone who's never touched electron before could learn as well!

    • @yt-sh
      @yt-sh 4 ปีที่แล้ว

      @@Fireship there is I think...

    • @someoneelse7568
      @someoneelse7568 4 ปีที่แล้ว +1

      @@Fireship Do it, I subscribed for it.

    • @aleksandarveselinovic5985
      @aleksandarveselinovic5985 4 ปีที่แล้ว

      ​@@Fireship Subscribed also.

  • @pwan3971
    @pwan3971 4 ปีที่แล้ว

    What a beautiful way to present!

  • @fhanjacson7289
    @fhanjacson7289 4 ปีที่แล้ว

    I love short videos likt this. Its informative, its like a movie trailer

  • @NeerajGuptaIthaca
    @NeerajGuptaIthaca 4 ปีที่แล้ว

    Love it. Tells you a lot in 100 seconds.

  • @RawandHawez
    @RawandHawez 4 ปีที่แล้ว

    Looking forwards for the full project.

  • @elweb1882
    @elweb1882 4 ปีที่แล้ว

    Amazing, keep going i love all what you do

  • @sonictailsandsally
    @sonictailsandsally ปีที่แล้ว +3

    Why am I only learning about this now?! This sounds pretty cool!

  • @SXCRD
    @SXCRD 4 ปีที่แล้ว +6

    Amazing! I didn't know this existed 😁

  • @DjCtavia
    @DjCtavia 4 ปีที่แล้ว

    Didn't knew Electron was about that, Im a lot more curious and aware for a tutorial now, thank's again for your content!

  • @jhsloz3160
    @jhsloz3160 4 ปีที่แล้ว +1

    An electron tutorial by the most well spoken content creator on youtube??? HYPE

  • @ben6
    @ben6 4 ปีที่แล้ว +1

    Well I was watching your `console.log(console)` video for the 3rd time this month, and found this. Thanks!

  • @QuentinWatt
    @QuentinWatt 4 ปีที่แล้ว +35

    Brilliant ☺️

  • @vincejosefs
    @vincejosefs 4 ปีที่แล้ว +11

    I still remember the time when I'm creating a desktop app using JavaFX. Damn, technologies these days. It's making me feel like I'm already senile.

  • @BillFlann9
    @BillFlann9 3 ปีที่แล้ว

    I wanted to know what it is in a non-superficial way, and that's what I got. Thanks Much!!

  • @jingzheshan
    @jingzheshan 4 ปีที่แล้ว

    Hi @fireship, really like your video and particular the those animations, just wondering what tools you are using to produce those animations, do you create those assets by yourself?

  • @hussamabdallah4776
    @hussamabdallah4776 4 ปีที่แล้ว

    Your reviews are awesome I'm really appreciate that

  • @HereWasDede
    @HereWasDede 4 ปีที่แล้ว +6

    I never even heard of electron till now this is awesome thank you so much

    • @Fireship
      @Fireship  4 ปีที่แล้ว +3

      Just doing my job!

  • @vladislavkaras491
    @vladislavkaras491 หลายเดือนก่อน

    Great video, thanks!

  • @vaibhavsinghnegi76
    @vaibhavsinghnegi76 4 ปีที่แล้ว +3

    Bro your explanations are awesome...love from india

  • @marflage
    @marflage 4 ปีที่แล้ว

    These videos are so awesome I do not skip the ads just so you can earn a little more :D

  • @alwaysgrowww
    @alwaysgrowww 4 ปีที่แล้ว

    Eager to see the detailed video about electron!
    Suggestion: Maybe build a terminal :-)
    I have seen nativefier npm package... pls have some fun with it guys!

  • @agustinlavalla8892
    @agustinlavalla8892 4 ปีที่แล้ว +1

    Amazing framework!! More info please!!!!

  • @aybak3k
    @aybak3k 3 ปีที่แล้ว

    practical crash course in under 2 min!!!!!!! now that's something hell yeah i smashed da like button:)))))))

  • @will_abule
    @will_abule 4 ปีที่แล้ว +6

    Oh ya! bring it on 🕺🏽🕺🏽🕺🏽🕺🏽🕺🏽

  • @LoneWolf-wp9dn
    @LoneWolf-wp9dn 4 ปีที่แล้ว

    I watch these 100s videos during commercial breaks :)

  • @prasanthmanimaran7540
    @prasanthmanimaran7540 3 ปีที่แล้ว

    You are a Godsend bro .... Thank you sooooo much ♥♥♥ from Malaysia

  • @Way_Of_The_Light
    @Way_Of_The_Light 4 ปีที่แล้ว

    Your videos make programming look cool!😎

    • @Anto-xh5vn
      @Anto-xh5vn ปีที่แล้ว

      Because it always was cool 😎

  • @kingbeencent
    @kingbeencent 4 ปีที่แล้ว

    I looooveeee this videos!!

  • @cyberlord64
    @cyberlord64 3 ปีที่แล้ว +27

    The only thing I have against electron is the fact that you have to ship each app with the browser engine + node... I mean, why not separate the two? Why not fetch the engine if it does not exist on a system and reuse it for each app? It's like compiling java to a file which contains both the jar and the jvm...

    • @DJstarrfish
      @DJstarrfish 2 ปีที่แล้ว +10

      And that a code editor now takes literal gigabytes of RAM to open a single plain text file

    • @dualbladedtvrecords4383
      @dualbladedtvrecords4383 2 ปีที่แล้ว +7

      Most people are not devs and dont have node installed on their machine. Moreover, the fact the electron in shipped with node inside (although its bloated), isolates it from the NodeJs that might be installed on the users machine. You wouldnt want your app to use a preconfigured and unknown NodeJS environment. Especially if it's configuration will cause your app to misbehave and crash.

    • @circuit10
      @circuit10 2 ปีที่แล้ว +2

      "It's like compiling java to a file which contains both the jar and the jvm..."
      This is actually the most common way to do it now I think

    • @dusscode
      @dusscode ปีที่แล้ว

      ​@@dualbladedtvrecords4383 this has been the case with Java, and it's been working well for the past 20 years.

  • @sandipbamrel2087
    @sandipbamrel2087 4 ปีที่แล้ว

    please make a Vue js playlist too . You are an awesome teacher

  • @dinkopehar982
    @dinkopehar982 4 ปีที่แล้ว +3

    I've heard of Electron before, but recently ran at NodeGUI. It states that its powered by Qt5 . It's much more CPU and memory efficient than electron. Any expirience with it ?

  • @aravindkumar8145
    @aravindkumar8145 4 ปีที่แล้ว

    cool, i`m waiting for electron project

  • @jantube358
    @jantube358 4 ปีที่แล้ว

    I like that you mentioned Svelte! I am the only Svelte developer I know IRL! :D

  • @bksubramanyarao
    @bksubramanyarao 4 ปีที่แล้ว

    THIS VIDEO IS AWESOME !!!

  • @sarthakbansal8652
    @sarthakbansal8652 4 ปีที่แล้ว

    More 100 second versions and one full version of electron please

  • @GnarMarv2
    @GnarMarv2 2 ปีที่แล้ว +1

    Me about to build out a new project,
    "Wow i really hope Fireship has a vid on Electron"
    [Results Display]
    YES!!

  • @vicci2741
    @vicci2741 4 ปีที่แล้ว

    This is f.. amazing 🤩

  • @rhiji4583
    @rhiji4583 ปีที่แล้ว +1

    NativeScript in 100 seconds would be interesting, so we can finally have a single codebase for Webpages, desktop applications and mobile applications

  • @j3ns
    @j3ns 4 ปีที่แล้ว

    Very cool video!

  • @ZyncInteractive
    @ZyncInteractive 4 ปีที่แล้ว

    Love your videos

  • @codediporpal
    @codediporpal 3 ปีที่แล้ว

    Holy crap, I did not realize popular desktop apps like slack and discord were using Electron JS!!! I guess I will not hesitate use it for a project I've been thinking of.

  • @nikhilgholap6243
    @nikhilgholap6243 4 ปีที่แล้ว

    Keep doing it man

  • @tonysmarks3578
    @tonysmarks3578 4 ปีที่แล้ว

    Looking forward!

  • @TerjeNesthus
    @TerjeNesthus 4 ปีที่แล้ว

    Just when I took a break from Angular, to learn Vue, I see this video and now I want to learn this too

  • @khalidelgazzar
    @khalidelgazzar 4 ปีที่แล้ว

    Super. To the point.

  • @jaimerojas6578
    @jaimerojas6578 4 ปีที่แล้ว

    Well that's awesome

  • @developedbypy
    @developedbypy ปีที่แล้ว

    This so cool!

  • @tmad1984
    @tmad1984 4 ปีที่แล้ว +1

    This absolutely rules.

  • @xarzu
    @xarzu 9 ชั่วโมงที่ผ่านมา

    Very good work.

  • @hamdyahmed5742
    @hamdyahmed5742 2 ปีที่แล้ว

    This is great 👌

  • @yampolskie
    @yampolskie 3 ปีที่แล้ว

    What? That's crazy, I gotta learn this. :o

  • @ahmedbh8837
    @ahmedbh8837 4 ปีที่แล้ว

    You are the best

  • @TechdubberStudios
    @TechdubberStudios 4 ปีที่แล้ว +5

    I would totally use svelte for an electron app, as Sapper did not hit version 1.0 yet, and SEO is not a concern here.

    • @Fireship
      @Fireship  4 ปีที่แล้ว +4

      I might even use svelte in the next video...

  • @Xinthose
    @Xinthose 4 ปีที่แล้ว

    You can do stuff like connect to serial ports too.

  • @WinningEmpire
    @WinningEmpire 4 ปีที่แล้ว

    That's really cool actually

  • @axaysushir
    @axaysushir 4 ปีที่แล้ว

    Can we have short video description on STRAPI Headless cms for frontend apps like blog

  • @HumbleGuy101
    @HumbleGuy101 4 ปีที่แล้ว

    You're Amazing !

  • @-._
    @-._ 4 ปีที่แล้ว +2

    Could you also do React and its different versions like React Web, React Native etc.?

  • @AhmadHassan-ss5un
    @AhmadHassan-ss5un 4 ปีที่แล้ว

    OH yeah Thanks for the project

  • @dantewhite7659
    @dantewhite7659 4 ปีที่แล้ว

    You’re awesome dude

  • @shivammakwan6409
    @shivammakwan6409 4 ปีที่แล้ว

    That was awesome

  • @eric000
    @eric000 4 ปีที่แล้ว +2

    thanks for covering so much in 100 sec. what tool do you use to make this video? graphics, animation etc?

    • @Fireship
      @Fireship  4 ปีที่แล้ว +2

      Mostly Premiere, with a little Aftereffects & Figma.

    • @eric000
      @eric000 4 ปีที่แล้ว +1

      @@Fireship thank you for the reply. Your videos are Really hi quality . I need to do the same for presentations at work, currently I use Powerpoint which is boring. I will start with learning Figma.

  • @junaid.hassan
    @junaid.hassan 4 ปีที่แล้ว

    Seems great.

  • @g-luu
    @g-luu 4 ปีที่แล้ว

    CAN'T WAIT.

  • @Blixzful
    @Blixzful 4 ปีที่แล้ว

    Going to run a project with electron (running angular ivy app) and Golang, so it will be high appreciated if you'd create a end to end project tut

  • @AshutoshKumar-ue3dr
    @AshutoshKumar-ue3dr 4 ปีที่แล้ว

    Is the compiled code closed source or anyone can see our code from compiled setup?

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 2 ปีที่แล้ว

    Jeff is still my favourite tech TH-camr

  • @-.-_._--
    @-.-_._-- 7 หลายเดือนก่อน

    A video on development of software application roadmap would be great because i couldn't find any video explaining about building a software application (except web apps like thats the only thing that exists).

  • @mubafaw
    @mubafaw 2 ปีที่แล้ว

    Awesome!!!!!!

  • @warademilind
    @warademilind 5 หลายเดือนก่อน

    Is it possible to test electron based desktop application using Robot framework. How ?

  • @aditya.nair24
    @aditya.nair24 4 ปีที่แล้ว

    Didn't expect to get Rick Rolled like that lmao

  • @koushiknaskar4751
    @koushiknaskar4751 4 ปีที่แล้ว

    I want to build a electron app with react-webpack. But most of the tutorial I came accross that gives too much effort on the react front end part, and don't really leverage the fact that a full Node environment is present there. Make videos keeping this in mind. Also include the rust webassembly too.

  • @waynevanson277
    @waynevanson277 4 ปีที่แล้ว

    NW JS in 100 seconds? They look similar but I'm unsure how different they may be :)
    Great overview on Electron

    • @Fireship
      @Fireship  4 ปีที่แล้ว +2

      It has some benefits, but I prefer Electron over NW. Still would not rule out a future video :)

  • @raghavgoel1265
    @raghavgoel1265 4 ปีที่แล้ว +3

    Don't know JS much, but still this is quite fascinating. Any plans for a beginner's course?

    • @HELLDOZER
      @HELLDOZER 4 ปีที่แล้ว +1

      I am not a beginner but would love a refresher from fireship

    • @didiercatz
      @didiercatz 4 ปีที่แล้ว +1

      I'd recommend you really get the grips on vanilla JS first. Electron uses some quite advanced programming patterns.

    • @raghavgoel1265
      @raghavgoel1265 4 ปีที่แล้ว

      @@didiercatz I was talking about JS only. Like a "JS for dummies" by fireship

  • @minijames6637
    @minijames6637 ปีที่แล้ว

    This guy is a genius like no joke 🧠

  • @Martin-dg7it
    @Martin-dg7it 4 ปีที่แล้ว +138

    You make documentation look like a joke.

    • @jamestill4172
      @jamestill4172 4 ปีที่แล้ว +9

      I've never seen a greater compliment.

  • @Alon-Filler
    @Alon-Filler 3 ปีที่แล้ว

    Hi! I have enjoyed the video, and decided to test electron out. Although when I tried downloading it-, I have faced the following error:
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! electron@12.0.1 postinstall: `node install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the electron@12.0.1 postinstall script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    I'd appreciate any help regarding it! :D

  • @DailyIntern
    @DailyIntern 4 ปีที่แล้ว

    Pls i want to purchase the App but its not working why, is there any other way to purchase the app?

  • @abhishekdas2512
    @abhishekdas2512 3 ปีที่แล้ว +1

    Made a standalone app with electronjs and python was a really joyful experience :)

  • @yokowasis
    @yokowasis 2 ปีที่แล้ว

    What's the difference between node-webkit and electron. They both looked the same.

  • @grqfes
    @grqfes 4 ปีที่แล้ว

    0:36
    excuse an idiot but its late and i cant find out where to run this. wtffff i caant
    I'm running it in the vs code terminal and it doesn't recognize it as an internal or external command
    god help me
    also i downloaded electron master files whatever its called at the link in description
    please someone help me