Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

karere

> 编程语言
Open source

Gtk4 Whatsapp client

183 stars0 likes1 views
WebsiteGitHub

About

Gtk4 Whatsapp client

Karere

Multi-account & identity discovery. Each account runs in an isolated CEF RequestContext; accounts are listed most-recently-used (no manual ordering), and existing v3 accounts must be re-linked (no migration). Account name and avatar are discovered from WhatsApp Web's internal Store through a Webpack hook (the same technique as @wppconnect/wa-js).

Degraded-mode contract. If a future WhatsApp release restructures its Webpack bundle and the Store hook can't attach, the affected account falls back to scraping the DOM (#side header) for its name and avatar, and its switcher row shows a persistent yellow "degraded mode" badge. The badge does not clear when the DOM fallback succeeds — it is cleared only when a later page load lets the Store hook attach successfully again (typically after the hook is updated for the new WhatsApp release). The badge is intentional: it surfaces the fragile scrape path so it gets fixed rather than silently masking breakage.

A fast, native WhatsApp client for Linux that feels right at home on your desktop.

Version 4.3 — CEF/Chromium 152

Karere 4.0 is a ground-up rewrite that swaps the rendering backend from WebKitGTK to the Chromium Embedded Framework (CEF/Chromium 152) while keeping the same native GTK4/libadwaita shell. It is a hard fork of Karere v3: there is no automatic migration — existing accounts must be re-linked by scanning the QR code again on first launch.

Why CEF?

WebKitGTK could not play WhatsApp Web's video attachments (a platform-level limitation shared by all WebKitGTK browsers). Chromium handles them natively. The CEF build ships with proprietary codecs (H.264/AAC), so video attachments now play in-app.

What's New in 4.3.0

  • Chromium 152: the browser engine moves to CEF 152.0.6 / Chromium 152.0.7977.83 for current security and rendering fixes. Video attachments still play in-app (H.264/AAC) and the idle-CPU fix (#151) is carried over.
  • Smooth scrolling and typing on every GPU (#173/#179): frames used to wait for a 16 ms poll timer and about one in seven was dropped; paints now queue their own redraw (paint-to-draw latency 8.6 ms → 0.3 ms median). Applies to software and GPU rendering alike.
  • Calls can unmute (#182): microphone/camera decisions are mirrored into the engine's content settings, so WhatsApp's in-call permission check no longer fails.
  • Right-click Paste works with other apps (#189): the context-menu Paste now reads the host clipboard like Ctrl+V does, including images and files.
  • Message-menu "Copy" reaches the system clipboard (#178).
  • No dropped keys after sending: the input method's focus-out is debounced across composer re-renders.
  • Dependency refresh: every crate brought to its latest release; unused toml dropped.

Migration from v3. None. v3 stored sessions under WebKit's data manager; v4 uses CEF RequestContext directories and a new account record format. On first v4 launch, re-scan the QR code for each account.

For the full release history, see CHANGELOG.md.

Features

Core Features

  • Native Experience: Designed to look and feel like a native application on your desktop.
  • System Integration: Notifications, themes, and shortcuts work exactly as you expect.
  • Privacy Focused: Sandboxed communication with comprehensive privacy controls.
  • Efficient: Optimized to be lightweight and fast.

User Experience

  • System Tray Icon: Dynamic icon showing unread status, with background run support
  • Notification Sounds: Plays WhatsApp Web's own notification sound for new messages, with an on/off toggle
  • Image & Text Paste: Seamless Ctrl+V support for both mixed content types
  • Download Manager: Custom directory selection (e.g., ~/Downloads) with toast notifications

Accessibility

  • Screen Reader Ready: Fully labeled interface for screen reader users.
  • Keyboard Navigation: Use the entire app without a mouse.
  • Visual Aids: High contrast support, zoom controls, and reduced motion.
  • Auto-Correct: Smart text correction with dictionary support

Spell Checking

  • Multi-Language Support: 80+ dictionaries from LibreOffice
  • Auto-Detection: Smart language detection based on system locale
  • Dictionary Management: Override auto-detect to select specific languages
  • Auto-Correct Toggle: Enable or disable automatic text replacement

Privacy & Customization

  • Granular Notification Controls: Master toggle, plus individual settings for sound on/off, previews, and downloads
  • Privacy Settings: Control message previews and system tray behavior
  • Theme Selection: Light, Dark, or System preference
  • Permission Management: Persistent controls for Microphone and Notifications
  • Startup Control: Toggle automatic launch on login

Building from Source

bash
# Clone the repository
git clone https://github.com/tobagin/karere.git
cd karere

# Build and install development version
./build.sh --dev
flatpak run io.github.tobagin.karere.Devel

./build.sh --dev builds the working tree via packaging/io.github.tobagin.karere.Devel.yml (-Dprofile=development); plain ./build.sh builds the production manifest (packaging/io.github.tobagin.karere.yml, pinned to tag v4.2.2) — not the checkout. After any Cargo.toml/Cargo.lock change run ./build.sh --regen-sources (or --dev --regen-sources) to refresh vendored sources.

Build dependency: the UI is authored in Blueprint (data/ui/*.blp, including preferences.blp and keyboard-shortcuts.blp) and compiled to .ui at build time. blueprint-compiler must be on PATH for a local cargo build; the Flatpak SDK (org.gnome.Sdk//50) already ships it, so the Flatpak build needs no manifest change.

Running outside Flatpak: a local cargo run enables Chromium's own sandbox (it is only disabled inside the Flatpak sandbox). This requires unprivileged user namespaces; on kernels or distributions that disable them, CEF will refuse to start. Enable them with sysctl kernel.unprivileged_userns_clone=1 (Debian-style) or sysctl user.max_user_namespaces=10000 (some hardened configs). Non-Flatpak packaging remains unsupported.

Note: After installation, you'll need to scan the QR code with your mobile WhatsApp to connect.

Usage

Basic Usage

Launch Karere from your applications menu or run:

bash
flatpak run io.github.tobagin.karere

The application will load WhatsApp Web and provide native desktop integration.

Preferences

Access preferences through the application menu or keyboard shortcut (Ctrl+,) to configure:

  • General: Theme selection, developer tools
  • Accessibility: Keyboard shortcuts, focus indicators, high contrast, reduced motion, zoom settings, screen reader optimization
  • Notifications: Native notification preferences, preview settings, background notifications
  • Spell Checking: Multi-language spell checking with auto-detect

Keyboard Shortcuts

Standard

  • Ctrl+N - New Chat
  • Ctrl+, - Open Preferences
  • Ctrl+Q - Quit Application
  • F1 - Show Keyboard Shortcuts Help

Zoom

  • Ctrl++ - Zoom In
  • Ctrl+- - Zoom Out
  • Ctrl+0 - Reset Zoom

Developer (when enabled)

  • Ctrl+Shift+D - Open Developer Tools
  • Ctrl+R - Reload Page

WhatsApp Web

  • Ctrl+F - Find in Chat
  • Ctrl+Shift+F - Search Chats

Accessibility Features

Karere includes comprehensive accessibility support:

  • Screen Reader Support: Full ARIA labels and semantic HTML
  • Keyboard Navigation: Complete keyboard-only navigation with visible focus indicators
  • High Contrast Mode: Automatic detection and adaptation
  • Reduced Motion: Respects system reduce-motion preferences
  • Configurable Shortcuts: All keyboard shortcuts can be enabled/disabled
  • Focus Management: 82 focusable elements in a logical focus chain

Architecture

Karere is built using modern GNOME technologies:

  • Rust: Primary programming language for memory safety and performance
  • GTK4: Modern toolkit with excellent Wayland support
  • LibAdwaita: Native GNOME design language and components
  • CEF / Chromium 152: Chromium Embedded Framework renders WhatsApp Web (off-screen, composited into a GTK GLArea)
  • Blueprint: Declarative UI definition language
  • Flatpak: Secure application distribution

Privacy & Security

Karere is designed with privacy in mind:

  • Sandboxed: Runs in a Flatpak sandbox with minimal permissions
  • Opt-in Telemetry: All logging and crash reporting is disabled by default
  • Local Storage: Uses standard user data directories, no external services
  • Transparent: Open source code available for audit

Known Limitations

Video Attachments

Video attachments now play in-app. The v4 CEF/Chromium 152 backend ships with proprietary codecs (H.264/AAC), removing the WebKitGTK platform limitation that blocked video playback in v3 and earlier.

Voice & Video Calls

Calling requires WhatsApp Web's beta program. Voice and video calls are still a beta feature on WhatsApp Web itself — the call buttons only appear once your account is enrolled in the WhatsApp Web beta. Karere provides the codecs and permissions plumbing (microphone/camera prompts, H.264/AAC), but it cannot surface call controls that WhatsApp Web does not expose. To enable them, join the beta from the official WhatsApp client (Settings on your phone, or the WhatsApp Web beta opt-in); calls then work in Karere like any other WhatsApp Web feature.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines on:

  • Setting up your development environment
  • Code style and conventions
  • Testing and building
  • Submitting pull requests
  • Reporting bugs and feature requests

For questions or discussions, please use GitHub Discussions.

License

Karere is licensed under the GNU General Public License v3.0 or later. See LICENSE for the full license text.

Support

  • Discussions: Use GitHub Discussions for questions
  • Issues: Use GitHub Issues for bugs and feature requests

Acknowledgments

  • GNOME Project: For the excellent GTK4 and LibAdwaita frameworks
  • Chromium / CEF Project: For the Chromium Embedded Framework rendering engine
  • Rust Community: For the amazing language and tools
  • WhatsApp Inc.: For WhatsApp Web

Screenshots

Main Window About Dialog
Preferences Shortcuts

Karere - Native WhatsApp Web client for Linux desktop environments.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言