Temporary fork of https://github.com/snikket-im/snikket-server. See https://github.com/snikket-im/snikket-web-proxy/pull/6 for more.
17444cc3bd
This avoids the app needing to gain logic to opt-in to push notifications. Such logic may be fragile, and introduce additional traffic and round-trips that would hurt performance. Note that this will trigger pushes even to users who only use Android or non-mobile devices. That should cause no issues, and the impact would be minor. Also considering that non-iOS devices usually remain online most of the time anyway. Not accounted for in this commit is the MUC notification filtering side of things. By default the MUC will push all messages, and mod_cloud_notify(_filters) will allow all of them through to the device unless the user explicitly configures otherwise within the app. If the server can detect whether a MUC is public or private, it can make the default behaviour more sensible (maybe when adding bookmarks or something?). In any case, public channels are not a primary use-case for Snikket and can easily be configured manually in the app for now. |
||
---|---|---|
.github | ||
ansible | ||
docker | ||
docs | ||
snikket-modules | ||
tools | ||
.hg_archival.txt | ||
.hgignore | ||
CHANGELOG.md | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
NOTICE | ||
README.md | ||
docker-compose.yml | ||
mkdocs.yml | ||
po4a.conf | ||
snikket.conf.example |
README.md
Snikket server images
This is the source repository for building Snikket service Docker images.
Snikket is an open-source self-hosted personal messaging service. It aims to provide an alternative to proprietary and centralized messaging platforms while supporting all the expected features and being easy to use.
For more information see the Snikket website.
Getting Started with Snikket
For instructions on getting started with Snikket, see the Snikket installation guide on our website.
Building images
This section is for people who want to build their own images of Snikket, e.g. for development purposes.
Requirements
- GNU make
- docker (tested on 19.03.5)
- ansible (tested on 2.7 (debian buster))
Building
Run make
Running
The easiest way is to use docker-compose. Copy the file snikket.conf.example
to
snikket.conf
and edit the values in it. Then run:
docker-compose up -d