Repository navigation
Discord webhook forwarder with sender avatar, formatted number & saved contact name #790
Jivaansh-Yadav
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Built a small Flask webhook receiver that forwards messages from a specific WhatsApp chat into a Discord channel using GOWA's webhook events.
What it does:
/user/avatarendpoint (handles the multi-devicedevice_idscoping)+91 XXXXX XXXXX(or change the formatting options according to your country code)username/avatar_urloverrideScreenshot of it in action:

Gist: https://gist.github.com/Jivaansh-Yadav/8c7e39ba92ef32b382bc8a129d8107d0
Config is all plain variables at the top of the file (left blank in the gist — fill in your own Discord webhook URL, target chat JID, GOWA base URL, and basic auth if you're using it). Runs locally with
python app.py+ ngrok to expose the webhook, or deploy it anywhere with a public URL.Happy to take suggestions/improvements if anyone has ideas — this was mostly a "vibe coded" personal project so there's probably room to make it more robust (e.g. retry logic, media/attachment forwarding, embeds instead of plain content).
All reactions