[GH-ISSUE #823] [Feature]: Bulk export chat transcripts #396

Closed
opened 2026-10-20 17:28:24 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Xelvanis on GitHub (May 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/823

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Chat transcript export currently works one chat at a time from the Manage Chat Files drawer. Users who want to archive, migrate, or share many chats need to open each chat and export JSONL or text individually.

Full backups preserve raw app data, but they are not a convenient folder or zip of readable/importable chat transcripts.

Proposed solution

Add bulk chat transcript export.

Suggested entry points:

  • Add an Export action to the existing chat sidebar multi-select bar, alongside Move and Delete.
  • Add an Export all chats option for full-library transcript archive use cases.
  • Consider an Export folder option for users who organize chats into folders.

Suggested output:

  • Download a zip containing one file per exported chat.
  • Support JSONL and plain text, matching the current single-chat export formats.
  • Include enough filename or manifest context to distinguish branches, folders, chat groups, and duplicate chat names.
  • Reuse the existing single-chat export serialization so JSONL remains compatible with existing import workflows.

Alternatives considered

  • Download Backup: useful for recovery, but it contains raw app data and assets rather than a transcript-focused export bundle.
  • Export Profile (JSON): useful for characters, personas, lorebooks, presets, agents, and themes, but it does not export chats.
  • Current per-chat export: works for one-off exports, but becomes slow and repetitive for large chat libraries.

Additional context

The current single-chat export endpoint is /api/chats/:id/export?format=jsonl|text.

The chat sidebar already has multi-select behavior for Move/Delete, which may be a natural place for selected-chat export.

Related but not a duplicate: #800 covered a JSONL re-import bug for existing single-chat exports.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Xelvanis on GitHub (May 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/823 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Chat transcript export currently works one chat at a time from the Manage Chat Files drawer. Users who want to archive, migrate, or share many chats need to open each chat and export JSONL or text individually. Full backups preserve raw app data, but they are not a convenient folder or zip of readable/importable chat transcripts. ## Proposed solution Add bulk chat transcript export. Suggested entry points: - Add an Export action to the existing chat sidebar multi-select bar, alongside Move and Delete. - Add an Export all chats option for full-library transcript archive use cases. - Consider an Export folder option for users who organize chats into folders. Suggested output: - Download a zip containing one file per exported chat. - Support JSONL and plain text, matching the current single-chat export formats. - Include enough filename or manifest context to distinguish branches, folders, chat groups, and duplicate chat names. - Reuse the existing single-chat export serialization so JSONL remains compatible with existing import workflows. ## Alternatives considered - Download Backup: useful for recovery, but it contains raw app data and assets rather than a transcript-focused export bundle. - Export Profile (JSON): useful for characters, personas, lorebooks, presets, agents, and themes, but it does not export chats. - Current per-chat export: works for one-off exports, but becomes slow and repetitive for large chat libraries. ## Additional context The current single-chat export endpoint is `/api/chats/:id/export?format=jsonl|text`. The chat sidebar already has multi-select behavior for Move/Delete, which may be a natural place for selected-chat export. Related but not a duplicate: #800 covered a JSONL re-import bug for existing single-chat exports. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 14, 2026):

Triage note: labeling this as scope-risk because bulk transcript export is aligned and useful, but the requested scope includes selected chats, all chats, folders, zip output, manifests, branch naming, and multiple formats.

The least risky next step is to split out a first slice around selected-chat export reusing the existing single-chat JSONL/text serialization.

<!-- gh-comment-id:4454557924 --> @cha1latte commented on GitHub (May 14, 2026): Triage note: labeling this as `scope-risk` because bulk transcript export is aligned and useful, but the requested scope includes selected chats, all chats, folders, zip output, manifests, branch naming, and multiple formats. The least risky next step is to split out a first slice around selected-chat export reusing the existing single-chat JSONL/text serialization.
Author
Owner

@SpicyMarinara commented on GitHub (May 17, 2026):

Adding.

<!-- gh-comment-id:4470058374 --> @SpicyMarinara commented on GitHub (May 17, 2026): Adding.
Author
Owner

@SpicyMarinara commented on GitHub (May 17, 2026):

Fixed on staging in cb8ae73f. The chat sidebar multi-select bar now includes Export, with JSONL/text zip downloads for selected chats and full-library exports. The server reuses the single-chat serializer, adds one transcript per chat, and includes a manifest with chat IDs, branch names, folder IDs, group IDs, mode, timestamps, and message counts.

<!-- gh-comment-id:4470248927 --> @SpicyMarinara commented on GitHub (May 17, 2026): Fixed on staging in cb8ae73f. The chat sidebar multi-select bar now includes Export, with JSONL/text zip downloads for selected chats and full-library exports. The server reuses the single-chat serializer, adds one transcript per chat, and includes a manifest with chat IDs, branch names, folder IDs, group IDs, mode, timestamps, and message counts.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#396
No description provided.