Changes for LICENSING.md: 13 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
# Licence information
## Element Web
Element Web 1.12.36 is offered upstream under GPL-3.0-or-later, AGPL-3.0-or-later or a separate commercial agreement. This source release uses GPL-3.0-or-later for the StatHub additions to the web client, including the navigation and local build changes. The Element source snapshot retains its upstream licence texts, notices and copyright attributions. [GPL licence text](element/licenses/LICENSE-GPL-3.0) · [AGPL licence text](element/licenses/LICENSE-AGPL-3.0). [Element Web 1.12.36 licence options](https://github.com/element-hq/element-web/blob/v1.12.36/README.md#copyright--license)
## Synapse
Synapse 1.166.0 is offered upstream under AGPL-3.0-or-later or a separate commercial agreement. This release uses AGPL-3.0-or-later for the StatHub call-policy module and local Synapse build changes. The original Synapse authorship and notices are included. [Synapse 1.166.0 licence information](https://pypi.org/project/matrix-synapse/1.166.0/) · [AGPL licence text](synapse/LICENSE-AGPL-3.0)
## Bundled software
Dependencies, including the Matrix SDKs, the crypto libraries, nginx and the Python packages, retain their own licences. Their source archives carry the upstream notices. The component guides identify the relevant source distributions. Names and marks belong to their respective owners.
Changes for README.md: 25 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
# StatHub chat source
This repository provides the source for the Element Web chat client and the Synapse homeserver running on StatHub on 2 December 2026. Production and sandbox used the same application images. The release tag is `stathub-2026-12-02`.
| Component | Deployed release | What StatHub added |
| --- | --- | --- |
| [Element Web](element/README.md) | 1.12.36 · upstream commit `9eb31af15759ebfee2de5466d77a8af6b0a5da17` | Site navigation, changes to the HTML entry point and an nginx package update |
| [Synapse](synapse/README.md) | 1.166.0 · upstream commit `78f7dba4e36204211c9eb47795603c3a10012f2e` | A module that disables calls and four Python dependency updates |
## Download and verify
To download a copy without Git, select the release tag above in GitLab and use **Code → Download source code**. The download includes the upstream source archives, their original notices, and the StatHub additions. The component links above lead to build instructions and the provenance of each release. To check a downloaded repository from its top-level directory on Linux, run:
```sh
sha256sum-c SHA256SUMS
```
The following Docker image IDs identify the running builds checked for this release. The component guides distinguish the source archives from the version-pinned container bases and other downloads used during builds.
| Component | Deployed Docker image ID |
| --- | --- |
| Element Web | `sha256:f8f6b7e4f93ea1453656e2601d17e5c6562410e1ca9b4adfea6d2aff02649a05` |
Changes for element/README.md: 49 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
# Element Web 1.12.36
This directory contains the upstream Element Web source tree and the local changes used for the LEARN-STAT browser chat client. The deployed page adds a navigation bar outside Element’s React root. Its HTML, JavaScript and two stylesheets are in [overlay/navigation](overlay/navigation). The production web server uses nginx 1.31.10, Alpine package revision 1.
| Upstream Git tree | `e27886a3ca91e63c80363bc8f2523e4c2b87a63f` |
| Official base image | `ghcr.io/element-hq/element-web@sha256:8812792403c7b9f94c0cd433bd2eb8dd9f1eb8a7908261aece71c1d5e2540561` |
| Deployed image ID on linux/amd64 | `sha256:f8f6b7e4f93ea1453656e2601d17e5c6562410e1ca9b4adfea6d2aff02649a05` |
## Read or modify the source
Extract [the upstream source archive](upstream/element-web-1.12.36.tar.gz). Its file contents and modes reconstruct the Git tree above. The archive includes the monorepo packages, patches, workspace configuration and pnpm lockfile. Additional sources for bundled Matrix dependencies live in [bundled Matrix SDK and Element Call sources](bundled-sources/README.md). The original licence options, copyright notices and contributor list are in [licenses](licenses/) and the upstream archive. [Upstream source at the release commit](https://github.com/element-hq/element-web/tree/9eb31af15759ebfee2de5466d77a8af6b0a5da17)
To build the browser client from this archive, use Node.js 26 and pnpm 12.18.0, as pinned by upstream’s release Dockerfile. The first dependency installation requires access to the registries in the lockfile. From this directory on Linux, run:
```sh
release_dir=$(pwd)
tar-xzf upstream/element-web-1.12.36.tar.gz
cd element-web-9eb31af15759ebfee2de5466d77a8af6b0a5da17
sh "$release_dir/overlay/apply-navigation.sh" apps/web/webapp
```
Serve the resulting `apps/web/webapp/` directory at `/chat/`. Use the upstream `apps/web/config.sample.json` as a starting point for your own homeserver configuration. The production deployment mounts its independent welcome-page content, site artwork and connection settings at runtime. The site’s registration template is used by its separate authentication service.
## Recreate the deployed web files
The production build started with the official binary image identified above. To reproduce that operation, use Docker with BuildKit on linux/amd64 and the signed nginx package included in this repository. Run these commands from this directory:
The included APK came from [nginx’s mainline package repository](https://nginx.org/packages/mainline/alpine/v3.24/main/x86_64/nginx-1.31.10-r1.apk). An independent download matched the SHA-256 above. The build verifies the nginx package signature using the base image’s trusted keys, preserves its server configuration and applies the navigation to `index.html`. The [nginx source archive](upstream/nginx-1.31.10.tar.gz) contains the original nginx release. The deployment installs the signed vendor binary package.
Of the 724 regular files compared in the upstream and deployed application trees, only `index.html` changed. The comparison excluded mounted site configuration, site content and the added navigation directory. All 724 application files, the four added navigation files and the nginx executable in an isolated overlay rebuild from a clean Git tag export matched the deployed files byte for byte. The [runtime checksum manifest](deployed-files.sha256) covers those 729 files. The check used the pinned upstream binary image. A fresh JavaScript build from source was not part of this verification. [Upstream release](https://github.com/element-hq/element-web/releases/tag/v1.12.36)
The [source archive checksums](upstream/SHA256SUMS) can be checked with `(cd upstream && sha256sum -c SHA256SUMS)`.