Snap to enable users to chat and make audio/video calls using Spreed.ME from within Nextcloud
AGPL-3.0 License
Chat and make audio/video calls straight from Nextcloud using Spreed WebRTC on Ubuntu Snappy.
If you are a company wanting a secure and private alternative for online communication make sure to check out the Spreedbox, providing a ready to use hardware with Spreed.ME included.
Prerequisite: You need to have both snapcraft and snapd installed. See https://snapcraft.io
Download the source
$ git clone https://github.com/nextcloud/spreedme-snap
Compile the snap
$ cd spreedme-snap
$ sudo snapcraft
Install it locally
$ sudo snap install spreedme_0.29.2snap1-1_amd64.snap --force-dangerous
Note: Replace the filename with the one which has been generated
This downloads the app from the Ubuntu app store
$ sudo snap install spreedme
You need to configure your reverse proxy so that Nextcloud can communicate with the snap
Make sure the following modules are installed
Add an entry in your Nextcloud virtualhost which points the /webrtc directory to the Spreed.ME snap.
<Location /webrtc>
ProxyPass http://127.0.0.1:8080/webrtc
ProxyPassReverse /webrtc
</Location>
<Location /webrtc/ws>
ProxyPass ws://127.0.0.1:8080/webrtc/ws
</Location>
ProxyVia On
ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto 'https' env=HTTPS
Go to the Nextcloud sub-folder where you install your apps
Install via Git
Clone the Spreed.ME Nextcloud app or download it from https://github.com/strukturag/nextcloud-spreedme/releases
git clone https://github.com/strukturag/nextcloud-spreedme.git spreedme
Install via wget
$ wget https://github.com/strukturag/nextcloud-spreedme/archive/v0.3.6.tar.gz
$ tar zxvf v0.3.6.tar.gz
$ mv nextcloud-spreedme-0.3.6 spreedme
$ sudo -u www-data php /var/www/nextcloud/occ app:enable spreedme
Note: You need to adjust the version number
/var/snap/spreedme/current/server.conf
sharedsecret_secret = bb04fb058e2d7fd19c5bdaa129e7883195f73a9c49414a7eXXXXXXXXXXXXXXXX
$ systemctl restart snap.spreedme.spreed-webrtc.service
This snap is included in the Nextcloud VM and installed when you boot for the first time.
Spreed WebRTC & Spreed.ME (c)2017 struktur AG