selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

element-web logo

Self-host element-web

v1.12.35

Encrypted Matrix chat and collaboration for browsers

ReleaseOpen CoreAGPL-3.0
docker run --rm -p 127.0.0.1:80:80 vectorim/element-web
Updated4 days ago
LanguageTypescript
Setup difficultyModerate
MobileResponsive
ThemeDark mode
Stars
13 665
Port
80 (HTTP traffic within the Docker container (nginx), configurable via ELEMENT_WEB_PORT)
Requires
Matrix homeserver
Docker
vectorim/element-web
Element Web interface shown on a laptop screen on the Element homepage

What is element-web?

Element Web is the browser-based Matrix client maintained by element-hq (previously called Vector and Riot) and used by individuals as well as teams and public-sector organisations. It connects to any Matrix homeserver and provides encrypted messaging, voice and video conference calls (Jitsi by default, with an experimental Element Call option), location sharing, invites through identity servers, and embedded widgets or bots via an integration manager. Operators can pick a light or dark default theme, apply branding options, and serve different JSON configs per domain. You host it yourself as a static web app: a release tarball, a Debian package, the vectorim/element-web Docker image, or Kubernetes, fronted by your own web server with HTTPS; an Electron desktop build is also available. A Matrix homeserver is needed to actually chat, and the code is dual-licensed AGPL/GPL with a paid commercial option from New Vector.

element-web alternatives

All self-hosted alternatives to Microsoft Teams →

Should you self-host element-web?

element-web scores 74/100 on selfhost.directory (how scoring works) and ranks #2 of 34 in Communication. It has 13 665 GitHub stars, +97 in the last 30 days.

It shipped 19 stable releases in the past year. The latest, v1.12.35, came out on 12 November 2026. New versions land roughly every 2 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Rocket.Chat (83/100, 46 491 stars). It scores higher overall, so compare the two before you pick. See element-web vs Rocket.Chat side by side.

Features

  • Air-gapped deployment
  • Chat rooms and collaboration
  • Desktop App
  • End-to-end encrypted messaging
  • Federated, interoperable network
  • In-app bug reports
  • Invites via identity server
  • Location Sharing
  • Multi-language translations
  • Themes and branding customisationNo complete re-branding / private labelling
  • Voice and video conference callsElement Call option is experimental
  • Widgets, bots and bridges via integration manager

element-web README

Chat Tests Static Analysis Localazy Quality Gate Status Coverage Vulnerabilities Bugs

Element

Element (formerly known as Vector and Riot) is a Matrix web & desktop client built using the Matrix JS SDK.

Supported Environments

Element has several tiers of support for different environments:

How to install element-web

Install element-web with Docker

Environment variables
ELEMENT_WEB_PORT
docker run --rm -p 127.0.0.1:80:80 vectorim/element-web

To supply your own custom config.json, map a volume to /app/config.json:

docker run --rm -p 127.0.0.1:80:80 -v /etc/element-web/config.json:/app/config.json vectorim/element-web

Runs as unprivileged user by default; the listening port can be changed with ELEMENT_WEB_PORT.

How to configure element-web

  • default_server_configPreferred method of setting the homeserver connection information; copy of the /.well-known/matrix/client object.
  • disable_custom_urlsSet to true to stop users from choosing a homeserver other than the configured default.

    values: true/false

  • default_themelightOptional name of the colour theme to use; custom theme names also allowed.

    values: light | dark | custom theme name

  • jitsimeet.element.ioOptional configuration for how to start Jitsi conferences; can contain a preferred_domain pointing at your own Jitsi instance.
  • map_style_urlMap tile server style URL for location sharing; ignored if the homeserver provides it via .well-known.

element-web releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Communication

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…