mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #751] [MERGED] Add PWA manifest, service worker, and web push #1406
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#1406
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?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/751
Author: @nimbleghost
Created: 5/24/2023
Status: ✅ Merged
Merged: 6/24/2023
Merged by: @binwiederhier
Base:
main← Head:pwa📝 Commits (10+)
ff5c854Add PWA, service worker and Web Pusha9fef38Add web push testsf94bb1aImprove web push docs7b23158Cosmetic changes7f3e4b5Move stuff to server_web_push.go9e0687eRandom tiny changese8139adMove web-push-config endpoint to config.js20c7650server.yml update44913c1Replace if err-nil-Fatal check with require.Nil4648f83Format emojis in the service worker directly📊 Changes
100 files changed (+5458 additions, -539 deletions)
View changed files
📝
.gitignore(+1 -0)📝
README.md(+1 -0)📝
cmd/serve.go(+17 -0)➕
cmd/webpush.go(+48 -0)➕
cmd/webpush_test.go(+24 -0)📝
docs/config.md(+75 -7)📝
docs/develop.md(+36 -1)📝
docs/releases.md(+4 -0)➕
docs/static/img/pwa-badge.png(+0 -0)➕
docs/static/img/pwa-install.png(+0 -0)➕
docs/static/img/pwa.png(+0 -0)➖
docs/static/img/web-pin.png(+0 -0)📝
docs/static/img/web-subscribe.png(+0 -0)➕
docs/subscribe/desktop.md(+18 -0)📝
docs/subscribe/web.md(+37 -13)📝
go.mod(+2 -0)📝
go.sum(+5 -0)📝
mkdocs.yml(+1 -0)📝
server/config.go(+21 -1)📝
server/errors.go(+4 -0)...and 80 more files
📄 Description
Resolves #346
Resolves #199
Adds a PWA manifest, service worker, the required go server routes, and VAPID-based web push
I can't test Android, but this is what it looks like on macOS and iOS:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.