threema web

其他类别 2025-08-20

threema web

配x注意: threema web处于维护模式时,我们正在为Desktop 2.0努力,这应该解决我们与threema web遇到的一些长期存在的问题。我们仍然会定期进行维护并修复关键错误,但是目前,将没有主要的新功能或非关键的错误相装。有关更多详细信息,请参见#996。

threema web是Threema的Web客户端,Threema是一家以隐私为注重的端到端加密移动使者,在瑞士托管和开发。使用Threema Web,您可以在桌面上使用Threema而不会损害安全性。

https://web.t*hr*e*ema.ch/

threema web使用WEBRTC(Android)或加密Websocket(ios)建立了台式机和移动设备之间的连接。信号传导和数据用saltyrtc端到端加密。

有关更多信息,请参见Threema密码学白皮书。

错误报告和功能请求

如果您在threema web中找到错误,请随时在Github上打开问题。请确保使用搜索功能尚未提交错误报告。

请注意, threema web处于维护模式,而我们正在研究一种新解决方案,该解决方案应该解决我们与threema web遇到的一些长期存在的问题。我们仍然会定期进行维护并修复关键错误,但是目前,将没有主要的新功能或非关键的错误相装。有关详细信息,请参见#996。

Beta测试

我们有时可能会在https://web-beta.*th*r*eema.ch上部署实验分支。如果遇到问题,请打开问题并包括实验的版本编号(例如1.2.3-experiment-beta4 )。

翻译

如果您想帮助将threema web转换为您的语言,请查看TRANSLATING.md

协议

这里记录了用于在Threema应用程序和threema web之间通信的协议。

发展

threema web使用TypeScript和AngularJS 1。用NPM管理依赖项。您目前需要Node.js 20来构建Threema Web。 (请注意,node.js只是一个构建依赖性,结果是普通的旧客户端JavaScript。)

如果您的默认nodejs版本不是20个,请使用NVM安装它:

 nvm install
nvm use

安装开发依赖性:

 npm install

运行开发服务器:

 npm run devserver

然后打开浏览器中的URL:

 firefox http://l*ocal**host:9966

(请注意,此设置不应在生产中使用。要在服务器上运行Threema Web,请按照Docs/self_hosting.md的说明进行操作。)

测试

运行单元测试:

 npm run build:unittests && npm run testserver
firefox http://lo**calho*st:7777/tests/testsuite.html

运行UI测试:

 npm run build  # Required for CSS to be rebuilt
npm run test:ui 

例如:

 npm run test:ui firefox
npm run test:ui chrome

您也可以过滤测试用例:

 npm run test:ui firefox emoji

运行绒毛检查:

 npm run lint

您还可以安装前挂钩进行覆盖:

 echo -e '#!/bin/shnnpm run lint' > .git/hooks/pre-push
chmod +x .git/hooks/pre-push

配置

可以在src/config.tssrc/userconfig.js / src/userconfig.overrides.js src/userconfig.overrides.js.example调整threema web的配置(请参阅构建时间和userconfig variables,请参阅userconfig variables。以及如何配置它们。

在Docker映像中,可以使用ENV变量覆盖所有USERCONFIG变量。有关更多信息,请参见docs/docker.md

自托管

有关如何托管您自己的threema web版本的说明,请参阅文档/self_hosting.md。

贡献

欢迎对threema web的贡献!请对您提出的更改打开拉动请求。

安全

每个threema web版本都将被标记。 GIT标签使用以下PGP密钥在密码上签名:

 pub   rsa4096 2016-09-06 [SC] [expires: 2026-09-04]
      E7AD D991 4E26 0E8B 35DF  B506 65FD E935 573A CDA6
uid           Threema Signing Key 

可以在Keybase上找到公钥。

如果您在Threema中发现安全问题,请遵守协调的漏洞披露模型。为了有资格获得Bug Bounty,请在Gobugfree上提交报告(其中列出了所有详细信息,包括赏金级别)。如果您对Bug Bounty计划不感兴趣,则可以通过Threema或通过电子邮件与我们联系;有关联系方式,请参见Threema.CH/Contact(“安全性”部分)。

执照

threema web许可证:

threema web. Copyright © 2016-2025 Threema GmbH (https://thre*ema*.*ch/). This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see .">
 threema web.

Copyright © 2016-2025 Threema GmbH (https://thre*ema*.*ch/).

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .

有关第三方图书馆许可证,请参见LICENSE-3RD-PARTY.txt

下载源码

通过命令行克隆项目:

git clone https://github.com/threema-ch/threema-web.git