[GH-ISSUE #4554] [Feature]: Persist library folders on the server #2483

Closed
opened 2026-10-21 05:48:38 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @minikkeuen on GitHub (Aug 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4554

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Library folders are currently stored only in client-side storage.

This means:

  • Folder organization is lost after clearing browser data.
  • Folders are not shared across devices connected to the same Marinara server.
  • Library folders behave differently from other server-backed resources.

Proposed solution

Store library folders on the server instead of client-side storage.

This includes:

  • A shared schema for library folders.
  • Server-side storage and API routes.
  • Client migration from existing local folder data.
  • Integration with the existing file-backed storage system.
  • Support for admin data reset.

This allows library folders to persist across browser data clearing, server restarts, and multiple devices connected to the same server.

Alternatives considered

Keeping the current client-side storage was considered, but it cannot provide persistence across devices or survive browser data clearing.

Additional context

I've already implemented this feature locally and verified that:

  • Folder creation, rename, move, and deletion work correctly.
  • Folders persist after restarting the server.
  • Folders persist after clearing browser data.
  • Folders are available from another device connected to the same server.

I'll open a pull request for this implementation after creating this issue.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @minikkeuen on GitHub (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4554 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Library folders are currently stored only in client-side storage. This means: - Folder organization is lost after clearing browser data. - Folders are not shared across devices connected to the same Marinara server. - Library folders behave differently from other server-backed resources. ## Proposed solution Store library folders on the server instead of client-side storage. This includes: - A shared schema for library folders. - Server-side storage and API routes. - Client migration from existing local folder data. - Integration with the existing file-backed storage system. - Support for admin data reset. This allows library folders to persist across browser data clearing, server restarts, and multiple devices connected to the same server. ## Alternatives considered Keeping the current client-side storage was considered, but it cannot provide persistence across devices or survive browser data clearing. ## Additional context I've already implemented this feature locally and verified that: - Folder creation, rename, move, and deletion work correctly. - Folders persist after restarting the server. - Folders persist after clearing browser data. - Folders are available from another device connected to the same server. I'll open a pull request for this implementation after creating this issue. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Fixed by #4555 and merged into staging in c0ce4d8849.

<!-- gh-comment-id:5179041408 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Fixed by #4555 and merged into staging in c0ce4d8849e072db2bfe300bbed22aa700ce7b49.
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#2483
No description provided.