Option A: Fork + auto-deploy (most common)
- Open your fork on GitHub and go to
js/config.js. Click the pencil icon (Edit this file). It’s a tiny file with a bigEDIT THIS ONE LINEbanner, so it’s hard to miss. - Paste your Render URL between the quotes, e.g.
https://your-app.onrender.com(no trailing slash). - Click Commit changes. If your hosting provider is connected to your fork and auto-deploys, it redeploys on its own and there’s nothing to upload. Leave the file as it is afterwards.
Option B: Self-host manually
- Download the repository (Code → Download ZIP) or clone it. The frontend is
index.htmlplus thecss/andjs/folders. Keep them together. - Open
js/config.jsin a text editor. It’s a tiny file with a bigEDIT THIS ONE LINEbanner, so it’s hard to miss. - Fill in
RENDER_BACKEND_URLwith your Render URL, e.g.https://your-app.onrender.com(no trailing slash). - Take these files and deploy them with whichever hosting provider you use. How to deploy is up to your provider:
index.htmlpublic/,css/andjs/folderssw.jsandmanifest.json(for the installable PWA)
The setting (both options)
Before editing, the line injs/config.js looks like this:
/api/verify) and gets a session token back, then uses that token for every chat/message request over Server-Sent Events. Firebase credentials only ever live on the backend, set in Deploy the Backend.
Frontend file layout
Copyright © 2025–2026 Amit Dutta