Bruno Windels 93a7f9959e Safari doesn't like the prepare txn still open when opening the sync txn
Waiting for it to close magically solves the TransactionInactiveError
we were seeing on some incremental sync request when
reading from roomMembers.

Still unsure what this is about, and if we should wait for all read txns
to close or not.
2020-10-01 14:31:38 +02:00
wip
2019-02-17 23:58:01 +01:00
2020-08-27 19:51:32 +02:00
2020-09-03 11:28:27 +02:00
2020-08-05 18:40:45 +02:00
2020-09-28 15:38:27 +02:00
2020-08-13 08:09:30 +00:00
WIP
2020-08-05 18:17:35 +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. We're currently not accepting any externally reported issues (features, bug reports, ...) at this time.

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

Status

Hydrogen can currently log you in, or pick an existing session, sync already joined rooms, fill gaps in the timeline, and send text messages. Everything is stored locally.

Why

For every interaction or network response (syncing, filling a gap), Hydrogen starts a transaction in indexedb, and only commits it once everything went well. This helps to keep your storage always in a consistent state. As little data is kept in memory as well, and while scrolling in the above GIF, everything is loaded straight from the storage.

If you find this interesting, feel free to reach me at @bwindels:matrix.org.

How to use

Try it locally by running npm install dev (only the first time) and npm start in the terminal, and point your browser to http://localhost:3000.

Description
No description provided
Readme 35 MiB
Languages
TypeScript 48.5%
JavaScript 39.9%
HTML 8.5%
CSS 3%
Shell 0.1%