Then learn Vue.js or React and figure out how to break the UI down into components.
Then, include converse/headless via NPM and call its API to log in, start a chat session, send/receive messages etc.
Why is this step necessary? mastodon.xyz might not be the server where you are registered, so we need to redirect you to your home server first.
Don't have an account? You can sign up here