Live data from Hacker News

Self-hosted web push Cloudflare Worker, works on iOS

kukuroo.cc

11–18 of 18 posts

Re: Self-hosted web push Cloudflare Worker, works on iOS

#12
post #9
post #4

Seems nice! I use FCM (Firebase) which does this for Android and iOS, which does require some setup, but it's not too bad

unfortunately, Declarative Web Push only supports WebKit, means Android cannot use it.

Mozilla have indicated they are positive on the feature:

https://mozilla.github.io/standards-positions/#declarative-w...

Chromium has a bug filed:

https://issues.chromium.org/issues/382298314

So hopefully this will move forward with other browsers.

Re: Self-hosted web push Cloudflare Worker, works on iOS

#13
post #2

Sending push notifications to iOS without relying on a native app has already become a mature option. Last year Apple extended the standard Web Push with Declarative Web Push, which finally makes the whole thing make sense. (It's handled natively by WebKit rather than driven by JavaScript, which improves push reliability and privacy, much like the native push notification model.) Kukuroo uses Cloudflare Workers so th…

The might have fixed some issues but the fact that it is only available for homescreen websites and that the link to add them there is buried in the UI is very stupid imho.

> …the link to add them there is buried in the UI…

It's a standard "Send To" option (the "buried" option you refer to?), but PWAs can also use SFAddToHomeScreenActivityItem.

Re: Self-hosted web push Cloudflare Worker, works on iOS

#14
post #2

Sending push notifications to iOS without relying on a native app has already become a mature option. Last year Apple extended the standard Web Push with Declarative Web Push, which finally makes the whole thing make sense. (It's handled natively by WebKit rather than driven by JavaScript, which improves push reliability and privacy, much like the native push notification model.) Kukuroo uses Cloudflare Workers so th…

The might have fixed some issues but the fact that it is only available for homescreen websites and that the link to add them there is buried in the UI is very stupid imho.

> the fact that it is only available for homescreen websites and that the link to add them there is buried in the UI is very stupid imho

Quite the opposite. They know exactly what they are doing.

Don’t forget that originally Apple was going to make all apps on iOS be web apps. Then they came up with having native apps and the App Store and taking a 20% cut of app sales and IAP. Which made them a boatload of money.

It is only very reluctantly that they allow us to add websites to home screen.

Meanwhile, allowing only websites on home screen to push notifications rather than any random site actually does make sense. I’d probably get rid of my iPhone on the spot if every shit site I visit suddenly started pushing notifications to my phone. And if the sites could, the sites would. Just like websites abuse every other mechanism available to wring as many views and ad impressions as they can out of their visitors.

Re: Self-hosted web push Cloudflare Worker, works on iOS

#15
post #2

Sending push notifications to iOS without relying on a native app has already become a mature option. Last year Apple extended the standard Web Push with Declarative Web Push, which finally makes the whole thing make sense. (It's handled natively by WebKit rather than driven by JavaScript, which improves push reliability and privacy, much like the native push notification model.) Kukuroo uses Cloudflare Workers so th…

The might have fixed some issues but the fact that it is only available for homescreen websites and that the link to add them there is buried in the UI is very stupid imho.

[flagged]

Re: Self-hosted web push Cloudflare Worker, works on iOS

#17

How is it self-hosted if it runs in a cloudflare worker?

It means you can deploy it in your own Cloudflare account, as opposed to it being a service provided by the developer.

But also, the Cloudflare Workers Runtime is open source, so you could deploy it or your own machines, too, if you want:

https://github.com/cloudflare/workerd

Re: Self-hosted web push Cloudflare Worker, works on iOS

#18

Earlier quoted context omitted.

The might have fixed some issues but the fact that it is only available for homescreen websites and that the link to add them there is buried in the UI is very stupid imho.

> the fact that it is only available for homescreen websites and that the link to add them there is buried in the UI is very stupid imho Quite the opposite. They know exactly what they are doing. Don’t forget that originally Apple was going to make all apps on iOS be web apps. Then they came up with having native apps and the App Store and taking a 20% cut of app sales and IAP. Which made them a boatload of money. It…

Refraining from downvoting because I disagree with your last paragraph.

Rest should be mentioned often.

Post reply on HN