Posts, a community app by Read.cv

Thread
Adhe
Adhe @adhe

It's been weeks trying to balance my full-time job and caring for my 6-week-old son, but here is the current Coun. There's still a long way to go, but I'm glad it's starting to appear.

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

*compatibility issues