forked from mystiq/hydrogen-web
Update README.md
rename to hydrogen
This commit is contained in:
parent
0dcdf35821
commit
c46e2d6397
1 changed files with 5 additions and 10 deletions
15
README.md
15
README.md
|
@ -1,22 +1,17 @@
|
|||
# Brawl
|
||||
# Hydrogen
|
||||
|
||||
A minimal [Matrix](https://matrix.org/) chat client, focused on performance and offline functionality.
|
||||
A minimal [Matrix](https://matrix.org/) chat client, focused on performance and offline functionality, and broad browser support.
|
||||
|
||||
## Status
|
||||
|
||||
Brawl 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.
|
||||
|
||||
Here's an (outdated) GIF of what that looks like, also see link below to try it out:
|
||||
![Showing multiple sessions, and sending messages](https://bwindels.github.io/brawl-chat/images/brawl-sending.gif)
|
||||
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
|
||||
|
||||
I started writing Brawl both to have a functional matrix client on my aging phone, and to play around with some ideas I had how to use indexeddb optimally in a matrix client.
|
||||
|
||||
For every interaction or network response (syncing, filling a gap), Brawl 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.
|
||||
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
|
||||
|
||||
You can [try Brawl here](https://bwindels.github.io/brawl/), or try it locally by running `yarn install` (only the first time) and `yarn start` in the terminal, and point your browser to `http://localhost:3000`.
|
||||
Try it locally by running `yarn install` (only the first time) and `yarn start` in the terminal, and point your browser to `http://localhost:3000`.
|
||||
|
|
Loading…
Reference in a new issue