Turn Any SvelteKit Website Into A Desktop App With Tauri (Complete Windows Setup)

Поделиться
HTML-код
  • Опубликовано: 27 июл 2024
  • 🎓 Join my learning platform for module based courses, learning exercises, and more: coderprep.com/
    In this video I show how to take SvelteKit websites and turn them into performant desktop applications. We do this by using a toolkit called Tauri, which allows you to build Desktop apps from modern frontend frameworks such as SvelteKit, Next.js, and more. Tauri is built on Rust, and allows us to create desktop applications for all major desktop platforms. If you are interested in developing desktop applications, I think that this stack has a bunch of potential. Let me know if you'd like to see more content like this! This video is also applicable to any SvelteKit project (Not just the one I show), follow the steps and you can turn your website into a desktop app in just 12 minutes.
    Downloads
    MSFT VS C+++ Build Tools: visualstudio.microsoft.com/vi...
    WebView 2 Runtime: developer.microsoft.com/en-us...
    Rust rustup: www.rust-lang.org/tools/install
    Original SvelteKit Project (The original code if you'd like to clone): github.com/coopercodes/Svelte...
    Final SvelteKit and Tauri Project: github.com/coopercodes/Svelte...
    0:00 Introduction
    1:20 Prerequisites instillation (Windows)
    4:22 SvelteKit setup for Tauri
    6:40 Initializing Tauri / Rust project
    8:47 Running Tauri app in dev mode
    9:52 Running Tauri app in build mode (Build .exe for your project!)
    11:31 Thanks for watching!
  • НаукаНаука

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

  • @BRODZELi
    @BRODZELi 9 месяцев назад +5

    Please create more SvelteKit tutorials; your explanations are unbelievably awesome! 🚀👏

  • @riigel
    @riigel 11 месяцев назад +8

    More of this Tauri + Sveltekit video please!!!! 😢😢😢😢

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

    This is amazing!! Thank you for presenting this tutorial :-) it would be great to see even more on actual projects with Tauri + SvelteKit.

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

    Definitely interested in more stuff on Tauri. I have just watched the vid, not implemented it yet, but it looks like the executable is pretty small compared with something like Electron. Sure, bring on more; I'm particularly interested in file system access. :)

  • @marktwain3083
    @marktwain3083 8 месяцев назад

    Extremely informative and to the point.

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

    Definitely interested 👍great stuff, thanks

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

    More Tauri, for sure! Do some vanilla js shit!

  • @sammy3362
    @sammy3362 10 месяцев назад

    thank you, would appreciate more of this

  • @paulclarke4099
    @paulclarke4099 10 месяцев назад

    Fantastic, all your videos are great, you really do a great job of explaining things very succinctly 💯😃👍

  • @DolevDublon
    @DolevDublon 11 месяцев назад

    Hi cooper code , thank you a lot

  • @SheeceGardazi
    @SheeceGardazi 4 месяца назад

    love it!

  • @paulthomas1052
    @paulthomas1052 Год назад +5

    Pretty Cool !! - I can see some benefits for using this approach...although the installation could be streamlined 😄 Thanks for the demo !
    I built and ran the app successfully on Mac (Ventura 13.5). I'd be interested in any additional Tauri demos you have planned - it looks like it could be very useful.

    • @CooperCodes
      @CooperCodes  Год назад +6

      Glad to see you got the mac setup working! Will definitely release a full video showcasing a project with SvelteKit and Tauri, I'm thinking a MP3 player for now so I can show some basic stuff like "get users mp3s from folder" which would show off the Tauri side a little bit (Allowing us to do things beyond just the website). Glad you enjoyed :)

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

      @@CooperCodes Great stuff thanks for the repjy

    • @Methapon2001
      @Methapon2001 10 месяцев назад

      ​@@CooperCodes That would be cool, I wanted to create my own music player myself too. I actually know how but it has not started just yet. So I really am interested in it. (I'm going to make it for the FLAC file though)

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

    Impressive!!!

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

    Very interesting! Can you look into Tauri 2 and SvelteKit deploying of mobile apps? Great content, cheers.

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

    Helpful video, great. thank you a lot. If you can make a video Tauri for HTML, CSS, and JavaScript.

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

    Great video idea!

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

    Thank you very much for the video. Any chance you make a video concerning SvelteKit as PWA?

  • @prashlovessamosa
    @prashlovessamosa 6 месяцев назад

    Great.

  • @Xamy-
    @Xamy- 8 месяцев назад

    Interested :)

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

    Can you do the same for wails, with sveltekit and skeleton?

  • @gwndavid5892
    @gwndavid5892 7 месяцев назад

    More taurii

  • @jozefm.h.dassen7036
    @jozefm.h.dassen7036 4 месяца назад

    Nice, but........
    Like 99% of the youtube videos it covers the bare basics, most which I can find in the documentation. There are two questions that are important and I do not see addressed.
    1. what happens to Sveltekit server code (+page.server.js)... will this run properly in an SSG adapter ? If not how do I run background operations (without re-doing it in rust)??
    2. can I use node.js libraries/packages without limit? I use a lot of image libraries and sqlite in the backend. I don't feel (yet) ready to replace all my nodejs code by rust.
    I would have liked to see a more realistic Sveltekit application converted to Tauri. After all you said "Any Sveltekit Website"..........

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

    So i don't need to know rust to use tauri?

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

      There are javascript api's for Tauri so no need to know rust.

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

    is there anything like tauri but for android app ?

    • @ourmarkas
      @ourmarkas 10 месяцев назад

      Soon, tauri also can build into android package

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

    The only reason I'm yet to checkout tauri is because of rust. Nice tutorial. Make an inventory management system with tauri and sveltekit

    • @CooperCodes
      @CooperCodes  Год назад +2

      Yep Rust is definitely blocking a lot of people from using it. An inventory management system would be a great project. Right now I'm thinking of building a mp3 player so I can use the file system (storing MP3s in a folder for example) so I can show the SvelteKit / Tauri interaction with operating system related things. TBD though, but I appreciate the idea I will keep it in mind!

  • @shriram3565
    @shriram3565 11 месяцев назад

    hello sir i am from india, i do have some doubts regarding monaco text editor can u help me, reply to this comment soon