Тёмный

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

Shivam Mathur
Подписаться 117
Просмотров 48 тыс.
50% 1

An experiment to convert superchargehq.com into a desktop application.
Electron Quick Start Guide: www.electronjs...
Website: superchargehq.com
LinkedIn: / shivam-mathur-g10
Blog: / shivam_g10

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@devin3944
@devin3944 11 месяцев назад
Simple and straight to the point👍
@overrevvv
@overrevvv 10 месяцев назад
Thank you for this really helpful video.
@fahimhossain6109
@fahimhossain6109 23 дня назад
nice job
@socialfuns4621
@socialfuns4621 5 месяцев назад
your great bro, thanks for this KT.
@ament4069
@ament4069 3 месяца назад
Nice job!
@praveshpal9644
@praveshpal9644 Год назад
Hi @Shivam Mathur, please start the electron-js series basic to advance with deep concept.
@JanaManaRana
@JanaManaRana 2 года назад
Great job.
@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
@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
@r0nipatel
@r0nipatel 11 дней назад
i have successfully run this now how can i build .exe file ?
@qwakubenyarko1473
@qwakubenyarko1473 5 месяцев назад
Source code please
@thakurlokesh
@thakurlokesh Год назад
Bhai Tauri ko use karke application banana sikha de.
@asianroster4608
@asianroster4608 Месяц назад
Will this work if we have local DB and working and whenever internet get back?
@rahuladaki3627
@rahuladaki3627 9 месяцев назад
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 месяцев назад
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
@harshitgupta275
@harshitgupta275 2 года назад
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.
@chuyinghe9610
@chuyinghe9610 Год назад
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.
@MultiMaN95
@MultiMaN95 2 года назад
Will this support js fetch api? Want to connect mysqli with php using fetch
@gopalkrishna1363
@gopalkrishna1363 Год назад
How do I contact you. We have a requirement for desktop app development
@stylersito
@stylersito 5 месяцев назад
Does an application like this need to be signed?
@Ebizzill
@Ebizzill 2 года назад
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 года назад
@@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!
@sciencenerd8326
@sciencenerd8326 2 года назад
Amazing which stack did you use? Also how do we compile database in a production build??
@shivam_g10
@shivam_g10 2 года назад
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.
@MatheusSilva-qm3ph
@MatheusSilva-qm3ph 2 года назад
very cool! how do i open playwright in an electron window? Please! Thanks.
@shivam_g10
@shivam_g10 2 года назад
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
is this software works in ofline
@atlantic_love
@atlantic_love Год назад
Me no English can speak?
@shivam_g10
@shivam_g10 9 месяцев назад
Yes, this will work offline after install if your app doesn't need to access external resources from the internet.
Далее
Merab vs Sean underway!! 🚨 #ufc306
00:23
Просмотров 1,2 млн
Holding Bigger And Bigger Dogs
00:18
Просмотров 12 млн
MINECRAFT CREPPER EXPLODES SHARK PUPPET!
00:15
Просмотров 8 млн
Create a Desktop App With JavaScript & Electron
1:11:48
Просмотров 358 тыс.
Progressive Web Apps in 2024
4:07
Просмотров 46 тыс.
I built 10 web apps... with 10 different languages
14:23
Node.js is a serious thing now… (2023)
8:18
Просмотров 646 тыс.
Electron with React JS under 40 min!
36:36
Просмотров 86 тыс.
Postgres just got even faster
26:42
Просмотров 21 тыс.
Merab vs Sean underway!! 🚨 #ufc306
00:23
Просмотров 1,2 млн