-
Notifications
You must be signed in to change notification settings - Fork 60.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Cloud Sync via WebDAV #920
Comments
在计划中。 |
目前我的解决办法是用chrome插件localStorage manager手动导入导出. |
请问计划用什么方式实现 |
更新, 目前使用自部署的 cookiecloud 同步localStorage |
Update, currently use self-deployed cookiecloud to sync localStorage |
移动版上只能依靠ChatGPT-Next-Web 的原生实现了。 |
The mobile version can only rely on the native implementation of ChatGPT-Next-Web. |
就像ChatGPT一样, 不可能同时向多装置Stream输出,但是可以在云端档案中,添加状态元数据,在该讯息ID底下,发送讯息,先向云端查询是否正在Stream,完成后,添加记录并且进行云端储存。在另一个装置底下,对话可以与云端进行日期对比。 |
Just like ChatGPT, it is impossible to stream to multiple devices at the same time, but you can add status metadata to the cloud file, send a message under the message ID, first query the cloud whether it is Streaming, and then add a record and proceed cloud storage. Under another device, conversations can be dated against the cloud. |
大多数 webdav 服务均没有开启 cors,无法在网页中直接使用,此特性开发暂时搁置。 |
Most webdav services do not have cors enabled and cannot be used directly in web pages. The development of this feature is temporarily on hold. |
使用云盘的api呢? |
What about using cloud disk APIs? |
可否考虑一下用后端服务转发到webdav呢? |
Can you consider using the backend service to forward to webdav? |
#2176 我在这个里面描述的可能不够清楚、 从用户使用效果上来说 从开发者使用角度来说 可以在环境变量设置一个稳定的Web3节点服务商、如cloudflare(有免费额度) 这个功能还可能为本项目 增加一点有意思社交属性 例如 AI多人在线聊天 |
#2176 What I described here may not be clear enough, From the perspective of user effect
From the perspective of developers, you can set a stable Web3 node service provider in the environment variable, such as cloudflare (with free quota) |
前沿技术总是很有趣,听起来是cf提供了储存节点和网关? |
Frontiers are always interesting, sounds like cf provides storage nodes and gateways? |
我看到 https://github.com/ztjhz/BetterChatGPT 使用 GoogleDrive 实现的同步,是否可以参考一下? |
@ChasLui 问一下,移动端有自动同步 localstorage 的方法吗?我试了 android 手机 kiwi 浏览器装 cookiecloud,无法同步,但是 PC 端是没问题的 |
别整那些花里胡哨的什么web3。那东西没有任何意义。 当你提出解决方案的时候,花时间想想自己要解决的是什么问题。 当我们说同步的时候,我们的需求是:一个隐私、可内网或公网部署 、高速、省空间的同步服务。 IPFS 没有解决以上任何一点,甚至与之背道而驰🙄 |
Don't fix those fancy web3. That stuff doesn't make any sense. When you come up with a solution, take the time to think about the problem you are trying to solve. When we talk about synchronization, our requirement is: a privacy, intranet or public network deployment, high-speed, space-saving synchronization service. IPFS doesn't solve any of the above, and even runs counter to it 🙄 |
考虑支持S3存储怎么样?S3使用很广泛,不管是原版的,还是各种兼容S3 API的对象存储服务都有,也可以使用MinIO自建。 |
How about considering support for S3 storage? S3 is widely used, whether it is the original version or a variety of object storage services compatible with the S3 API, you can also use MinIO to build yourself. |
同步能不能普通的做成 |
Sync ngbung common made |
尝试用了下 BetterChatGPT GoogleDrive方式的同步,还可以,能否能支持下同步消息。 |
既然 |
Since |
我有一个想法,但是代码能力渣渣,完整实现尚未完成,不知道有没有大佬可以考虑实现一下:
|
I have an idea, but the code ability is sloppy, and the complete implementation has not been completed. I don’t know if there are any big guys who can consider implementing it:
|
Done #2819 |
feat: ChatGPTNextWeb#920 migrate id to nanoid
feat: ChatGPTNextWeb#920 migrate id to nanoid
webdav服务提供商大部分都提供了cors设置吧, |
Most webdav service providers provide cors settings, right? |
能否增加对WebDav的支持,让用户使用自己的网盘实现消息记录的自动备份与同步。像坚果云、Dropbox、InfiniCLOUD等等,随便支持一个都可以。
The text was updated successfully, but these errors were encountered: