ZapFast:基于 Rust 和 egui 的快速原生 WhatsApp 客户端
ZapFast: A fast, native WhatsApp client in Rust and egui

原始链接: https://github.com/crmne/zapfast

ZapFast 是一个非官方的原生 WhatsApp 桌面客户端,适用于 Linux、macOS 和 Windows,使用 Rust、egui 和 fastframe 构建。它通过 whatsapp-rust 作为配套设备连接手机,无需浏览器引擎,提供快速启动和低空闲内存。它支持多种语言,并具备消息、媒体播放、加密本地聊天记录、多账户切换、键盘快捷键、主题、隐私锁和通知等功能。可通过 Homebrew、AUR、Nix、AppImage、Windows 构建版本或源码安装。用户可通过扫描二维码或输入八位手机验证码进行关联;最近聊天会同步,滚动加载更早消息,存储的聊天在重启后仍可用。文档涵盖设置、使用、贡献、架构和打包。原生通知在支持的操作系统上可用。ZapFast 采用 MIT 许可证,但非官方,可能违反 WhatsApp 条款,有封号风险。它还使用了多个开源字体、图标和音效。

Hacker News 上一篇帖子介绍了 ZapFast,一个用 Rust 和 egui 构建的快速原生 WhatsApp 客户端。该帖有 15 个点赞和 3 条评论。评论者警告,非官方客户端可能违反 WhatsApp 的服务条款,并可能导致账户被封。一名用户认为公共 API 应该开放,滥用防控应该在服务端进行;另一名用户说他们已经安装并发现它运行良好,但因封号风险现在犹豫是否继续使用。
相关文章

原文

ZapFast logo

WhatsApp, native and fast.
A lightweight WhatsApp app for Linux, macOS, and Windows.

Download · Getting started · User guide · Contribute

Built with Rust Linux, macOS, and Windows MIT license

ZapFast is a WhatsApp client written in Rust with egui and fastframe, the framework behind a family of native desktop apps. It links to your phone as a companion device through whatsapp-rust and has no browser engine. In our Linux test it opens in under a second and uses about 200 MB of idle RAM, against 1.13 GB for WhatsApp Web. See the measurements.

The interface is available in English, Chinese (Simplified and Traditional), French, German, Indonesian, Italian, Portuguese (Brazil), Russian, Spanish, and Turkish.

ZapFast showing a conversation with an attachment, voice messages, reactions, a quoted reply, and a link preview
Watch ZapFast in action
zapfast-launch-web.mp4

Features · Install · Link your phone · Help

Your chats, on your desktop

Feature What you can do
Messages Send formatted text, replies, edits, reactions, forwards, pictures, files, stickers, GIFs, polls, and voice messages.
Media in the chat Play voice messages, videos, round video messages, GIFs, and animated stickers in place.
Your history Keep your chats in an encrypted archive on this computer, fetch older messages from your phone as you scroll, and export locally saved chat history as text or a ZIP with downloaded attachments.
Several numbers Link more than one WhatsApp number and switch between them in one window.
Desktop controls Use keyboard shortcuts, select and copy text across messages, and stay linked in the tray with notifications.
Themes Choose light, dark, system appearance, or custom colours. On Omarchy, follow your desktop theme.
Privacy Hide locked chats behind a code, or the whole window behind an app lock. Nothing goes to a server of ours.
Platform Installation
macOS brew install --cask crmne/tap/zapfast, or download the Mac app.
Arch Linux yay -S zapfast-bin
Windows Choose your build on the Download page.
Other Linux Find Nix, AppImage, and other options on the Download page.
From source Follow Getting started for dependencies and commands.
  1. Open ZapFast. It shows a QR code.
  2. On your phone, open WhatsApp, then Settings, Linked devices, Link a device, and scan the code. Or click Link with phone number and enter the eight-character code on your phone.
  3. Your recent chats arrive from the phone. Older messages follow as you scroll up.

The link survives restarts, and your phone does not need to stay online to read what ZapFast has already stored. See Getting started for the full walkthrough and How it links for the details.

The complete guide lives at zapfast.rocks.

Read CONTRIBUTING.md before opening an issue or pull request. To look at the interface without a WhatsApp account, run:

cargo run --features demo -- --demo

AGENTS.md describes the architecture, DEMO.md the demo pages, screenshots, and recorded tours, and PACKAGING.md releases and packages.

Native notifications use Fastframe on Linux, macOS and Windows. ZapFast keeps its account/chat routing, privacy settings, notification limits and sound previews. Clicks open the announced message; reading a chat withdraws its tracked notifications. OS permissions and notification presentation still apply.

Want Spotify just as fast and native? Spotifast is ZapFast's sibling. Both are built on fastframe.

ZapFast uses whatsapp-rust, egui, fastframe, the Inter typeface and Noto Color Emoji (OFL), and Lucide icons (ISC), also used for the chat wallpaper doodles. The notification sounds are Pidgin's, under the GPL-2.0 (see assets/sounds/).

ZapFast is an unofficial client and is not affiliated with WhatsApp or Meta. Using an unofficial client may be against WhatsApp's terms of service and could get an account suspended. Use it at your own risk. WhatsApp is a trademark of WhatsApp LLC.

Licensed under the MIT License.

ZapFast GitHub stars over time
联系我们 contact @ memedata.com