Skip to content

feat: add message export/import for chat backup #19

Description

@corvid-agent

Description

Users have no way to back up or export their chat history. Since messages are stored in IndexedDB and encryption keys are local, losing the browser profile means losing all message history.

Suggested implementation

  • Add an "Export chat" button in settings that exports messages as an encrypted JSON file
  • Add an "Import chat" option during setup or in settings
  • Use the wallet password to encrypt the export file (AES-GCM)

Benefits

  • Users can back up conversations before clearing browser data
  • Enables migration between devices without re-scanning QR codes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions