This repository hosts an unofficial WhatsApp desktop application specifically optimized for Ubuntu, providing a seamless messaging experience directly from your desktop.
  • JavaScript 86.8%
  • Shell 13.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jairodaniel-17 cfa370eba9 build: v1.1.1 y versionado del spec desde package.json
El spec traia la version hardcodeada en 1.1.0, asi que build-rpm.sh calculaba
VERSION desde package.json pero rpmbuild la ignoraba y siempre etiquetaba el
paquete como 1.1.0. Ahora el script inyecta --define "_appversion" y el spec
lo consume con un valor por defecto para poder construirlo a mano.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-25 14:59:29 -05:00
assets lot of changes done there is error not open app from notification 2025-07-19 21:10:51 +05:30
packaging/fedora build: v1.1.1 y versionado del spec desde package.json 2026-07-25 14:59:29 -05:00
snap add snap folder and update electron version 2025-11-13 14:49:06 +05:30
src fix: permitir que app.quit() cierre la ventana de verdad 2026-07-25 14:14:30 -05:00
.gitignore build: empaquetado RPM nativo para Fedora 2026-07-25 14:14:30 -05:00
electron-builder.json build: empaquetado RPM nativo para Fedora 2026-07-25 14:14:30 -05:00
LICENSE Create LICENSE 2025-07-19 23:29:56 +05:30
main.js perf: usar la GPU, Wayland nativo y limitar la memoria 2026-07-25 14:14:30 -05:00
package-lock.json build: v1.1.1 y versionado del spec desde package.json 2026-07-25 14:59:29 -05:00
package.json build: v1.1.1 y versionado del spec desde package.json 2026-07-25 14:59:29 -05:00
README.md build: empaquetado RPM nativo para Fedora 2026-07-25 14:14:30 -05:00

unofficial-whatsapp

Unofficial WhatsApp for Ubuntu

This repository hosts an unofficial WhatsApp desktop application specifically optimized for Ubuntu, providing a seamless messaging experience directly from your desktop.

Get it from the Snap Store

Features

  • Optimized Performance: Built with performance in mind for a smooth experience on Ubuntu.

  • Native Feel: Integrates well with the Ubuntu desktop environment.

  • All Core WhatsApp Features: Supports sending and receiving messages, photos, videos, documents, and voice messages.

  • Voice & Video Calls: Microphone and camera permissions are granted automatically, so audio/video calls work out of the box.

  • Desktop Notifications: (Known issue: Small bug in notifications - see "Known Issues" below) Receive desktop notifications for new messages.

Installation

You can install the Unofficial WhatsApp for Ubuntu by either downloading a pre-built release or building it from source.

Go to the Releases page and download the latest build. No snap confinement, so the microphone and camera work without connecting any plugs.

AppImage (portable, no install):

chmod +x unofficial-whatsapp-*.AppImage
./unofficial-whatsapp-*.AppImage

.deb (installs into your apps menu):

sudo apt install ./unofficial-whatsapp_*_amd64.deb

.rpm (Fedora, RHEL, openSUSE):

sudo dnf install ./unofficial-whatsapp-*.x86_64.rpm

Option 2: Build from Source

To build the application from source, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Jairodaniel-17/Whatsapp-for-linux.git
    cd Whatsapp-for-linux
    
  2. Install dependencies:

    npm install
    
    • Note: You might need to install npm or yarn if you don't have them already.
  3. Build the application:

    npm run dist
    

    This creates the distributable packages (.AppImage and .deb) in the dist folder.

  4. Run the application (for development/testing):

    npm run start
    

Option 3: Build the RPM (Fedora)

The rpm target of electron-builder is not used: it relies on fpm 1.9.3, which is incompatible with RPM 6 (the BuildRoot tag was removed, so fpm stages files where modern rpmbuild no longer looks). Instead there is a native spec file:

sudo dnf install rpm-build desktop-file-utils nodejs npm
./packaging/fedora/build-rpm.sh
sudo dnf install ./dist/unofficial-whatsapp-*.x86_64.rpm

The spec lives in packaging/fedora/unofficial-whatsapp.spec and declares real Fedora dependencies, installs chrome-sandbox setuid root, and drops the AppArmor profile (Fedora uses SELinux).

Performance

Hardware acceleration is enabled by default. On Intel/AMD GPUs this offloads rendering and video-call decoding to the GPU, cutting CPU usage, heat and battery drain. The app also asks for native Wayland via ozone-platform-hint and falls back to X11 automatically, and caps the V8 heap and disk cache so a long-running session does not grow without bound.

If your GPU shows rendering artifacts or a black window, disable it:

whatsapp --disable-gpu
# or
WHATSAPP_DISABLE_GPU=1 whatsapp

Auto-start on login is off by default and is toggled from the tray menu ("Start on login"). Previously it re-enabled itself on every launch.

Usage

Once installed, launch the application from your applications menu. You'll be prompted to scan a QR code using your phone's WhatsApp application (WhatsApp Web/Desktop option) to link your account.

Known Issues

  • Notification Bug: There's a small bug affecting desktop notifications. While notifications generally appear, when you click on them, the application will not open or come into focus. I am actively working on a fix for this.

License

This project is licensed under the MIT License - see the LICENSE file for details.