lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.38k stars 9.95k forks source link

How do I set up WebRTC-based syncronization? #2805

Closed betterthanever2 closed 4 months ago

betterthanever2 commented 5 months ago

📝 Question

I have recently set up self-hosted version of Lobe chat, and I can see the CloudSync section in the settings. But I can't find any documentation on this.

I'm new to WebRTC. From what I quickly googled, I understand that I need to set up a signalling server so that my peers could exchange their handshaking data?

lobehubbot commented 5 months ago

👀 @betterthanever2

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Sun-drenched commented 5 months ago

The signaling server is currently maintained by the developer, you just need to set up a channel name and password

betterthanever2 commented 5 months ago

Thanks! I got confused, because it didn't work right away. It magically started working the next morning. Might be related to the Internet issues we've been having here.

BTW, are there plans for persistent storage, db- or file-based?

Sun-drenched commented 5 months ago

WebRTC is really not very stable and is just a transitional solution. As for your comment about persistent storage, as far as I know, they are working on it.

delfer commented 4 months ago

Any updates?

arvinxx commented 4 months ago

We will add the env these days

lobehubbot commented 4 months ago

✅ @betterthanever2

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot commented 4 months ago

:tada: This issue has been resolved in version 1.3.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: