-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Request] 将本地聊天记录存储到指定目录 #1547
Comments
🥰 Description of requirementsIt is hoped that the local storage and backup of chat records can be optimized, so that you can specify the storage directory of chat records yourself. 🧐 SolutionOnce there was a problem with the browser and I cleared all the cookies. Then I logged in to the website and found that all the previous chat records were gone! This makes me feel that my chat history is very unsafe. If you can specify the storage directory for local chat history files instead of using cookies to store them, the data may be more stable and less likely to be lost. 📝 Supplementary informationI know it can be achieved using the backup function, but compared to exporting the backup each time and then importing it again, it is obviously more secure to store it directly in a specified directory that will not be easily deleted. |
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
清空 cookies 不会删除历史记录的 |
Clearing cookies will not delete history |
您好!非常感谢您百忙之中的回复! 我确认了一下,确实是我疏忽了,我不仅清空了cookies,还清空了站点数据。所以我的描述并不准确。 不过我仍然认为 ** 可以自己指定聊天记录的存储目录 ** 对于我来说非常实用,因此建议开发组加入这个功能,希望可以考虑采纳,辛苦你们了,感谢你们开发了这么棒的项目! |
Hello! Thank you very much for your reply despite your busy schedule! I confirmed it, and it was indeed my negligence. I not only cleared the cookies, but also cleared the site data. So my description is not accurate. However, I still think that ** being able to specify the storage directory of chat records ** is very practical for me, so I recommend that the development team add this feature, and I hope it can be considered for adoption. Thank you for your hard work, and thank you for developing such a great project! |
我们后续会支持同步方案 ( #1525 ) 。但是指定存储目录这个需求在浏览器端实现应该是不太现实的 |
We will support synchronization scheme in the future (#1525). However, it may not be realistic to specify the storage directory on the browser side. |
好的,我了解了,期待同步功能,感谢你们的付出!~ |
Okay, I understand, looking forward to the synchronization function, thank you for your efforts! ~ |
请教一下,有的时候反应特别慢,感觉应该主要出现在新建对话和进入历史对话时,和这个存储有关系吗? |
I would like to ask, sometimes the response is very slow. It seems that it should mainly appear when creating new conversations and entering historical conversations. Is it related to this storage? |
I seem to have seen this implementation on the web side of an open source notebook software Logseq. If you have any plans in the future, you can refer to this 👍🏻 |
This issue is closed, If you have any questions, you can comment and reply. |
Server database configuration guide: https://lobehub.com/zh/docs/self-hosting/advanced/server-database |
🎉 This issue has been resolved in version 1.0.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🥰 需求描述
希望能够优化聊天记录的本地存储与备份,实现可以自己指定聊天记录的存储目录。
🧐 解决方案
有一次浏览器出了问题,清空了所有Cookies,然后再登陆网站发现之前所有的聊天记录都不见了!这样让我觉得自己的聊天记录非常不安全。如果可以自己指定本地聊天记录文件的存储目录,而非用Cookies存储,数据可能会更加稳定不易丢失。
📝 补充信息
我知道可以用备份功能实现,但比起每次导出备份然后再导入,显然直接存储在指定的,不会被轻易删除的目录更加安全。
The text was updated successfully, but these errors were encountered: