Push Notifications from Server
- Dominant language
- Swift
- Stars
- 6.9k
- Forks
- 746
- PR merge metrics
- No merged PRs in 30d
Description
A useful feature would be to allow servers to send push notifications back to your device through a command installed on the server. The main use case I am imagining is:
1. SSH/Mosh to server, do some work
2. Start long-running build & test
3. Pipe a result message (exit status or something) of the tests into a shell command
4. Receive a notification on iPad (even better, both iPad and iPhone) with the result
5. Reconnect to server and push work/ look at results
Currently I use a janky Slack integration to do this (basically `make spec; echo "Finished: $?" | slack`), but seeing as Blink is able to send notifications it would be great to have this integrated into one place. Tapping the notification could reconnect back to the server, optionally attaching to the correct tmux/ screen session as well to make it even more seamless.
The script should be able to run on Linux and macOS systems, ideally installable via `apt`/ `brew` or some mechanism in Blink. It shouldn't require an active Mosh/SSH connection or for Blink to be open.
I don't know anything about Apple's push notification API and whether this is possible without Blink hosting a proxy to push out the notifications.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. First investigate Blink's existing notification handling and the constraints of Apple's push notification API; define the server-side command, delivery path, installation targets, and tap-to-reconnect behavior before implementation. Done would include a documented Linux/macOS workflow that delivers the requested device notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, macos, shell
- Domain
- backend, cli, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100