Skip to content

About

Official Rocket.Chat desktop app for Windows, macOS, and Linux. Connect to multiple workspaces, get native notifications, and deploy at scale with silent installs and centrally managed settings. Built with Electron and TypeScript.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1.7k stars

Watchers

103 watching

Forks

Latest commit

 

History

2,962 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket.Chat Desktop App

Latest release Total downloads Dependencies License

The official desktop app for Rocket.Chat on Windows, macOS, and Linux, built with Electron.

The desktop app gives you everything in the Rocket.Chat web client, plus:

  • Multiple workspaces in one window: Add all your Rocket.Chat workspaces to the sidebar and switch between them.
  • Native notifications: Get system notifications with inline quick reply on Windows and macOS.
  • Runs in the background: Keep the app in the system tray or minimized so you never miss a message.
  • Built-in video call window: Open calls in an app window instead of a browser tab.
  • Centrally managed settings: IT teams can preset workspaces, lock settings, and install silently at scale.

Rocket.Chat Desktop App

Contents

Download and install

Get the app from your platform's store:

Get it from Microsoft Store  Download on the Mac App Store  Get it from the Snap Store

You can also download an installer from the latest release.

Platform Minimum version Architectures Formats
Windows 10 x64, ia32, arm64 NSIS (.exe), MSI
macOS 12 (Monterey) Universal (x64 + Apple Silicon) DMG, PKG, ZIP
Linux Ubuntu 22.04 or equivalent x64 AppImage, deb, rpm, snap, tar.gz

For step-by-step instructions, see Install desktop and mobile apps.

Silent installation

To deploy the app across many machines without user prompts, use the NSIS or MSI installer on Windows, the PKG installer on macOS, or the deb package on Linux. For example, on Windows:

rocketchat-<version>-win.exe /S /allusers /disableAutoUpdates

For every installer option, see Silent installation for desktop app.

Configure the app for your organization

Admins can control how the app behaves on every device with two JSON files:

  • servers.json: Presets the workspaces that appear in the sidebar the first time a user opens the app. When you bundle it with the installer, users skip the Connect to server screen and go straight to the login screen.
  • overridden-settings.json: Enforces settings such as disabling auto-update, hiding the tray icon, or turning off quick reply in notifications. Set "isContextMenuEnabled": false to turn off the native right-click menu in workspaces. Users cannot change that setting in the View menu. Combine "isAddNewServersEnabled": false with servers.json to stop users from adding workspaces. The app reads servers.json only when the sidebar has no workspaces, and it does not remove workspaces that users already have.

For file locations on each operating system and the full list of settings, see Preset workspaces and Override settings.

Develop

Prerequisites

  • Git
  • Node.js 22.0.0 or later
  • Yarn. The repository includes its own Yarn 4 release in .yarn/releases, and any recent Yarn install runs that release.

On Linux, you also need these system packages:

# Ubuntu/Debian
sudo apt install build-essential libxss-dev

# Fedora/RHEL
sudo dnf install libX11-devel libXScrnSaver-devel gcc-c++

Quick start

git clone https://github.com/RocketChat/Rocket.Chat.Electron.git
cd Rocket.Chat.Electron
yarn
yarn start

yarn start builds the app and watches for changes.

Project structure

The app is written in TypeScript. The source lives in src, and the build compiles it into app, which then contains the full, runnable application.

The build uses the Rollup bundler and has three entry points:

File Runs in Purpose
src/main.ts Electron main process Orchestrates the whole application.
src/rootWindow.ts Root window Renders the UI of the app's main window.
src/preload.ts Privileged preload layer Connects the app to the webviews that render the Rocket.Chat client.

Important

Only modules listed in dependencies in package.json are included in the distributable app. Put build and test tools in devDependencies.

Lint and test

yarn lint   # ESLint and TypeScript checks
yarn test   # Unit tests

Tests use Jest with the Jest Electron runner. The name and location of a spec decide which Jest project runs it (testMatch in jest.config.js):

  • Main-process specs live under src/<module>/main/, or are named src/<module>/main.spec.ts.
  • Renderer specs live in a nested folder such as src/<module>/<subfolder>/, or are named src/<module>/renderer.spec.ts(x).

Jest does not find a spec placed directly in src/<module>/ with any other name. To check that Jest finds a new spec, run yarn test --listTests --runTestsByPath <file>.

Package the app

yarn build
yarn release

yarn build compiles the current source into app. Run it first, because yarn release packages app as it is, and yarn install deletes app. yarn release then packages the app for the operating system you run it on, for the x64 architecture, and writes the installers to dist. Packaging is handled by electron-builder. See its configuration options to customize the output.

Branches and releases

  • Pull requests target dev, the default branch.
  • master holds only released code. Its tip is always the latest stable release.
  • release/X.Y.x branches carry patch releases for a shipped version and merge into master after each patch.

Releases are tag-driven. Pushing a semver tag triggers CI to build every platform and create a draft GitHub release, which a maintainer reviews and publishes.

Contribute

We welcome contributions. Before you open a pull request:

  1. Read the contribution guidelines and the code of conduct.
  2. For a new feature or a larger change, open an issue first so we can discuss it.
  3. Run yarn lint and yarn test, and make sure both pass.

Found a bug? Open an issue with your app version, operating system, and steps to reproduce it.

Found a security issue? Don't open a public issue. Email security@rocket.chat instead. See SECURITY.md.

Get help

License

Released under the MIT license.

About

Official Rocket.Chat desktop app for Windows, macOS, and Linux. Connect to multiple workspaces, get native notifications, and deploy at scale with silent installs and centrally managed settings. Built with Electron and TypeScript.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1.7k stars

Watchers

103 watching

Forks

Releases

Used by

Contributors

Languages