NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Feature] 本地聊天记录迁移

Open QAbot-zh opened this issue 2 years ago • 3 comments

网页版本地聊天记录是以什么形式保存的,有没有可能提供一种方式,可以实现本地跨域名迁移(不涉及云、不涉及跨设备和跨浏览器,单纯同一个电脑同一个浏览器同一个部署服务,只是域名不同)? 应用场景:同一个部署网页,域名挂了,更换域名之后,原域名网页聊天记录就无法同步/迁移过来,有点可惜。

QAbot-zh avatar Jan 02 '24 03:01 QAbot-zh

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature] Local chat record migration

In what form are the web version of chat records saved? Is it possible to provide a way to achieve local cross-domain migration (no cloud, no cross-device and cross-browser involved, just the same computer, the same browser, the same Deploy the service, but the domain name is different)? Application scenario: For the same deployed web page, the domain name is down. After changing the domain name, the chat records of the original domain name web page cannot be synchronized/migrated, which is a pity.

Issues-translate-bot avatar Jan 02 '24 03:01 Issues-translate-bot

try sync to webdav then sync it back.

walterclozet avatar Jan 03 '24 03:01 walterclozet

网页版本地聊天记录是以什么形式保存的 chat records saved

In browser's localStorage, as a JSON string.

It should be able to export from localStorage of the previous domain, and import into localStorage of a different domain.

jokester avatar Mar 13 '24 18:03 jokester