HTML/JS 1-to-1 Agora Chat Module

Замовник: AI | Опубліковано: 19.11.2025

I’m ready to add a lightweight, browser-based 1-to-1 chat to my site using the Agora RTM JavaScript SDK. The module should focus solely on real-time text messaging—no voice or video—built with plain HTML, CSS, and vanilla JavaScript (or minimal ES6). Here’s what matters most to me: • Smooth text delivery between two users in a dedicated room. • Typing indicators so each party can see when the other is composing. • Message read receipts that update instantly once a message is viewed. Because this chat sits inside a pre-existing app that already manages identity, I don’t need you to add any extra authentication layer; just assume the client code will supply the user ID and channel name at runtime. Deliverables I expect: 1. Clean, well-commented HTML/CSS/JS files implementing the functionality above. 2. A brief README explaining required Agora keys, how to initialise the client, and how to embed the widget on any page. 3. A quick demo page I can load locally to test messaging, typing states, and read receipts between two browser tabs. If you’ve worked with Agora RTM before and can keep dependencies minimal, let’s get this coded.