Convert your web application into a desktop app using electron in 10 minutes.

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024

Комментарии • 43

  • @devin3944
    @devin3944 10 месяцев назад +1

    Simple and straight to the point👍

  • @fahimhossain6109
    @fahimhossain6109 20 дней назад

    nice job

  • @overrevvv
    @overrevvv 10 месяцев назад +1

    Thank you for this really helpful video.

  • @ament4069
    @ament4069 3 месяца назад

    Nice job!

  • @socialfuns4621
    @socialfuns4621 5 месяцев назад

    your great bro, thanks for this KT.

  • @JanaManaRana
    @JanaManaRana 2 года назад

    Great job.

  • @praveshpal9644
    @praveshpal9644 Год назад

    Hi @Shivam Mathur, please start the electron-js series basic to advance with deep concept.

  • @thakurlokesh
    @thakurlokesh Год назад +1

    Bhai Tauri ko use karke application banana sikha de.

  • @16denson
    @16denson Год назад

    Bro, can you show this application icon on desktop. and please show how to build a desktop icon, and server running of this app both desktop and web

  • @harshitgupta275
    @harshitgupta275 2 года назад +1

    Coool! Can I use the same with a Django web app?

    • @shivam_g10
      @shivam_g10  2 года назад

      You can change the BrowserWindow to use your Django web url. As long as there is no "open in new tab" link, it should behave like a normal application. Incase you have something that opens like that then it will open a new application window. An example of this is there in this video towards the end when I'm testing the results.

  • @phpflavious
    @phpflavious 3 месяца назад

    Where can i get POC part files that you copied 6:23 link not working in description any other links please share

  • @r0nipatel
    @r0nipatel 8 дней назад

    i have successfully run this now how can i build .exe file ?

  • @qwakubenyarko1473
    @qwakubenyarko1473 5 месяцев назад +1

    Source code please

  • @asianroster4608
    @asianroster4608 Месяц назад

    Will this work if we have local DB and working and whenever internet get back?

  • @rahuladaki3627
    @rahuladaki3627 9 месяцев назад +1

    hello shivam I have a issue that I have converted one of the website using electronjs and nativefier and I want to change the task bar icon which is electrons icon with my icon can you give me solution for it.

    • @shivam_g10
      @shivam_g10  9 месяцев назад +1

      There is a command line --icon option in electron build step and you can add an icon property in BrowserWindow as well.
      As for nativefier, I haven't used it personally but if you're facing issues then there seems to be an open issue for this which is quite old and many people have found work arounds to do this. Hope this helps github.com/nativefier/nativefier/issues/321

  • @chuyinghe9610
    @chuyinghe9610 Год назад +1

    great video! thanks a lot. Do you maybe also happen to know the best practise to convert the web app without building it? so that after the conversion, the app can be developed for further features?

    • @mi.mihai.ionita
      @mi.mihai.ionita Год назад

      If you find a way please tell me. Node.js does the same exact thing shown in this video... with Edge app shortcut i have no control over size and position and it shows urls.

  • @gopalkrishna1363
    @gopalkrishna1363 Год назад

    How do I contact you. We have a requirement for desktop app development

  • @sciencenerd8326
    @sciencenerd8326 2 года назад

    Amazing which stack did you use? Also how do we compile database in a production build??

    • @shivam_g10
      @shivam_g10  2 года назад +1

      What I've displayed is a front end Desktop App that uses Rest APIs. Stack here is Vanilla JS built with webpack. React and Angular will also build static front end files in the same way that I've shown.
      For adding database we can use embedded databases like SQLite. Bundling Postgres and others is not possible. You can obviously install them separately and connect to them to the electron app.
      You can look into installer options if more flexibility is required.

    • @Ebizzill
      @Ebizzill 2 года назад

      @@shivam_g10 do you have a tutorial for the website you just demo'ed?

    • @kevinmwangi6782
      @kevinmwangi6782 Год назад

      @@shivam_g10 I have a NodeJs,Express Js app.I ask can I use MongoDb Atlas or local mongodb for the database and still deploy my app using this?

    • @shivam_g10
      @shivam_g10  9 месяцев назад

      @Ebizzill
      That website was a product I was making so there's no tutorial for it unfortunately. The electron bit should work with any framework related project that generates static files for front end. I modeled the build process for that project by looking at react and angular.

    • @shivam_g10
      @shivam_g10  9 месяцев назад

      @kevinmwangi6782 Since the background process in electron runs node you can connect mongo db in the same ways that you can connect with node. You have a lot of flexibility on this.

  • @stylersito
    @stylersito 5 месяцев назад

    Does an application like this need to be signed?

  • @MultiMaN95
    @MultiMaN95 2 года назад

    Will this support js fetch api? Want to connect mysqli with php using fetch

  • @Ebizzill
    @Ebizzill 2 года назад +1

    can you go over packaging and changing icon image?

    • @shivam_g10
      @shivam_g10  2 года назад

      There are a lot of details in packaging, I'll make a video on that this week. That should be helpful

    • @Ebizzill
      @Ebizzill 2 года назад +1

      @@shivam_g10 I discovered electron-builder and electron-forge, electron-builder being the most easiest because somehow I found a way to edit the app name and the icon image.

    • @shivam_g10
      @shivam_g10  9 месяцев назад

      I'm glad you were able to solve your query!

  • @MatheusSilva-qm3ph
    @MatheusSilva-qm3ph 2 года назад

    very cool!
    how do i open playwright in an electron window? Please!
    Thanks.

    • @shivam_g10
      @shivam_g10  2 года назад +1

      Playwright has experimental support for electron: playwright.dev/docs/api/class-electronapplication
      This repository is a good reference if you're doing it for the first time. github.com/spaceagetv/electron-playwright-example
      There are eslint dependency issues with it, but those dependencies can be removed to make it run and understand how electron and playwright play together.
      Hope this helps :)

    • @MatheusSilva-qm3ph
      @MatheusSilva-qm3ph 2 года назад

      @@shivam_g10 thanks

  • @gawademayu
    @gawademayu Год назад

    i make web application using project in Angular, Laravel & mysql. Can i convert into desktop app ?

    • @shivam_g10
      @shivam_g10  9 месяцев назад

      The angular part of it can be changed to desktop app. That's what I showed in the video. My app is still connected to the backend via rest APIs and the front end was converted to a desktop app

  • @yusufyunusa5102
    @yusufyunusa5102 Год назад

    Can you convert a laravel website to desktop app with electron? Phpdesktop is a bit buggy.

    • @volts52
      @volts52 Год назад

      Might be a bit late to comment, but you can, did this just for fun, it converted my Laravel project with Filament php to a desktop app, just remember to make nodeIntegration to false in BrowserWindow, so that you get a smooth experiance.

    • @drewrobertson93
      @drewrobertson93 Год назад

      @@volts52 Apart from the nodeIntegration: false, change you mentioned, is it still just as easy as the video makes it look?

  • @muhammedshahanashussain2181
    @muhammedshahanashussain2181 Год назад

    is this software works in ofline

    • @atlantic_love
      @atlantic_love 11 месяцев назад +1

      Me no English can speak?

    • @shivam_g10
      @shivam_g10  9 месяцев назад +1

      Yes, this will work offline after install if your app doesn't need to access external resources from the internet.