Skip to content
项目

arespawn/WhatsAppToDiscord

在 GitHub 查看

关于

WhatsAppToDiscord is a Discord bot that uses WhatsApp Web as a bridge between Discord and WhatsApp.

效率与自动化

这些数字如何统计

47 星标21 复刻 +1 24小时

可以做什么

  • Bidirectional message, media, reaction, edit, delete, poll, and pin bridging
  • Whitelist and one-way routing controls
  • Discord channels or forum threads for WhatsApp conversations
  • PN/LID-aware WhatsApp identity handling

实测星标增长

24小时
+1
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

WhatsApp To Discord

WA2DC logo

Latest release Total downloads License CI Release PRs Welcome

WhatsAppToDiscord (WA2DC) is a self-hosted bridge that mirrors WhatsApp chats into Discord through Baileys and discord.js.

Originally created by Fatih Kilic, the project is now maintained by arespawn with the blessing of the previous author.

Start with the documentation at arespawn.com:

Highlights

  • Bidirectional message, media, reaction, edit, delete, poll, and pin bridging
  • Whitelist and one-way routing controls
  • Discord channels or forum threads for WhatsApp conversations
  • PN/LID-aware WhatsApp identity handling
  • Newsletter and broadcast support
  • Packaged binaries, Docker images, and Node.js source installs

Installation choices

  • Packaged binary: download a signed release asset from GitHub Releases.
  • Docker: copy .env.example to .env, set WA2DC_TOKEN, then run docker compose up -d.
  • Source: install Node.js 24.22.1–24.x or 26.12.1 and newer, run npm ci, then npm start. The installer scripts can automate this path.

Data and security

WA2DC runs on your host, but bridging necessarily sends messages and media through WhatsApp and Discord. It stores app state and WhatsApp authentication in storage/wa2dc.sqlite; optional payload encryption is available through WA2DC_DB_PASSPHRASE when the database is first created.

Keep the Discord control channel private, restrict bridged channels with Discord permissions, protect .env and storage/, and never share tokens, QR codes, session data, logs, or database copies. See Privacy and Data Handling and Security Policy.

Development

npm ci
npm run check
npm test
WA2DC_SMOKE_TEST=1 node src/index.js

Contributor guidance starts in CONTRIBUTING.md, AGENTS.md, and docs/dev/.

Disclaimer

[!CAUTION] WA2DC is not affiliated with or endorsed by WhatsApp or Discord. WhatsApp and related names, marks, emblems, and images are trademarks of their respective owners. WA2DC uses unofficial WhatsApp Web integration and may be affected by upstream protocol changes or account restrictions. Use it responsibly; do not use it for spam, stalkerware, bulk messaging, or activity that violates platform terms.

探索相关项目

加载中…