mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #372] [Feature]: Add option to attach the finished print photo to “print finished” notifications (not just {finish_photo_url}) #233
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy#233
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 @fila612 on GitHub (Feb 14, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/372
Originally assigned to: @maziggy on GitHub.
Problem or Use Case
Hi Bambuddy team,
currently the “print finished” notification can include the local photo URL via {finish_photo_url}. This is useful, but in practice it’s often not accessible from outside the local network (or from mobile push providers / remote clients).
Feature request
Please add an option to attach the “finished print” photo as an actual image attachment in the notification (or alternatively embed it), instead of only providing the local URL.
Why this matters / problem statement
• {finish_photo_url} is typically a local URL, so it often can’t be opened when I’m not on the same network/VPN.
• Many notification targets (mobile push, messaging bridges, etc.) work much better with an image attachment/preview than with a plain link.
• For a “print finished” event, the photo is the most relevant payload—seeing it directly is the point.
Proposed Solution
Suggested behavior / acceptance criteria
• Add a new placeholder and/or setting, e.g. {finish_photo} as binary attachment (or a boolean “Attach finish photo”).
• If the backend can fetch the image reliably, include it as an attachment for supported notifiers.
• If attachment is not supported by the target notifier, fall back to including {finish_photo_url} (current behavior).
• Optional: allow selecting image size/quality to keep payload small.
Alternatives Considered
No response
Feature Category
Notifications
Priority
Nice to have
Mockups or Examples
Notes / constraints
• A direct attachment implies Bambuddy either:
1. already has access to the image data locally and can pass it through, or
2. can fetch it from the printer/camera endpoint and then attach it.
• If remote access is a concern, even a proxied/served image URL from Bambuddy (instead of the printer’s local URL) would already be a big improvement—but attachment would be ideal.
Thanks!
Contribution
Checklist
@maziggy commented on GitHub (Feb 14, 2026):
Problem is, that not all providers are supporting image attachments.
@fila612 commented on GitHub (Feb 14, 2026):
okay, valid point. maybe this can be added only for providers who supporting that.
@maziggy commented on GitHub (Feb 14, 2026):
But then we would also need separate templates for each provider. That would blew up things too much.
@penner42 commented on GitHub (Feb 15, 2026):
Doesn't it already do this for Pushover though? I don't think it needs a separate template, just an option to include image if it's available. Can default not having. I would like it for ntfy, and was going to submit a feature request. Looking at the code (
github.com/maziggy/bambuddy@40f6ddc059/backend/app/services/notification_service.py (L243)) it looks like it just always sends an image for Pushover. Can just do this for the ones that support it, or have an option to disable it.@maziggy commented on GitHub (Feb 16, 2026):
Yes, you're right. Telegram and ntfy are also supporting images.
Available in branch 0.2.0b.