0935f2d23a
Relevant error if you crypto is used in a non-secure context like a local LAN IP `http://192.168.1.151:3050/` ``` Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'deriveBits') at new Crypto at new Platform at mountHydrogen ``` For my use-case with https://github.com/matrix-org/matrix-public-archive, I don't need crypto/encryption at all. Docs: - https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts - https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle - "Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers." --- Related to https://github.com/vector-im/hydrogen-web/issues/579 |
||
---|---|---|
.github/workflows | ||
doc | ||
prototypes | ||
scripts | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.eslintrc.js | ||
.gitignore | ||
.gitlab-ci.yml | ||
.ts-eslintrc.js | ||
codestyle.md | ||
Dockerfile | ||
Dockerfile-dev | ||
LICENSE | ||
package.json | ||
README.md | ||
TODO.md | ||
tsconfig-declaration.json | ||
tsconfig.json | ||
view-gallery.html | ||
vite.common-config.js | ||
vite.config.js | ||
vite.sdk-assets-config.js | ||
vite.sdk-lib-config.js | ||
yarn.lock |
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.
Hydrogen uses symbolic links in the codebase, so if you are on Windows, have a look at making git & symlinks work there.
FAQ
Some frequently asked questions are answered here.