Hi,

here's a wip for the serverside part of the nextcloud notify push
(https://github.com/nextcloud/notify_push) service described at
https://nextcloud.com/blog/nextcloud-faster-than-ever-introducing-files-high-performance-back-end/

it's a rust service providing a websocket pushing notifications to
clients instead of clients continually hammering the server, there
should be support for it in recent nextcloudclient versions, cf
https://github.com/nextcloud/desktop/issues/2802

i havent tested it yet on openbsd, but i'm using it on nc 21 production
instances on linux. support for it is not yet present in all client
apps, but it works fine for notifications in the web interface.

potential improvements:
- default to a unix socket to put in the www chroot ?
- test with the chroot ?
- improve the README and rc script ?
- decide whether i should name the thing notify_push or
  nextcloud_notify_push ?

this needs uid/gid 866 for _notify_push user/group in user.list:
+866 _notify_push       _notify_push    www/nextcloud_notify_push

proofreading the README, testing and feedback welcome, ofc this requires
nextcloud 21, and a recent commit from semarie on cargo.port.mk

Landry

Attachment: nextcloud_notify_push.tgz
Description: application/tar-gz

Reply via email to