Skip to content

Feature/data portability export import#1052

Draft
SiddheshCodes4554 wants to merge 2 commits into
supermemoryai:mainfrom
SiddheshCodes4554:feature/data-portability-export-import
Draft

Feature/data portability export import#1052
SiddheshCodes4554 wants to merge 2 commits into
supermemoryai:mainfrom
SiddheshCodes4554:feature/data-portability-export-import

Conversation

@SiddheshCodes4554
Copy link
Copy Markdown
Contributor

@SiddheshCodes4554 SiddheshCodes4554 commented Jun 5, 2026

This PR adds a built-in data portability flow so users can back up, migrate, and restore their memories directly from the web app. The goal is to give users better control over their long-term memory data without needing external scripts or manual database access.

What’s included

  • Export memories as JSON.
  • Export memories as Markdown.
  • Filter exports by container tags.
  • Filter exports by date range.
  • Import previously exported JSON archives.
  • Add a dedicated Data portability section under Settings.

How it works

The web app now exposes authenticated memory export/import routes that proxy through the existing backend API using the same session/auth context as the rest of the app.

For export:

  • The route fetches paginated memory documents from the backend.
  • JSON exports include metadata and document records.
  • Markdown exports render a human-readable archive with headings, timestamps, tags, and content sections.

For import:

  • The route accepts previously exported JSON payloads.
  • It validates and normalizes the payload before sending it to the backend in batches.
  • Imported memories can preserve content, metadata, custom IDs, and tags where available.
  • The UI lets users upload a JSON backup and receive feedback on success or failure.

UI changes

A new Settings panel was added for:

  • Choosing export format.
  • Filtering by date range.
  • Filtering by tags.
  • Downloading the exported archive.
  • Uploading a JSON backup for restore.

Why this change

Many users use supermemory as a long-term memory store for AI workflows. A portability workflow makes it easier to:

  • Migrate between environments.
  • Keep backups for recovery.
  • Archive personal knowledge.
  • Increase transparency and user trust.

@graphite-app graphite-app Bot requested a review from Dhravya June 5, 2026 13:42
@SiddheshCodes4554 SiddheshCodes4554 marked this pull request as draft June 5, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant