Files
im_webapp/README.md
T
2017-09-13 14:05:54 -07:00

40 lines
2.1 KiB
Markdown

# Single-page chat with Tinode
Example using [Tinode](https://github.com/tinode/chat/) to build a single-page chat application. The app uses
[React](https://facebook.github.io/react/), Google's material design [fonts](https://www.google.com/fonts/)
and [icons](https://google.github.io/material-design-icons/#icon-font-for-the-web). The [Tinode javascript library](https://github.com/tinode/tinode-js/) has no external dependencies. Overall it's a lot like open source WhatsApp or Telegram web apps.
This is work in progress. Bugs are expected. The app was tested in the latest Chrome & Firefox only.
Try it (possibly older version) live at http://api.tinode.co/x/example-react-js/. Login as one of `alice`, `bob`, `carol`, `dave`, `frank`. Password is `<login>123`, e.g. password for `alice` is `alice123`. You can discover other users by email or phone by prefixing them with `email:` or `tel:` respectively. Emails are `<login>@example.com`, e.g. `alice@example.com`, phones are `17025550001` through `17025550009`. The demo is reset every night at 2:15 am Pacific time.
License: [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)
Sample avatar photos from https://www.pexels.com/ under [CC0 license](https://www.pexels.com/photo-license/).
Background pattern from http://subtlepatterns.com/, commercial and non-commercial use allowed with attribution.
## Missing functionality
* Cannot send images or other media.
* Cannot delete messages.
* No typing indicators.
* No indication of chat status (muted, blocked, etc.).
* Browser push notifications are missing.
* No encryption.
* Editing chat permissions is incomplete.
## Responsive design
### Desktop screenshot
<p align="center">
<img src="web-desktop-1.png" alt="Desktop web: full app" width=866 />
</p>
### Mobile screenshots
<p align="center">
<img src="web-mob-contacts-1.png" alt="Mobile web: contacts" width=323 border=1 /> <kbd><img src="web-mob-chat-1.png" alt="Mobile web: chat" width=323 /></kbd> <kbd><img src="web-mob-info-1.png" alt="Mobile web: topic info" width=323 /></kbd> <kbd><img src="web-mob-new-chat-1.png" alt="Mobile web: start new chat" width=323 /></kbd>
</p>