planchonP
Convex Communityโ€ข4w agoโ€ข
8 replies
planchon

Embedding convex in an Electron application

โ”Advice
I'm building an electron based application, I'm thinking about the "backend / database" part of the application.
I want something easy to use, where the frontend is always sync-ed, if possible local-first.

I have used convex for many month now, and was thinking if it was possible to embed convex (the dev binary) in an electron app.

I'm also looking at electric-sql, powersync and tinybase

The electron application would be connected to convex in the "renderer" part (with React hooks)
And would run the "dev binary", if necessary, in the a "process" of the main process.

At first my application would be local only, but in the futur a cloud version will be possible.
I have not POC-ed the solution yet, but I will.

Do you have an opinion on the subjets ? Is it a great / bad idea ? Some thing I'm missing ?

Thank you for your help / advices ๐Ÿ™‚
Was this page helpful?