Go to file
Jan Christian Grünhage bc2e7a7366 chore: optimise Dockerfile
So far, the Dockerfile built hydrogen on the server running the image,
instead of building it during the building of the image. This blew up
the image size immensely and caused node+yarn to run in the resulting
image. This new Dockerfile builds hydrogen in a separate build stage and
then moves the target directory into an nginx based container image,
which takes care of serving the target webroot.

The existing Dockerfile has been moved to Dockerfile-dev for usage as a
development environment. The docs have been adjusted accordingly.

Additionally, this switched from a fixed alpine version of the node
image to the latest alpine version, and changed the container image
references in the `FROM` statements to use the fully qualified
references including the registry domain.
2021-03-14 12:52:35 +01:00
assets remove debug output in DOM 2021-03-04 21:53:35 +01:00
doc chore: optimise Dockerfile 2021-03-14 12:52:35 +01:00
prototypes more prototypes 2021-03-08 14:17:31 +01:00
scripts convert post-install script to CJS so we can use require.resolve 2021-03-08 14:40:21 +01:00
src fix image uploads being broken 2021-03-11 10:27:50 +01:00
.dockerignore chore: optimise Dockerfile 2021-03-14 12:52:35 +01:00
.editorconfig wip 2019-02-17 23:58:01 +01:00
.eslintrc.js allow empty blocks 2021-02-11 21:08:43 +01:00
.gitignore ignore build packages 2020-10-08 14:19:02 +02:00
codestyle.md notes on codestyle 2020-11-20 16:39:16 +01:00
Dockerfile chore: optimise Dockerfile 2021-03-14 12:52:35 +01:00
Dockerfile-dev chore: optimise Dockerfile 2021-03-14 12:52:35 +01:00
index.html console logger for local dev 2021-03-01 15:07:24 +01:00
LICENSE add full license text 2020-08-05 18:40:45 +02:00
package.json release v0.1.37 2021-03-11 10:28:04 +01:00
README.md Fix typo 2021-02-08 14:21:13 +01:00
TODO.md WIP 2020-08-05 18:17:35 +01:00
yarn.lock update caniuse to have up to date browser definitions for build script 2021-02-17 11:41:06 +01:00

Hydrogen

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.

Goals

Hydrogen's goals are:

  • Work well on desktop as well as mobile browsers
  • UI components can be easily used in isolation
  • It is a standalone webapp, but can also be easily embedded into an existing website/webapp to add chat capabilities.
  • Loading (unused) parts of the application after initial page load should be supported

If you find this interesting, come and discuss on #hydrogen:matrix.org.

How to use

Hydrogen is deployed to hydrogen.element.io. You can run it locally yarn install (only the first time) and yarn start in the terminal, and point your browser to http://localhost:3000. If you prefer, you can also use docker.

FAQ

Some frequently asked questions are answered here.