mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #1024] Add apple shortcuts to documentation #719
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#719
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 @Anonymous4045 on GitHub (Feb 13, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1024
💡 Idea
I noticed that the ntfy iOS app lacks support for Apple Shortcuts to send notifications. I don't have a clue how those are made, but I figured out you can make simple POST requests with some web shortcuts. Here's a shortcut I often use, I set it so I get alerts when my phone goes below 20%. I'm sure there's many other applications for this as well. Therefore, I think it's worth considering adding instructions for this in the documentation.

💻 Target components
Documentation
@wunter8 commented on GitHub (Feb 13, 2024):
Thanks!
There are 2 iOS shortcuts on this page already, but I'm not sure how they compare to yours: https://docs.ntfy.sh/integrations/
@Anonymous4045 commented on GitHub (Feb 13, 2024):
One of those uses a third-party app, but ntfy-ios-url-share does use pretty much the same method of sending requests it would seem.
@Anonymous4045 commented on GitHub (Feb 13, 2024):
On closer inspection, it looks like the one I just linked doesn't really work. I tried sending a message and the notification came like this. Top one is sent with my method, bottom is with the url share one.

@wunter8 commented on GitHub (Feb 13, 2024):
The bottom one is just using JSON POSTing. When you send a JSON body, you need to send it to
https://ntfy.domain cominstead ofhttps://ntfy.domain.com/mytopic@Anonymous4045 commented on GitHub (Feb 13, 2024):
Ah, I see, thanks.