Build a Markdown Notes app with Electron, React, Typescript, Tailwind and Jotai

Поділитися
Вставка

КОМЕНТАРІ • 139

  • @codewithgionatha
    @codewithgionatha  8 місяців тому +24

    Unfortunately, I discovered later that Windows has some compatibility problems. Specifically, the background blur effect seems to be supported only on MacOS.
    Also path separators are different: on Windows you should use `\` instead of `/`.

    • @vmaspadlegion8215
      @vmaspadlegion8215 8 місяців тому

      this solution is:
      export const getRootDir = () =>{
      return `${homedir()\\${appDirectoryName}}`
      }

    • @vmaspadlegion8215
      @vmaspadlegion8215 8 місяців тому +6

      And styles:
      body {
      @apply h-full;
      @apply select-none;
      @apply bg-slate-900;
      @apply font-mono antialiased text-white;
      @apply overflow-hidden;
      }

    • @codewithgionatha
      @codewithgionatha  8 місяців тому +2

      @@vmaspadlegion8215 I added it at 00:28:38

    • @vmaspadlegion8215
      @vmaspadlegion8215 8 місяців тому +4

      @@codewithgionatha Oh yes I saw it, I just added the version for those who are windows users.

    • @yuanchen-w1c
      @yuanchen-w1c 6 місяців тому +13

      set backgroundMaterial to 'acrylic' will make the background blur take effect on windows11
      const window = new BrowserWindow({
      backgroundMaterial: 'acrylic' // on Windows 11
      })

  • @codewithantonio
    @codewithantonio 9 місяців тому +112

    Really cool and original project!

    • @codewithgionatha
      @codewithgionatha  9 місяців тому +22

      Hey Antonio 👋
      So awesome to hear from you! Your channel was super inspiring, and it really got me pumped up to try doing the same thing.
      Thanks a bunch for being such a positive influence! 🌟

    • @OmniOmnium
      @OmniOmnium 8 місяців тому +1

      I wouldn't really call it original when devaslife already made it 2 years ago. Not the mention the vibrancy design is quite similar.

    • @ILevizzz
      @ILevizzz 8 місяців тому +11

      @@OmniOmnium no one asked

    • @starX7995
      @starX7995 8 місяців тому

      @@OmniOmnium did u do also ?

    • @hadi_2122
      @hadi_2122 4 місяці тому

      Hey Antonio, Don't you have any plans for creating an electron project tutorial?

  • @moose43h
    @moose43h 7 місяців тому +13

    Thank god dude. There are almost no react electron projects on UA-cam. Thank you

  • @thedevnoteyt
    @thedevnoteyt 9 місяців тому +26

    Finally someone with something new & unique. Please bring more Electron content if possible.
    Btw have you ever tried Tauri with Solid or React ?

    • @codewithgionatha
      @codewithgionatha  9 місяців тому +6

      Hey, thanks so much!
      Yes, I heard that Tauri is the next big thing after Electron for his performances. Never had the chance to test it with React or Solid.

  • @languageswithenoch4417
    @languageswithenoch4417 8 місяців тому +7

    This is amazing, youtube instructors hardly make full projects with electron js, Thank you so much. I am definitely working on this and adding it to my portfolio🙏🏽🙏🏽🙏🏽

    • @2ru2pacFan
      @2ru2pacFan 8 місяців тому +2

      I was thinking the exact same thing.

  • @haiffy
    @haiffy 9 місяців тому +6

    This video pops up in my recommendation, exactly when I needed this, thanks

  • @SubzeroGamers100
    @SubzeroGamers100 6 місяців тому +1

    Thanks gionatha you helped me alot, I wish you good luck for your channel!

  • @tupuedesnelson
    @tupuedesnelson 5 місяців тому +2

    This video is pure Gold!!!!!!

  • @jarostaz
    @jarostaz 6 місяців тому +2

    Useful stuff! Thanks :)

  • @Geuni620
    @Geuni620 20 днів тому +1

    That's an incredible video.
    I've learnt a lot from it.
    Thank you ❤

  • @avocadoamongos
    @avocadoamongos 4 місяці тому +2

    Very interesting project, just what I was looking for thanks!

  • @joaonascimento3574
    @joaonascimento3574 6 місяців тому

    Already subscribed to your channel! I noticed you make a effort to offer content based on the best technologies nowadays!

  • @李秋雨-v4o
    @李秋雨-v4o 7 місяців тому

    Thank you very much for your tutorial. You have opened my door to a new world.

  • @NIXO3D
    @NIXO3D 8 місяців тому +1

    This tutorial is gold 🔥 Thank you for sharing

  • @afkanozdemir8930
    @afkanozdemir8930 9 місяців тому +1

    This is really cool and unique project !

  • @anshulsoni653
    @anshulsoni653 8 місяців тому +1

    really liked it, gonna make this in couple of days
    thanks man

  • @superuser8636
    @superuser8636 9 місяців тому +1

    Great video. Original and useful content. Well done 🎉

  • @lustrous8916
    @lustrous8916 7 місяців тому +1

    thanks for the tutorial, it is very detailed and helpful.👍

  • @dharsanr6504
    @dharsanr6504 9 місяців тому +1

    You are just awesome man : ) keep going 👍👍

  • @andrhamm
    @andrhamm 4 місяці тому

    Great great job!! Thanks for sharing, this was super helpful!

  • @azzeddinesaidi6637
    @azzeddinesaidi6637 9 місяців тому +1

    This is amazing, thanks for your sharing!

  • @kirubakaran8478
    @kirubakaran8478 3 місяці тому

    Thank you so much, Extremely useful video

  • @gabriellicar
    @gabriellicar 6 місяців тому

    Oh my... Awesome project

  • @vladmehedintu5912
    @vladmehedintu5912 4 місяці тому +1

    Great video! GJ!🤓

  • @HarshYadav-yi7tv
    @HarshYadav-yi7tv 4 місяці тому +1

    You are a life saver ;)

  • @thorn8395
    @thorn8395 8 місяців тому

    amazing tutorial! just finished it

  • @rkcoder
    @rkcoder 6 місяців тому

    Awesome video!

  • @SoapCS2
    @SoapCS2 3 місяці тому

    Great Video!

  • @okiroroobrutheanagho8779
    @okiroroobrutheanagho8779 8 місяців тому +1

    This is great

  • @14nathan7
    @14nathan7 8 місяців тому +2

    Please extend this video 👍
    But, anyway, is this app supported by windows?

  • @techh4ck936
    @techh4ck936 9 місяців тому +1

    thanks for share this video, i love it💖

  • @maurolimaok
    @maurolimaok 5 місяців тому

    Nice channel.
    Thanks for the inspiration

  • @highvolt1727
    @highvolt1727 8 місяців тому

    It was good, thank you for video!

  • @RwandaBruno
    @RwandaBruno 3 місяці тому

    Thank for this video 🙏🙏

  • @vinayakhegde4216
    @vinayakhegde4216 9 місяців тому +2

    This is amazing bro would try this with tauri :D

    • @codewithgionatha
      @codewithgionatha  9 місяців тому +1

      Awesome, Tauri is a great alternative to Electron :)

    • @ulrich-tonmoy
      @ulrich-tonmoy 9 місяців тому +2

      Im following this and trying to use Tauri instead of Electron

  • @raymondmichael4987
    @raymondmichael4987 9 місяців тому

    Great buddy; this is good

  • @hassaantahir3861
    @hassaantahir3861 9 місяців тому

    Awesome bro.. unique content

  • @markpieterse2974
    @markpieterse2974 9 місяців тому

    Unique and useful 👍👍👍

  • @sonerrsonmez
    @sonerrsonmez 9 місяців тому +3

    Transparency doesn't work in linux, but it doesn't affect the quality of the video thanks for the content.

    • @codewithgionatha
      @codewithgionatha  9 місяців тому +1

      Hey soner, thanks for letting me know 🙏
      I actually didn't try it on Linux environment and unfortunately, the tutorial is heavily based on a MacOS

    • @ILevizzz
      @ILevizzz 8 місяців тому +1

      @@codewithgionatha it doesn't work on windows neither

    • @codewithgionatha
      @codewithgionatha  8 місяців тому

      ​@@ILevizzzUnfortunately I think that the properties to make the window blurred work only on MacOS.
      I'll see if there is a way to make it work cross-platform.

    • @ILevizzz
      @ILevizzz 8 місяців тому +1

      @@codewithgionatha dont worry! I found a solution in the docs, its not the same as the video, but it works for me, thanks for the response

    • @andersongomezgarcia1933
      @andersongomezgarcia1933 3 місяці тому

      @@ILevizzz Puedes mostrar la alternativa para windows?

  • @awakenwithoutcoffee
    @awakenwithoutcoffee 7 місяців тому

    appreciated I am looking to learn how to make my own software.

  • @MuhammadFarooq-n1v
    @MuhammadFarooq-n1v 3 місяці тому +1

    dude can we get some more electronjs projects?

  • @syxshooters3121
    @syxshooters3121 8 місяців тому +2

    A great Project To Have in the resume. Can I use this project and add some modification with some extra features and publish it as a open source project. If you have permission

  • @sadiulhakim7814
    @sadiulhakim7814 Місяць тому

    Cool

  • @xsamuelx3603
    @xsamuelx3603 9 місяців тому +2

    Looks like dev as life :)

    • @codewithgionatha
      @codewithgionatha  9 місяців тому +1

      Yes 😀 I took so much inspiration from @devaslife video

  • @朝秦-f2h
    @朝秦-f2h 7 місяців тому

    Hello. I use your github code and use the `@shared/types` alias in `main.ts` in the project to import the types in the shared folder. When webstorm moves the mouse over the imported type, the type is not recognized and vscode is normal. Thank you

  • @DoubleDotStudio
    @DoubleDotStudio 6 місяців тому +1

    Is it possible to use a .rtf instead of a .txt?
    Also is it possible to have formatting stack? e.g bold and italic
    Great video!

    • @codewithgionatha
      @codewithgionatha  6 місяців тому

      Thanks! I think it should be possible but you would need to update the file extension to look for .rtf instead of .txt. Also the enconding of those file should be kept to utf-8.
      As for the formatting abilities take a look at the library plugins: mdxeditor.dev/editor/docs/getting-started

    • @DoubleDotStudio
      @DoubleDotStudio 6 місяців тому

      @@codewithgionatha Thank you.
      What would the name be changed to in the file filter. Is it 'RTF.'? And would this allow underline since currently with markdown there is no underlining but it says it's possible in the MDXEditor docs.

  • @rusisolanki121210
    @rusisolanki121210 8 місяців тому +1

    I am trying to use MDXEditor in a different project but the markdown is not working even after importing the plugins. Any solutions?

    • @codewithgionatha
      @codewithgionatha  8 місяців тому

      I think you are missing the prosing styling. What MDX does is injecting the corresponding markdown as html into your document, and that html needs to be styled properly to look nice.
      For example if you insert an heading1, your html will then contain a corresponding h1 element (but unstyled)
      I resolved that problem by using tailwind-typography on the root of my markdown editor.

    • @rusisolanki121210
      @rusisolanki121210 8 місяців тому

      @@codewithgionatha I configured tailwind typography as well but it still didn’t work

  • @zrxmax_
    @zrxmax_ 3 місяці тому

    I think it's better to create css class draggable, instead of apply it to header
    .draggable {
    -webkit-app-region: drag;
    }
    also you can apply no-drag to all body to make sure no other element will be draggable. What do you think?

    • @codewithgionatha
      @codewithgionatha  3 місяці тому

      If only the header is supposed to be draggable I don't really see the point of making the entire window draggable and then disabling it with no drag 🤔
      Anyway both ways are valid IMHO.

  • @visamalog
    @visamalog 8 місяців тому

    it looks really cool but unluckily there are some fancy options I can't use in Windows. For example the background can't be transparent, so there are some CSS I have to change.

    • @faizanmehmood95
      @faizanmehmood95 7 місяців тому +2

      add the following line in the browesr window instance backgroundMaterial: "acrylic",

  • @Coding-Yogi
    @Coding-Yogi 7 місяців тому

    Hey, if we are using something like firebase (in my case appwrite) how to configure it ?

  • @NamalJayathunga
    @NamalJayathunga 9 місяців тому +1

    Thank you. Could you implement a simple plugin system into this electron project and make a video.

    • @codewithgionatha
      @codewithgionatha  9 місяців тому

      Hey @Namal, what do you mean by plugin system?

    • @NamalJayathunga
      @NamalJayathunga 9 місяців тому

      @@codewithgionatha install third party extension. Then other devs can write own logics into this electron app. Ex: vscode's todo, bookmark, prettier extension.

    • @codewithgionatha
      @codewithgionatha  9 місяців тому +1

      @@NamalJayathunga Still I don't get it, maybe we can discuss it later on Discord, you can find me here: discord.com/invite/mN8WD6M4dR

  • @mrcelix
    @mrcelix 2 місяці тому

    What is your VS Code Theme?,, very nice...

  • @marinbb6946
    @marinbb6946 7 місяців тому

    What mouse and keyboard are u using for coding?

  • @Iras_Mark
    @Iras_Mark 2 місяці тому

    34:50 day1
    1:13:13 day2

  • @mysticftn
    @mysticftn 8 місяців тому +1

    Hi, what is your theme ?

  • @buxx5334
    @buxx5334 Місяць тому

    hey sir can you help me. I need to create a folder /usr/local/bin if is not exist but if exist next step is copy the cli tools to that folder. because my app need to comunicate with that cli tool. but to perform that operation on mac aplication need a sudo access. can i make the process when user first time install my app. when aplication installer run we need to ask the permission for move the file into /usr/local/bin. how can i do that.. thank you sir. i hope you response this comment and i hope you understand my english is not good.

  • @atmanirbharofficialindiaon2789
    @atmanirbharofficialindiaon2789 9 місяців тому +1

    subscribed please bring some compllex apps on electron too pls there's no one on yt who does that yet

  • @ILevizzz
    @ILevizzz 8 місяців тому

    Im having problems with the imports on the index file in the lib folder, it doesn't let me import NoteInfo or variables for constants, if you can help me i really appreciates it

    • @codewithgionatha
      @codewithgionatha  8 місяців тому

      Hey, maybe we can discuss this on the Discord server. Find the link in the desc. 👍

  • @CôngPhạm-g6y
    @CôngPhạm-g6y 3 місяці тому

    I have created a child window above the parent window.
    how can i display componet on it

  • @nekocatdan
    @nekocatdan 6 місяців тому

    Hey I'm stuck on installing the tailwind for this project. I've rewatched "styling setup" 3 times now and I'm not going anywhere. Any fix? I'm on windows. Please and thanks

  • @ShahriarCode
    @ShahriarCode 8 місяців тому

    How do u get so smooth cursor movement bro?

  • @anujpatil1050
    @anujpatil1050 8 місяців тому

    How will the folder structure change if we have more windows in the application ? As there is preload and renderer for every window right?

    • @codewithgionatha
      @codewithgionatha  8 місяців тому +1

      Hey, I found some info regarding having multiple windows, in the official electron-vite doc, here you go: electron-vite.org/guide/dev#multiple-windows-app

  • @techh4ck936
    @techh4ck936 9 місяців тому +1

    Hello, dude. I attempted this project with my Windows 11, but the blur effect does not appear.

    • @MRNandemoari
      @MRNandemoari 9 місяців тому +3

      Obviously, because the property trafficLightPosition, vibrancy, and visualEffectState only works on macOS. I suggest you to read the Electron.js documentation.

    • @techh4ck936
      @techh4ck936 9 місяців тому

      @@MRNandemoari ohh! okay! thanks for the info :)

    • @MRNandemoari
      @MRNandemoari 9 місяців тому

      @@techh4ck936 No problem.

    • @giamynguyen1934
      @giamynguyen1934 8 місяців тому +2

      You should try this: in the src/main/index.ts, at line 17 (33:46), change 'vibrancy: 'under-window' to backgroundMaterial: 'acrylic'.

  • @juanlosauro
    @juanlosauro 2 місяці тому

    Hey, what is your vscode theme?

  • @MariaFernanda-zx2lq
    @MariaFernanda-zx2lq 7 місяців тому

    I always get window equal to undefined, did you do anything to avoid this error?

    • @codewithgionatha
      @codewithgionatha  7 місяців тому

      Did you define this file 👇 github.com/gionathas/NoteMark/blob/a679397cc887db257487e1ea22ff98a585f80443/src/preload/index.d.ts
      Also you get window = undefined at static time (ts complaining) or at runtime?
      Btw we can discuss further on discord: discord.com/invite/mN8WD6M4dR

  • @seandegee
    @seandegee 4 місяці тому

    How would this be possible with Nuxt instead of React?

  • @frenchmike
    @frenchmike 9 місяців тому +1

    20:04 -> i m just bookmarking n will rm my comment later.

  • @liam.wahlberg
    @liam.wahlberg 3 місяці тому

    what extension are you using to sort the import modules order

    • @codewithgionatha
      @codewithgionatha  3 місяці тому

      It's a VScode setting feature (settings.json file)
      "editor.codeActionsOnSave": {
      "source.organizeImports": "always",
      },

  • @hifichannel3510
    @hifichannel3510 8 місяців тому +1

    Could you please share your vscode configs setup

    • @kaiparado
      @kaiparado 5 місяців тому

      Should be good to follow the code now the theme

  • @MRNandemoari
    @MRNandemoari 8 місяців тому

    1:55:00 I think I have follow all of the steps, but idk why I can't import the constant from the shared folder to the main/lib folder. The shared alias working fine on renderer though. Does anybody have a clue on how to fix this? This is actually the first time I'm trying react.js so yeah.

    • @codewithgionatha
      @codewithgionatha  8 місяців тому

      Hey if you have more info we can discuss it on Discord. Link in the description.

  • @darshanheble1844
    @darshanheble1844 4 місяці тому

    In electron vite using react, how do I pass data from main to renderer?

    • @RobertLugg
      @RobertLugg 2 місяці тому +1

      I'm pretty sure you use the IPC functions to do that.

    • @darshanheble1844
      @darshanheble1844 2 місяці тому +1

      @@RobertLugg Yes I am using, but the problem is when I pass data from main to renderer, at that time the UI is still not loaded, so the data is not recieved in renderer. But I solved that problem.

  • @njorogekamau3820
    @njorogekamau3820 2 місяці тому

    I want to be you when I grow up.

  • @zrxmax_
    @zrxmax_ 3 місяці тому

    38:54 HOW?

  • @developerGorilla
    @developerGorilla 7 місяців тому

    Are you inkdrop user?

    • @codewithgionatha
      @codewithgionatha  7 місяців тому +1

      I'm not, but I took inspiration from @devaslife's video 😃

  • @69k_gold
    @69k_gold Місяць тому

    3 hr video and you're incapable of manually setting up the boilerplate? That's wild

  • @control7004
    @control7004 4 місяці тому

    volume is just too low,

  • @developersworld4413
    @developersworld4413 4 місяці тому

    40:40

  • @sajeersayed2008
    @sajeersayed2008 6 місяців тому

    Bloody complicated