khoj-ai / khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
https://khoj.dev
GNU Affero General Public License v3.0
14.28k stars 708 forks source link

Create a new desktop client #470

Closed sabaimran closed 1 year ago

sabaimran commented 1 year ago

Use a framework like electron, tauri, or something else to create a desktop client that can effectively act as a syncing agent for local files to the backend server and allow users to manage their credentials (sign in, create an account).

Ideally we should also setup an easier mechanism for signing. Refer to ToDesktop: https://www.todesktop.com/electron

wyenelle commented 1 year ago

From the above instruction, you need a web app developerd with a framework that looks like what todesktop has already ?

sabaimran commented 1 year ago

@wyenelle , yeah! I was able to try out the ToDesktop workflow and it works pretty well for our use case. Adding it in this PR: https://github.com/khoj-ai/khoj/pull/473

wyenelle commented 1 year ago

Must it be done with electron

sabaimran commented 1 year ago

@wyenelle yes, or any desktop framework that allows us to run processes outside of the browser. Using a Go/Wails app could have been another alternative, but would be a steeper learning curve.

wyenelle commented 1 year ago

I'm a front-end developer with React. Is there any way I can come in. I'm new to open source

sabaimran commented 1 year ago

hey @wyenelle , happy to hear you're interested in working on Khoj! can you hop in our Discord, where we can continue the discussion? feel free to grab a contributor role: https://discord.gg/BDgyabRM6e

We're not currently planning on integrating React in the front-end as it's just not necessary and makes the build setup a little more complicated, but may do this as the UX becomes more complex.

wyenelle commented 1 year ago

Thanks I just joined the Discord channel . Looking forward to contributing