This repository is part of the source code of Wire. You can find more information at wire.com or by contacting firstname.lastname@example.org.
You can find the published source code at github.com/wireapp/wire.
For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.
a. You agree not to change the way the Open Source App connects and interacts with our servers; b. You agree not to weaken any of the security features of the Open Source App; c. You agree not to use our servers to store data for purposes other than the intended and original functionality of the Open Source App; d. You acknowledge that you are solely responsible for any and all updates to your Open Source App.
For clarity, if you compile the open source software that we make available from time to time to develop your own mobile, desktop or web application, and do not cause that application to connect to our servers for any purposes, then that application will not be deemed an Open Source App and the foregoing will not apply to that application.
No license is granted to the Wire trademark and its associated logos, all of which will continue to be owned exclusively by Wire Swiss GmbH. Any use of the Wire trademark and/or its associated logos is expressly prohibited without the express prior written consent of Wire Swiss GmbH.
How to build the open source client
1. Fetching dependencies and configurations
- This will install all dependencies and fetch a configuration for the application.
2. Build & run
.envin order to configure the application. This configuration can override/extend the configuration from the previous step.
- Add the following entries to your hosts file (macOS / Linux:
/etc/hosts, Windows 10:
127.0.0.1 local.wire.com(to connect with production backend)
127.0.0.1 local.zinfra.io(to connect with staging backend)
yarn startand Wire's web app will be available at: https://local.zinfra.io:8081/auth/
Install the self-signed certificate
If you would like your browser to trust the certificate from "local.wire.com" or "local.zinfra.io":
- Download mkcert
- Set the
CAROOTenvironment variable to
cd server && yarn start:prod
To launch the full test suite (types check + linting + server tests + app tests), simply run:
Alternatively, you can test specific parts of the app:
All Wire translations are crowdsourced via Crowdin.
Add new strings
- To download translations we use Crowdin API v1, and you need to setup your username and api_key (Account API key).
- To upload translations we use Crowdin CLI v3, and you will need to setup project_identifier and api_token (Personal Access Token).
keys/crowdin.yaml in this repository and add the following entries:
api_key: your-account-api-key api_token: your-personal-access-token project_identifier: wire-webapp username: your-username
- Add string variable to "src/script/strings.ts" (source for the React part of our app) and text to "i18n/en-US.json" (source for the Knockout part of our app)
- Create a PR and merge it after approval. When the PR gets merged, our CI will take care of uploading the english texts to Crowdin.
If our CI pipeline is broken, you still have the option to upload new strings manually. For this case do the following:
- Install Crowdin CLI v3
- Verify you have a
Once translations are uploaded on Crowdin, our (and external) translators can translate the new strings on Crowdin. There is a script that will run to create PRs with translation updates. As an alternative, translations can be downloaded the following way:
- Verify your string shows up on Crowdin project: wire-webapp
- Add translation on Crowdin
- Approve translation on Crowdin
Contributions are welcome! Feel free to check our issues page.
The following commits will help you getting started quickly with our code base: