evoluhq / evolu

A local-first platform designed for privacy, ease of use, and no vendor lock-in
https://evolu.dev
MIT License
1.16k stars 39 forks source link

Support for tauri #318

Open patrick91 opened 5 months ago

patrick91 commented 5 months ago

Would it be possible to add support for tauri?

Tauri has a plugin for SQL: https://github.com/tauri-apps/tauri-plugin-sql which supports Sqlite :)

steida commented 5 months ago

@patrick91 Yes, it's possible, but I have tasks with higher priority right now.

steida commented 4 months ago

Tauri 2 looks very interesting! I will make an example once it's released.

steida commented 3 months ago

@patrick91 If you want Tauri support, I am here to help you. It should be easy.

patrick91 commented 3 months ago

@steida for my side project I started using the SQL plugin (with Y.JS and soon Loro), maybe I'll check evolu again in future 😊

Thanks for wanting to help!

steida commented 3 months ago

@patrick91 Which SQL plugin(s), please? Thank you

patrick91 commented 3 months ago

This one: https://github.com/tauri-apps/tauri-plugin-sql/tree/v2

I did have some performance issue, that I have solved by doing a custom uri scheme, like described here: https://github.com/tauri-apps/tauri/discussions/5597

My issue was that I was sending a "big" (0.5mb) Y.JS document and something in the serialisation/deserialisation process was slow (but it might have been fixed in the latest commits)