- Fork the repository to your own GitHub account: WhatsApp-Logger-Self-Hosted-
- Log in to Render.
- Click New + → Web Service.
- Connect your forked repository.
- Runtime: select Docker.
- Add the following environment variables under “Advanced”:
- Click Create Web Service.
- Wait for deployment to finish. Render gives you a URL like
https://your-app.onrender.com.
Excluding specific chats from logging
If there are chats you don’t want logged at all — a bot, a broadcast/status JID, a business account — editEXCLUDED_JIDS in src/config.js on your fork before deploying:
EXCLUDED_JIDS is a set of full JIDs (the ...@s.whatsapp.net / ...@g.us / ...@lid identifiers, not just a phone number) that are skipped entirely — they won’t be cached, streamed, or included in exports. It ships empty by default. You can find a chat’s exact JID from the live server logs (see the tip above) the first time it logs a message, then add it here, e.g. new Set(['917278779512@s.whatsapp.net', '201554426618024@lid']), and redeploy.
Continue to Connect WhatsApp.
Copyright © 2025–2026 Amit Dutta