A minimal Matrix chat client, focused on performance, offline functionality, and broad browser support. This is work in progress and not yet ready for primetime. Bug reports are welcome, but please don't file any feature requests or other missing things to be on par with Element Web.
Hydrogen's goals are:
For embedded usage, see the SDK instructions.
If you find this interesting, come and discuss on #hydrogen:matrix.org
.
Hydrogen is deployed to hydrogen.element.io. You can also deploy Hydrogen on your own web server:
If this is your first deploy:
config.sample.json
to config.json
and if needed, make any modifications (unless you've set up your own sygnal instance, you don't need to change anything in the push
section).Disable caching entirely on the server for:
index.html
sw.js
config.json
themeManifests
of config.json
, these files are typically called theme-{name}.json
.These resources will still be cached client-side by the service worker. Because of this; you'll still need to refresh the app twice before config.json changes are applied.
You can run Hydrogen locally by the following commands in the terminal:
yarn install
(only the first time)yarn start
in the terminalNow point your browser to http://localhost:3000
. If you prefer, you can also use docker.
PS: You need nodejs, running yarn on top of any other js platform is not supported.
Some frequently asked questions are answered here.