• Stars
    star
    1,103
  • Rank 42,076 (Top 0.9 %)
  • Language
    TypeScript
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ‘ฝ Wire for web

Wireโ„ข

We are hiring

This repository is part of the source code of Wire. You can find more information at wire.com or by contacting [email protected].

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/.

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 cause that application to connect to our servers for any purposes, we refer to that resulting application as an โ€œOpen Source Appโ€. All Open Source Apps are subject to, and may only be used and/or commercialized in accordance with, the Terms of Use applicable to the Wire Application, which can be found at https://wire.com/legal/#terms. Additionally, if you choose to build an Open Source App, certain restrictions apply, as follows:

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

Prerequisites:

  1. Install Node.js
  2. Install Yarn

1. Fetching dependencies and configurations

  1. Run yarn

    • This will install all dependencies and fetch a configuration for the application.

2. Build & run

Development

  1. Rename .env.localhost to .env in order to configure the application. This configuration can override/extend the configuration from the previous step.
  2. Add the following entries to your hosts file (macOS / Linux: /etc/hosts, Windows 10: %WINDIR%\system32\drivers\etc\hosts):
    • 127.0.0.1 local.wire.com (to connect with production backend)
    • 127.0.0.1 local.zinfra.io (to connect with staging backend)
  3. Run yarn start and 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":

  1. Download mkcert
  2. Set the CAROOT environment variable to <WebApp Dir>/server/certificate
  3. Run mkcert -install

Production

  1. Run yarn build:prod
  2. Run cd server && yarn start:prod

Testing

To launch the full test suite (types check + linting + server tests + app tests), simply run:

yarn test

Alternatively, you can test specific parts of the app:

yarn test:(server|types|app)

CI Status

CI Lint styled with prettier

Translations

All Wire translations are crowdsourced via Crowdin.

Add new strings

Info:

  • 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).

Setup:

Create a 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

Usage:

  1. 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)
  2. 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:

  1. Install Crowdin CLI v3
  2. Verify you have a keys/crowdin.yaml in place
  3. Run yarn translate:upload

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:

  1. Verify your string shows up on Crowdin project: wire-webapp
  2. Add translation on Crowdin
  3. Approve translation on Crowdin
  4. Run yarn translate:download

Contributing

Contributions are welcome! Feel free to check our issues page.

The following commits will help you getting started quickly with our code base:

More Repositories

1

wire-server

๐Ÿ‡ช๐Ÿ‡บ Wire back-end services
Haskell
2,599
star
2

wire

ใ€ฐ๏ธ Overview of the open source code for Wire
2,366
star
3

wire-desktop

๐Ÿ’ป Wire for desktop
TypeScript
1,053
star
4

proteus

Axolotl Protocol Implementation
Rust
412
star
5

wire-ios-sync-engine

iOS synchronization library for Wire
Swift
149
star
6

wire-avs

Audio Video Signaling (AVS)
C
133
star
7

wire-server-deploy

Code to install/deploy wire-server (on kubernetes)
Shell
94
star
8

wire-android

๐Ÿค– The new Wire client for Android
Kotlin
94
star
9

lithium

Wire Services JDK
Java
79
star
10

coax

A (barely working) native Wire client for Unix
Rust
75
star
11

wire-ios

๐Ÿ“ฑ Wire for iOS (iPhone and iPad)
Swift
65
star
12

wire-web-packages

Collection of npm modules created by Wire's web team.
TypeScript
59
star
13

wire-android-sync-engine

Sync library for Android.
Scala
58
star
14

bot-sdk-node

๐Ÿค–
JavaScript
58
star
15

pqproteus

PQProteus
Rust
57
star
16

echo-bot

Echo bot
Java
56
star
17

cryptobox

High-level API with persistent storage for proteus
Rust
52
star
18

melissa

Messaging Layer Security (MLS) implementation in Rust
Rust
52
star
19

wire-ios-link-preview

๐Ÿท Open Graph data parser used to generate link previews
Swift
48
star
20

kalium

๐ŸŒ An SDK for creating Wire clients on Android and JVM. Expanding to iOS and Web.
Kotlin
44
star
21

carthage-gradle-plugin

Gradle plugin for Carthage
Kotlin
36
star
22

libsodium-neon

Node.js bindings to rust_sodium.
Rust
36
star
23

proteus.js

Axolotl protocol implementation for JavaScript
JavaScript
36
star
24

generic-message-proto

Protocol definition for generic messages.
Scala
35
star
25

hkdf

HKDF implementation (RFC 5869)
Rust
29
star
26

cryptobox-c

C-FFI to cryptobox
C
29
star
27

wire-ios-data-model

Core Data model and entity classes
Swift
28
star
28

cryptobox-haskell

Cryptobox Haskell FFI
Haskell
27
star
29

wire-signals

A small and effective event-handling library for Scala
Scala
23
star
30

wire-ios-cryptobox

Swift
22
star
31

wire-ios-transport

Objective-C
22
star
32

wire-ios-ziphy

https://wire.com
Swift
22
star
33

wire-ios-share-engine

Share extension framework for iOS
Swift
22
star
34

core-crypto

MLS/Proteus multiplexer abstraction with encrypted persistent storage in Rust
Rust
20
star
35

node-addressbook

Node.js module providing access to the macOS address book
C++
18
star
36

cryptobox-jni

JNI bindings for cryptobox with support for cross-compilation to Android.
Java
17
star
37

