3bee4b4585
bs58 depends on safe-buffer, which depends on buffer, which is a bit of a pain to bundle as it is a built-in node module. You'd typically replace buffer with a browser polyfill in your build system but: a) this is somewhat a pain to setup for simple apps b) the polyfill is way more than we need (6kb), so we prefer to bundle our minimal buffer replacement that uses Uint8Array. Since it is a transitive dependency, we need to bundle bs58 and all of its transitive dependencies (2.5kb) as well, so if users of hydrogen-sdk also use any of these, they'll be double included in their bundle. |
||
---|---|---|
.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.