freebsd-ports/www/threema-web/pkg-message
Vinícius Zavam 0eb4c9f44c [NEW] www/threema-web: Threema Web application
Threema's web client allows you to use Threema on the desktop without
  compromising security.

  * Complete synchronization: By scanning a QR code, desktop and mobile
    device are connected at once, and all conversations are fully accessible
    on the desktop.

  * Security and data restraint: All communication between phone and PC is
    fully end-to-end encrypted. After the session is terminated, all
    synchronized messages are immediately deleted in the browser.

  * Open Source: Threema Web is open source and uses open standards. It is
    also possible to host Threema Web on your own server.

  WWW: https://github.com/threema-ch/threema-web
  WWW: https://threema.ch/en/faq/web_info
2020-11-14 19:39:23 +00:00

37 lines
1.4 KiB
Text

[
{ type: install
message: <<EOM
This is Threema Web, compiled with 'SELF_HOSTED=true' and with pre-defined
STUN/TURN and SaltyRTC servers on its bundled configuration. If you want to run
your own servers you must recompile this port yourself and make sure to define
the following variables:
THREEMA_ICE_CREDEN, the credentials for "threema-angular" (static username);
THREEMA_ICE_SERVER, your STUN server in a "hostname:port" format;
THREEMA_SALTYRTC_HOST, your SaltyRTC server;
THREEMA_SALTYRTC_PORT, the port of your SaltyRTC server,
THREEMA_SALTYRTC_KEY, the key used by your SaltyRTC server.
The web server needs to set the proper MIME type for *.wasm (WebAssembly) files.
If you use nginx, this would go into nginx's mime types:
application/wasm wasm;
Should you opt for Apache, then you would need to add this to httpd.conf:
AddType application/wasm .wasm
Make sure to serve Threema Web only via HTTPS. It's also recommend to enable
HSTS, HPKP, CSP and other available security mechanisms in your web server.
If you deployed it to be used on a server with restrictive CSP rules, make sure
to add "static.threema.ch" as an allowed style/font source.
NOTE: While you could in theory host your own version of the "push-server",
it won't help much since the GCM/APN API Keys required to dispatch push
notifications to the Threema app are *NOT* public.
EOM
}
]