|
| 1 | +# WhatsApp Desktop Linux |
| 2 | + |
| 3 | +π **Native WhatsApp Web desktop application for Linux** with system tray, notifications, keyboard shortcuts, and AppImage distribution. Built with Electron. |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | +## β¨ Features |
| 11 | + |
| 12 | +- π **WhatsApp Web Integration** - Full WhatsApp Web functionality in a native app |
| 13 | +- π« **Sandbox-Free** - No more `--no-sandbox` flags required |
| 14 | +- π **System Notifications** - Desktop notifications for new messages |
| 15 | +- ποΈ **System Tray** - Minimize to tray, quick access menu |
| 16 | +- β¨οΈ **Keyboard Shortcuts** - Navigate conversations with ease |
| 17 | +- π **Auto-Updates** - Automatic update checking and notifications |
| 18 | +- π¦ **AppImage** - Single-file distribution, no installation needed |
| 19 | +- π **Modern Security** - Latest Electron with proper security policies |
| 20 | + |
| 21 | +## πΉ Keyboard Shortcuts |
| 22 | + |
| 23 | +| Shortcut | Action | |
| 24 | +|----------|--------| |
| 25 | +| `Ctrl+Tab` | Switch to next conversation | |
| 26 | +| `Ctrl+Shift+Tab` | Switch to previous conversation | |
| 27 | +| `Ctrl+M` | Mute/unmute current chat | |
| 28 | + |
| 29 | +## π₯ Download & Installation |
| 30 | + |
| 31 | +### Method 1: Download AppImage (Recommended) |
| 32 | +1. Go to [Releases](../../releases) |
| 33 | +2. Download the latest `WhatsApp Web-X.X.X.AppImage` |
| 34 | +3. Make it executable: `chmod +x WhatsApp\ Web-*.AppImage` |
| 35 | +4. Run it: `./WhatsApp\ Web-*.AppImage` |
| 36 | + |
| 37 | +### Method 2: Build from Source |
| 38 | +```bash |
| 39 | +# Clone the repository |
| 40 | +git clone https://github.com/codeXpedite/whatsapp-desktop-linux.git |
| 41 | +cd whatsapp-desktop-linux |
| 42 | + |
| 43 | +# Install dependencies |
| 44 | +npm install |
| 45 | + |
| 46 | +# Build AppImage |
| 47 | +npm run build-linux |
| 48 | + |
| 49 | +# AppImage will be created in dist/ folder |
| 50 | +``` |
| 51 | + |
| 52 | +## π Usage |
| 53 | + |
| 54 | +### First Run |
| 55 | +1. Launch the application |
| 56 | +2. Scan QR code with your phone's WhatsApp |
| 57 | +3. Start chatting! |
| 58 | + |
| 59 | +### System Tray |
| 60 | +- **Left-click tray icon**: Show/hide window |
| 61 | +- **Right-click tray icon**: Context menu with options |
| 62 | +- **Close button**: Minimizes to tray (doesn't quit) |
| 63 | + |
| 64 | +### Notifications |
| 65 | +- Automatic desktop notifications for unread messages |
| 66 | +- Only shows when app is not focused |
| 67 | +- Respects system notification settings |
| 68 | + |
| 69 | +## π οΈ Development |
| 70 | + |
| 71 | +### Prerequisites |
| 72 | +- Node.js 16+ |
| 73 | +- npm or yarn |
| 74 | + |
| 75 | +### Setup |
| 76 | +```bash |
| 77 | +git clone https://github.com/codeXpedite/whatsapp-desktop-linux.git |
| 78 | +cd whatsapp-desktop-linux |
| 79 | +npm install |
| 80 | +``` |
| 81 | + |
| 82 | +### Scripts |
| 83 | +```bash |
| 84 | +npm start # Run in development mode |
| 85 | +npm run build # Build for current platform |
| 86 | +npm run build-linux # Build AppImage for Linux |
| 87 | +``` |
| 88 | + |
| 89 | +### Project Structure |
| 90 | +``` |
| 91 | +whatsapp-desktop-linux/ |
| 92 | +βββ main.js # Main Electron process |
| 93 | +βββ preload.js # Preload script |
| 94 | +βββ package.json # Project configuration |
| 95 | +βββ assets/ # Application icons |
| 96 | +βββ scripts/ # Build scripts |
| 97 | +βββ dist/ # Built AppImages |
| 98 | +``` |
| 99 | + |
| 100 | +## π§ Configuration |
| 101 | + |
| 102 | +### Auto-Updates |
| 103 | +Auto-updates are enabled by default. The app checks for updates on startup and notifies you when updates are available. |
| 104 | + |
| 105 | +To configure updates, modify the `publish` section in `package.json`: |
| 106 | + |
| 107 | +```json |
| 108 | +{ |
| 109 | + "publish": { |
| 110 | + "provider": "github", |
| 111 | + "owner": "codeXpedite", |
| 112 | + "repo": "whatsapp-desktop-linux" |
| 113 | + } |
| 114 | +} |
| 115 | +``` |
| 116 | + |
| 117 | +### Custom Settings |
| 118 | +The app stores settings in standard locations: |
| 119 | +- **Linux**: `~/.config/whatsapp-web-wrapper/` |
| 120 | + |
| 121 | +## β Troubleshooting |
| 122 | + |
| 123 | +### Common Issues |
| 124 | + |
| 125 | +**Q: App won't start / Sandbox errors** |
| 126 | +A: This has been fixed! The app automatically handles sandbox issues. |
| 127 | + |
| 128 | +**Q: Notifications not working** |
| 129 | +A: Check your system notification permissions and ensure the app has notification access. |
| 130 | + |
| 131 | +**Q: Keyboard shortcuts not working** |
| 132 | +A: Make sure the WhatsApp window has focus when using shortcuts. |
| 133 | + |
| 134 | +**Q: System tray not visible** |
| 135 | +A: Ensure your desktop environment supports system tray icons. |
| 136 | + |
| 137 | +### Debug Mode |
| 138 | +Run with environment variable for debugging: |
| 139 | +```bash |
| 140 | +DEBUG=1 ./WhatsApp\ Web-*.AppImage |
| 141 | +``` |
| 142 | + |
| 143 | +## π€ Contributing |
| 144 | + |
| 145 | +Contributions are welcome! Please feel free to submit a Pull Request. |
| 146 | + |
| 147 | +### Development Guidelines |
| 148 | +1. Fork the repository |
| 149 | +2. Create a feature branch |
| 150 | +3. Make your changes |
| 151 | +4. Test thoroughly |
| 152 | +5. Submit a pull request |
| 153 | + |
| 154 | +## π License |
| 155 | + |
| 156 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 157 | + |
| 158 | +## β οΈ Disclaimer |
| 159 | + |
| 160 | +This is an unofficial WhatsApp client. WhatsApp is a trademark of Meta Platforms, Inc. This project is not affiliated with or endorsed by Meta Platforms, Inc. |
| 161 | + |
| 162 | +## π Acknowledgments |
| 163 | + |
| 164 | +- Built with [Electron](https://electronjs.org/) |
| 165 | +- Inspired by various WhatsApp desktop clients |
| 166 | +- Community feedback and contributions |
| 167 | + |
| 168 | +## π Support |
| 169 | + |
| 170 | +- π **Bug Reports**: [Create an issue](../../issues) |
| 171 | +- π‘ **Feature Requests**: [Create an issue](../../issues) |
| 172 | +- π¬ **Discussions**: [GitHub Discussions](../../discussions) |
| 173 | + |
| 174 | +--- |
| 175 | + |
| 176 | +**Made with β€οΈ for the Linux community** |
0 commit comments