openclaw - 💡(How to fix) Fix [Feature]: Title: feat: WhatsApp 网页扫码链接(类似微信插件的体验) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#56786Fetched 2026-04-08 01:47:47
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

目前 WhatsApp 链接只能在终端显示二维码扫码,而微信插件支持生成网页链接/二维码,用户体验更好。

Root Cause

目前 WhatsApp 链接只能在终端显示二维码扫码,而微信插件支持生成网页链接/二维码,用户体验更好。

RAW_BUFFERClick to expand / collapse

Summary

目前 WhatsApp 链接只能在终端显示二维码扫码,而微信插件支持生成网页链接/二维码,用户体验更好。

Problem to solve

  • 微信插件: 支持网页扫码,方便在手机上操作
  • WhatsApp 插件: 只能在终端显示 QR,WSL/远程服务器场景下很不方便

Proposed solution

  1. 类似微信插件,提供网页扫码入口
  2. 或者提供一个 URL,用户可以在浏览器打开后扫码
  3. Dashboard 控制面板中集成 WhatsApp 扫码功能

Alternatives considered

No response

Impact

  • WSL 环境下终端扫码不便
  • 远程服务器部署,无法直接访问终端
  • 会话过期后需要频繁重新扫码

Evidence/examples

No response

Additional information

  • OpenClaw 版本: 2026.3.28
  • 运行环境: WSL2
  • WhatsApp 插件: @openclaw/whatsapp
  • 感谢考虑这个功能!

extent analysis

Fix Plan

To address the issue, we will implement a solution to generate a web page with a QR code for WhatsApp, similar to the WeChat plugin. Here are the steps:

  • Create a new endpoint to generate the QR code and return it as an image
  • Update the WhatsApp plugin to provide a URL that can be opened in a browser to display the QR code
  • Integrate the WhatsApp QR code functionality into the Dashboard control panel

Example Code

// Generate QR code endpoint
app.get('/whatsapp-qr', (req, res) => {
  const qrCode = generateQrCode(); // implement generateQrCode function
  res.setHeader('Content-Type', 'image/png');
  res.send(qrCode);
});

// Update WhatsApp plugin to provide QR code URL
const whatsappPlugin = {
  // ...
  getQrCodeUrl: () => {
    return `${baseUrl}/whatsapp-qr`;
  },
};

// Integrate WhatsApp QR code into Dashboard control panel
dashboardControlPanel.innerHTML += `
  <a href="${whatsappPlugin.getQrCodeUrl()}">Scan QR code</a>
  <img src="${whatsappPlugin.getQrCodeUrl()}" />
`;

Verification

To verify that the fix worked, open the Dashboard control panel and click on the "Scan QR code" link. This should open a new browser tab with the QR code. Scan the QR code using your WhatsApp app to verify that it works correctly.

Extra Tips

  • Make sure to implement proper error handling and security measures when generating and displaying the QR code.
  • Consider using a library like qrcode-generator to generate the QR code.
  • Test the solution in different environments, including WSL and remote servers, to ensure that it works as expected.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING