Several WhatsApp Web accounts, or any other web app, side by side in one small Rust app.
A proof-of-concept remake of Ferdium, built with Tauri 2.
Download · Results · Features · Known limits · Build
Warning
Proof of concept, not actively maintained. rustium was built out of experimental interest and vibe-coded with the help of Claude, Anthropic's AI assistant. The code was largely written by AI and has not had a thorough human review. Use it at your own risk.
Issues are welcome, and I may look into them, but only in my spare time. There is no guarantee of a reply or a fix.
Illustration with a generic example chat app and made-up messages. In real use, WhatsApp Web or another web app fills the area next to the sidebar.
Ferdium bundles web messengers into one window, but as an Electron app it ships its own copy of Chromium. With several WhatsApp accounts that adds up to gigabytes of memory.
rustium asks a simple question: does a Rust shell on the system's own web engine use less memory?
- It rebuilds Ferdium's core idea from scratch. It contains no Ferdium code and is not affiliated with the Ferdium project.
- It was built with WhatsApp Web in mind, but a service is just a name and an
https://URL, so any web app works. - It uses WKWebView on macOS, WebView2 on Windows and WebKitGTK on Linux. The Windows installer is 2.4 MB, the macOS disk image under 4 MB.
| Windows 10 | macOS 26 | |
|---|---|---|
| rustium vs. Ferdium | about 40% less (680 vs. 1,141 MB) | about 25% more (1,408 vs. 1,140 MB) |
| rustium vs. the official WhatsApp app | about 27% less (680 vs. 935 MB) | about 6.5 times as much (1,408 vs. 215 MB) |
| Why | All three run WhatsApp Web on Chromium (the official app uses WebView2 too), so rustium's lighter shell wins. | Apple's WebKit needs about 1.8 times as much memory as Chromium for WhatsApp Web, and the official app is native, with no web page at all. |
So on Windows rustium is the lightest of the three. On macOS the native WhatsApp app wins by far.
How it was measured, with the full numbers
The same WhatsApp account was freshly logged in to all three apps, which were then left idle for a few minutes.
macOS 26 on a MacBook Pro (M1 Pro, 16 GB), physical footprint as Activity Monitor counts it, summed over each app's processes:
| App | Total | WhatsApp page | The app itself |
|---|---|---|---|
| WhatsApp (official native app) | 215 MB | (no web page) | 190 MB |
| Ferdium | 1,140 MB | 671 MB (Chromium) | about 470 MB |
| rustium 0.1.0 | 1,408 MB | 1,217 MB (WebKit) | about 190 MB |
Windows 10 (AtlasOS) on a Dell Latitude 5490 (Intel Core i5-8350U, 16 GB DDR4), private working set as Task Manager counts it, measured with scripts/measure-memory.ps1:
| App | Total | WhatsApp page | The app itself |
|---|---|---|---|
| WhatsApp (official app, WebView2-based) | 935 MB | 631 MB (WebView2) | about 300 MB |
| Ferdium | 1,141 MB | 579 MB (Electron's Chromium) | about 560 MB |
| rustium 0.1.0 | 680 MB | 433 MB (WebView2) | about 250 MB |
The WhatsApp app was measured in a second run, because it was not logged in during the first one. Windows lowers the working set of minimized windows, so compare the apps in the same window state.
Click + in the sidebar to add or remove services. Rendered from the app's own UI with sample services.
- Isolated accounts. Each service runs in its own webview with separate cookies and storage, so several accounts of the same messenger can be logged in at once.
- Unread badges. The sidebar shows unread counts, read from the page title (for example
(3) WhatsApp). - Native notifications. Web notifications become OS notifications, prefixed with the service name.
- Always on. Hidden services stay loaded and keep receiving messages. Closing the window keeps rustium running in the tray.
- Voice messages and calls. Microphone and camera work for the service's own site. macOS asks once for permission the first time a page uses them.
- Downloads and drag and drop. Files save to your Downloads folder, and you can drag files into a chat.
- Locked down. Web pages can only send notifications to the app, nothing else.
Get the latest build from the releases page.
| System | File | Requires |
|---|---|---|
| Windows | rustium_<version>_x64-setup.exe or .msi |
Windows 10 or later with WebView2 |
| macOS (Apple Silicon) | rustium_<version>_aarch64.dmg |
macOS 14 or later |
| macOS (Intel) | rustium_<version>_x64.dmg |
macOS 14 or later |
| Linux | .AppImage, .deb or .rpm |
WebKitGTK 4.1 |
Note
The builds are not code-signed. On Windows, SmartScreen warns: click More info, then Run anyway. On macOS, if the app cannot be opened, go to System Settings > Privacy & Security and click Open Anyway.
- On first start rustium opens one WhatsApp Web service. Scan the QR code with your phone.
- Click + at the bottom of the sidebar to add a service: a name and an
https://URL, which defaults to WhatsApp Web. - Remove a service in the same panel. This logs it out right away and deletes its stored data on the next start.
Services are saved in services.json in the app's config directory.
- Permission prompts after updates. The builds are not signed, so macOS may ask again for microphone and camera access after each update. To reset a stuck permission:
tccutil reset Microphone io.github.prevoshd.rustium(orCamera). - Browser banner. WhatsApp Web may show a banner recommending another browser, because rustium presents itself as Safari. Click OK to hide it.
- Notification clicks do not focus the window or switch to the service yet.
- Linux layout is broken. Child webviews ignore their position there, so the sidebar does not get its fixed width.
- Windows: each service gets its own WebView2 browser process, because Tauri does not expose WebView2 profiles yet. Several accounts therefore cost more than they would with shared profiles.
- Background throttling of hidden services can only be turned off on macOS. On Windows and Linux it is not yet verified that hidden services notify reliably.
flowchart LR
subgraph window["rustium window"]
sidebar["Sidebar<br/>(local HTML)"]
a["WhatsApp: Private<br/>own cookies and storage"]
b["WhatsApp: Business<br/>own cookies and storage"]
end
core["Rust core<br/>(Tauri 2)"]
os["OS notifications,<br/>Dock badge"]
sidebar -- "add, remove, switch" --> core
a -- "notify only" --> core
b -- "notify only" --> core
core -- "unread counts from page titles" --> sidebar
core --> os
Each service is a child webview with its own data store. A small script inside each page replaces the browser's notification API and forwards notifications to the Rust core. Tauri's permission system lets remote pages call only that one command.
There is no npm or frontend build step. The UI in ui/ is plain HTML that Tauri embeds at compile time.
-
Install Rust with rustup.
-
On Linux, install the WebKitGTK and tray dependencies. On Debian or Ubuntu:
sudo apt update sudo apt install libwebkit2gtk-4.1-dev build-essential curl wget file \ libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev
For other distributions, and for the macOS and Windows prerequisites, see the Tauri prerequisites.
-
Run a development build:
git clone https://github.com/PrevosHD/rustium.git cd rustium cargo run -
Build installable bundles with the Tauri CLI. They are written to
target/release/bundle/.cargo install tauri-cli --version "^2" --locked cargo tauri build