mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1364] Copy to Clipboard Action #962
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#962
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 @SudoWatson on GitHub (Jun 5, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1364
💡 Idea
A new type of action for copying a specified value to the clipboard.
I'm currently writing a program that scans my emails for one time passcodes, and when found, sends a notification of the code to my phone so I don't need to check my email. It would be nice if there was a button I could click that would copy the code to my clipboard. In the app you can hold to copy the entire contents of the notification, but I want to copy it directly from the notification and don't want to open another app to get the code. I also may want more information in the notification that I don't want copied, such as the app the code is for.
The new action could look like
Where the value (in this case "1234") gets copied to the system clipboard.
💻 Target components
The server would need to handle the new action type. I'm not sure if the apps would need to handle the new action copying to clipboard, or if the OS would handle that with whatever the server sends.
I'm open to working on this if the idea is approved.
@acress1 commented on GitHub (Nov 16, 2025):
Would be totally useful! 🫶🏻
@binwiederhier commented on GitHub (Feb 16, 2026):
This is done in ntfy server 2.17.0 (released) and ntfy Android 1.23.0 (rolling out shortly)