jitsi-meet-electron/README.md

168 lines
4.4 KiB
Markdown
Raw Normal View History

2018-07-19 10:09:40 +02:00
# Jitsi Meet Electron
2016-12-12 21:46:47 +01:00
2018-07-19 10:09:40 +02:00
Desktop application for [Jitsi Meet] built with [Electron].
2018-08-13 09:18:18 +02:00
![](screenshot.png)
2018-07-19 10:09:40 +02:00
## Features
2020-05-20 22:24:09 +02:00
- [End-to-End Encryption](https://jitsi.org/blog/e2ee/) support (BETA)
2018-07-19 10:09:40 +02:00
- Works with any Jitsi Meet deployment
- Builtin auto-updates
- Remote control
- Always-On-Top window
## Installation
2020-06-05 13:37:25 +02:00
Download our latest release and you're off to the races!
2018-07-19 10:09:40 +02:00
2020-06-05 13:37:25 +02:00
| Windows | macOS | GNU/Linux (64bits only) |
| -- | -- | -- |
| [Download](https://github.com/jitsi/jitsi-meet-electron/releases/latest/download/jitsi-meet.exe) | [Download](https://github.com/jitsi/jitsi-meet-electron/releases/latest/download/jitsi-meet.dmg) | [Download](https://github.com/jitsi/jitsi-meet-electron/releases/latest/download/jitsi-meet-x86_64.AppImage) |
2018-08-13 09:18:18 +02:00
### Homebrew
2020-06-05 13:37:25 +02:00
For *macOS* user, you can install the application using the following command:
```
brew cask install jitsi-meet
```
### Using it with your own Jitsi Meet installation
In order to use this application with your own Jitsi Meet installation it's
necessary to enable the External API. Your server must serve a `external_api.js`
file at the root of the installation.
Here is an example using nginx:
```
location /external_api.js {
alias /usr/share/jitsi-meet/libs/external_api.min.js;
}
```
:warning: The following additional HTTP headers are known to break the Electron App:
2020-04-14 14:17:43 +02:00
```
Content-Security-Policy "frame-ancestors [looks like any value is bad]";
2020-04-14 14:17:43 +02:00
X-Frame-Options "DENY";
```
2018-07-19 10:09:40 +02:00
## Development
If you want to hack on this project, here is how you do it.
2018-08-29 09:59:51 +02:00
<details><summary>Show building instructions</summary>
2018-08-13 09:18:18 +02:00
#### Installing dependencies
2016-12-12 21:46:47 +01:00
```bash
npm install
2016-12-12 21:46:47 +01:00
```
2018-07-19 10:09:40 +02:00
#### Starting in development mode
```bash
npm start
```
2020-04-20 14:16:23 +02:00
The debugger tools are available when running in dev mode and can be activated with keyboard shortcuts as defined here https://github.com/sindresorhus/electron-debug#features.
It can also be displayed automatically from the `SHOW_DEV_TOOLS` environment variable such as:
```bash
SHOW_DEV_TOOLS=true npm start
```
or from the application `--show-dev-tools` command line flag.
2018-07-19 10:09:40 +02:00
#### Building the production distribution
```bash
npm run dist
```
#### Working with jitsi-meet-electron-utils
[jitsi-meet-electron-utils] is a helper package which implements many features
such as remote control and the always-on-top window. If new features are to be
added / tested, running with a local version of these utils is very handy, here
is how to do that.
By default the jitsi-meet-electron-utils is build from its git repository
sources. The default dependency path in package.json is:
```json
"jitsi-meet-electron-utils": "jitsi/jitsi-meet-electron-utils"
```
To work with local copy you must change the path to:
2018-07-19 10:09:40 +02:00
```json
"jitsi-meet-electron-utils": "file:///Users/name/jitsi-meet-electron-utils-copy",
```
2018-07-19 10:09:40 +02:00
To build the project you must force it to take the sources as `npm update` will
not do it.
```bash
npm install jitsi-meet-electron-utils --force
```
2018-07-19 10:09:40 +02:00
NOTE: Also check the [jitsi-meet-electron-utils README] to see how to configure
your environment.
2018-08-13 09:18:18 +02:00
</details>
2020-06-05 13:37:25 +02:00
## Known issues
### Windows
A warning will show up mentioning the app is unsigned upon first install. This is expected.
### macOS
On macOS Catalina a warning will be displayed on first install. The app won't open unless "open" is pressed. This dialog is only shown once.
### GNU/Linux
There is a known issue which prevents the app from starting on some Linux distributions: #231
The workaround for now is to launch the app like so: `./jitsi-meet-x86_64.AppImage --no-sandbox`
<details><summary>NOTE for old GNU/Linux distributions</summary>
You might get the following error:
```
FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required.
Please upgrade to the latest NSS, and if you still get this error, contact your
distribution maintainer.
```
If you do, please install NSS (example for Debian / Ubuntu):
```bash
sudo apt-get install libnss3
```
</details>
2018-07-19 10:09:40 +02:00
## License
Apache 2. See the [LICENSE] file.
## Community
Jitsi is built by a large community of developers, if you want to participate,
please join [community forum].
2016-12-12 21:46:47 +01:00
2018-07-19 10:09:40 +02:00
[Jitsi Meet]: https://github.com/jitsi/jitsi-meet
[Electron]: https://electronjs.org/
[latest release]: https://github.com/jitsi/jitsi-meet-electron/releases/latest
[jitsi-meet-electron-utils]: https://github.com/jitsi/jitsi-meet-electron-utils
[jitsi-meet-electron-utils README]: https://github.com/jitsi/jitsi-meet-electron-utils/blob/master/README.md
[community forum]: https://community.jitsi.org/
[LICENSE]: LICENSE