POC microfrontend Tchap AP-HP

Composant Web Component <aphp-tchap-app> — Lit + matrix-js-sdk, embarquable n'importe où via une simple balise + un script module.

Microfrontend Tchap

Homeserver pré-rempli (POC AP-HP), modifiable depuis le formulaire.

Comment l'embarquer ailleurs

<script type="module"
  src="https://<cdn-host>/v0.1/tchap/tchap.js">
</script>

<aphp-tchap-app
  homeserver="https://tchap-poc.aphp.fr">
</aphp-tchap-app>

Aucune dépendance React/Vue/Angular. Console : les events sync Matrix et messages reçus sont loggés avec préfixe [aphp-tchap].