mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7221] [Issue]: Add user-triggered local image baking for greetings #4032
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4032
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7221
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Add an explicit option to download remote images used in character greetings and store them as Marinara Engine-managed local assets. Optionally support the same workflow for lorebooks.
Expected behavior
Users should be able to manually bake a remote greeting image into local storage, associate or replace its URL with an app-controlled asset reference, and continue viewing it if the remote file changes, is deleted, or the user is offline.
Actual behavior
Greeting images remain dependent on external URLs and can become unavailable when the remote content changes, is deleted, or cannot be reached.
Steps to reproduce
Environment
Logs, screenshots, or video
No logs, screenshots, or video were provided.
Additional context
Requested benefits include archival and preservation, offline access, reduced network traffic, protection against changed remote content, and potentially faster loading. The download should be explicitly user-triggered rather than automatic. Security considerations include SSRF protection, redirect and DNS validation, blocking private/link-local addresses and unsafe URL schemes, app-generated asset paths, file type and magic-byte validation, rejecting or sanitizing SVG/HTML, size and pixel limits, timeouts, rate limits, and avoiding forwarding cookies or authorization headers. Preserve the source URL and allow users to replace or delete the local copy. Lorebook image baking was suggested as an optional extension, without automatic fetching during trigger scanning.
Discord thread: Feature Request - "Bake" the messages / Saving messages in greetings.
Discord thread link: https://discord.com/channels/1417099416812392641/1557271453261504512
Requested by: gunterlie (gunterlie, Discord ID 282074442962829312)
Discord thread transcript (11 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 9, 2026):
Fixed on staging by #7346.