Posts, a community app by Read.cv

Thread
Igor Lanko
Replying to @adhe

That’s awesome! SwiftUI?

Adhe
Adhe @adhe
Replying to @igorlanko

It’s a Tauri

Igor Lanko
Replying to @adhe

Ooohhh! Looks slick! How would you rate dev experience? I don’t want to go back using Electron. While figuring out SwiftUI, thought I’d ship some stuff on Tauri for macOS. Just being wary of working with system API though… it’s always cumbersome with wrappers.

Adhe
Adhe @adhe
Replying to @igorlanko

Compared to electron, personally it is easier with Tauri. I initialized the project, set up the fe and put "hello world", changed some Tauri settings and install couple deps in cargo, built and test the .app file in macos. Everything worked just in one day.

Adhe
Adhe @adhe
Replying to @igorlanko

Haven't fully test the system API but I find the docs is straightforward, and I can see it's really potential to explore ideas more and use Tauri as the wrapper. Learn swiftUI also something I would prefer for native app but now I'd love to have it in web, mac, and windows.

Adhe
Adhe @adhe
Replying to @igorlanko

And considered Tauri for much smaller bundle size as it uses webkit for web engine, compared to chromium in electron. Current Coun, with all components as posted, it's 5mb.

Igor Lanko
Replying to @adhe

Oh yes, dramatically smaller bundle is what sparkled my interest. Thanks for such a detailed response! Are you using v1 or v2, btw? Judging from the docs it looks like v2 introduces some major alluring changes, but its early alpha looks like.

Adhe
Adhe @adhe
Replying to @igorlanko

Yeah v2 is exciting, seems they offer to bundle it in Android/iOS as well. I'm sticking to v1 for now, so then I can focus on the product itself rather than handling the possible compatibility. How was your experience with Electron?

Adhe
Adhe @adhe
Replying to @igorlanko

*compatibility issues

Aman
Replying to @adhe

the hover state looks cute. First time I’ve seen someone use rotation. Also the little scale transitions on click look nice!

Adhe
Adhe @adhe
Replying to @amanfromsolan

Thank you Aman! It wasn’t the plan to make it rotate but just want to have some feedback to it so little wiggle might help

Kohei Foss
Replying to @adhe

Way to make an effort to build new things even with your new responsibilities. Rock on!

Adhe
Adhe @adhe
Replying to @kohei

The routine starts getting better every day, thank you!