@sctlib/mwc

0.3.3 • Public • Published

This project is now stopped, because matrix dediced to stop supporting "guest users", which this project rely on. Do not expect more support or future updates.

Lightweight web-components (and custom javascript API sdk) to communicate with matrix (public) homeservers, rooms, spaces, users, events.

This project is in prototype state, and its APIs are subject to changes. Feel free to discuss features and bugs in git issues or the matrix room(s).

Example usage

In an HTML file, we can use the following code to display a matrix room (here by its alias, and works with its ID too).

<script type="module" src="https://unpkg.com/@sctlib/mwc"></script>
<matrix-room profile-id="#sctlib-mwc:matrix.org"></matrix-room>

Package Sidebar

Install

npm i @sctlib/mwc

Weekly Downloads

20

Version

0.3.3

License

GPL-3.0-or-later

Unpacked Size

492 kB

Total Files

159

Last publish

Collaborators

  • user-09876