cryptobox.js

JavaScript
17
star
38

wire-ios-images

๐Ÿ—ป Framework to perform rotation and scaling of images
Objective-C
16
star
39

wire-ios-system

Swift
15
star
40

github-action-wire-messenger

JavaScript
15
star
41

wire-ios-utilities

Swift
14
star
42

saml2-web-sso

Library and example web app for the SAML Web-based SSO profile.
Haskell
14
star
43

wire-ios-mocktransport

Objective-C
13
star
44

wire-ios-canvas

Canvas is a component for painting and composing pictures
Swift
13
star
45

wire-ios-protos

๐Ÿ“œ obj-c autogenerated classes from https://github.com/wireapp/generic-message-proto protocol buffer definitions
Swift
13
star
46

wire-emails

Templates for sending emails for Wire
HTML
12
star
47

wire-ios-testing

Objective-C
12
star
48

wire-ios-request-strategy

iOS synchronization base interfaces for Wire
Swift
12
star
49

ansible-cassandra

Ansible role to install an Apache Cassandra cluster
Shell
12
star
50

wire-ios-message-strategy

iOS synchronization of messages for Wire
Swift
11
star
51

backend-api-protobuf

Scala
11
star
52

antiscroll-2

macOS Lion-styled scrollbars for DOM elements.
HTML
11
star
53

anna-bot

Rosie chatbot for Wire
Java
11
star
54

wire-account

Account verifications and forgotten passwords (https://wire-account-staging.zinfra.io/forgot/).
TypeScript
10
star
55

libsodium.js

libsodium compiled to pure JavaScript, with convenient wrappers
JavaScript
10
star
56

wire-web-store-engine

Provider for the following storage engines: File, IndexedDB, Memory & LocalStorage.
JavaScript
10
star
57

picklejar-engine

A JUnit 5 Test engine for running cucumber test in Java. Suitable for very big test suite projects.
Java
9
star
58

wire-web-core

Collection of npm modules created by Wire's web team.
TypeScript
9
star
59

wire-web-queue-priority

A promise based dynamic priority queue runner.
JavaScript
9
star
60

libsodium

A modern and easy-to-use crypto library.
C
9
star
61

avs-ios-binaries

AVS binaries for iOS
Objective-C
9
star
62

libsodium-native

C++
8
star
63

alert-bot

Broadcasts alerts
Java
8
star
64

backup-export-tool

Tool which exports Wire client's backups and generates PDF from it.
Java
8
star
65

wire-audio-files

Audio notifications files for Wire application.
Scala
8
star
66

wire-web-config-default

7
star
67

cryptobox-ios

iOS binaries for cryptobox
Shell
7
star
68

wire-android-translations

โ˜Ž๏ธ Non-english strings for Wire android client
7
star
69

wire-theme

CSS
6
star
70

rusty-jwt-tools

Tools for manipulating JSON Web Tokens, JWS, JWE, and JWK in Rust
Rust
6
star
71

roman

Lithium proxy for Wire
Java
6
star
72

scala-utils

JVM friendly utility classes for Scala, including signals and threading.
Scala
6
star
73

recording-bot

Java
6
star
74

broadcast-bot

Broadcast Channel for Wire
Java
6
star
75

wire-ios-shared-resources

Shared resources used by the Wire iOS application
Groovy
6
star
76

bazinga64

Base64 encoding and decoding with ASCII string representation. Works with Node.js and modern browsers.
JavaScript
6
star
77

mls-client

Rust
5
star
78

gitlab

GitLab integration for Wire
Java
5
star
79

babel-plugin-remove-jsx-attributes

Babel plugin for removing attributes from JSX elements
JavaScript
5
star
80

ldap-scim-bridge

Command-line translator between LDAP and SCIM systems.
Haskell
5
star
81

wire-web-ets

End-to-end Test Service (ETS) for Wire's test automation suite
TypeScript
5
star
82

charon

Proxy mapping requests from Slack bots to Roman and back
Python
5
star
83

don-bot

Don - Wire meta bot
Java
4
star
84

prebuilt-webrtc-binaries

Prebuilt binaries for webrtc library
Shell
4
star
85

wire-ios-notification-engine

Notification extension framework for iOS
Swift
4
star
86

wire-desktop-packages

Collection of npm modules used by Wire's desktop clients.
TypeScript
4
star
87

grunt-npm-bower

Grunt plugin which helps migrating from Bower to npm.
JavaScript
4
star
88

brand

Brand assets & styleguide content ยท brand.wire.com
HTML
3
star
89

webapp-module-modal

CSS
3
star
90

mls-server

A prototype MLS server (deprecated)
Haskell
3
star
91

mi

morphing identity
Rust
3
star
92

terraform-hcloud-rke2

HCL
3
star
93

cryptobox4j

Cryptobox jni optimized for Services
Java
3
star
94

hscim

System for Cross-domain Identity Management (SCIM)
Haskell
3
star
95

wire-web-config-wire

2
star
96

outlook-addin

Wire add-in for Microsoft Outlook
TypeScript
2
star
97

restund

Fork of restund from http://www.creytiv.com/restund.html with custom patches
C
2
star
98

echo-bot-roman

Implementation of echo bot using Roman as proxy
Python
2
star
99

admin-broadcast

Admin messages broadcasts across the Wire
TypeScript
2
star
100

mi-haskell

Haskell bindings for wireapp/mi
Haskell
2
star