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.25k stars 706 forks source link

Self Host Khoj Cloud? #525

Closed KeithIMyers closed 1 year ago

KeithIMyers commented 1 year ago

Good Morning, I know Klog cloud is a WIP but I wanted to know if there were any plans to allow it to be self hosted. My reasoning for asking is I often take a lower powered device with me when I am not at home and would love to have a way to securely access my content from any device. I have a server in a colo that I already use to run several docker containers and run my internal git server and the specs should be high enough to run a kloj instance.

sabaimran commented 1 year ago

Hi @KeithIMyers! Yes, for sure this is meant to be easily self-hostable. Our initial release is going to be using Google OAuth for login, for which you'd need a Google developer account and a test application.

I think we'll add a native sign-in mechanism as well so the Google dependency isn't there for accounts, but that might not be available in the initial release. That being said, would love to have your feedback on the dev experience when/if you do try hosting it on your own server!