Desktop integration for messaging apps on Linux.
Loft provides full desktop integration for WhatsApp, Facebook Messenger, Slack, Telegram, Element and NextCloud Talk on Linux, including voice and video calling, system tray icons, badge counts, and close-to-tray behavior.
Loft is a self-contained Electron app — no separate browser to install or manage. Voice/video calling and screen-sharing use Electron's own bundled Chromium, while Loft's own tray, notification, and window-management code (not a browser extension) provides the desktop integration a plain web app can't.
Note
This project voluntarily adheres to The Friendly Manifesto. Read more here
- Voice and video calling, and screen sharing
- A single tray icon covering every running service, with unread badge counts (SNI and native GNOME panel backends)
- Close-to-tray (window hides, app stays running)
- Do Not Disturb — global, per-service, or automatically following the system's own DND setting
- Desktop notifications with app icons and click-to-navigate
- Autostart at login, per service (opens minimized to tray)
- Its own isolated login/session per service (no shared browser profile)
- GNOME Shell integration (focus/hide bypasses focus-stealing prevention, hides minimized windows from alt-tab/overview/dock) and KDE Plasma integration (KWin scripting for the same)
- Pin chats (or group messages/channels) to bubbles
- Zoom controls
| Service | URL |
|---|---|
| https://web.whatsapp.com/ | |
| Facebook Messenger | https://www.facebook.com/messages/ |
| Slack | https://app.slack.com/client/ |
| Telegram | https://web.telegram.org/a/ |
| Element (Matrix) | https://app.element.io/ (or self-hosted) |
| NextCloud Talk | self-hosted (your instance URL) |
Element and NextCloud Talk are self-hostable: set your instance's URL in the service's settings in the Loft hub. Element defaults to app.element.io; NextCloud Talk has no public server, so its URL is required.
- Linux with a GNOME or KDE Plasma desktop (other desktop environments may work via the generic SNI tray, but window focus/hide integration targets GNOME and KDE specifically)
Google Chrome is not required — Loft bundles everything it needs.
flatpak install chat.loft.LoftAvailable as a standalone .flatpak bundle and on FriendlyHub.
Pre-built packages are available on the releases page.
Requires Node.js (see package.json devDependencies for the toolchain versions currently in use) and npm.
npm ci
npm run build
npm startTo build the DEB/RPM/AppImage packages:
npm run distTo build a local Flatpak bundle from the from-source manifest at the repo root:
flatpak-builder --user --force-clean --repo=.flatpak-repo build-dir chat.loft.Loft.yml
flatpak build-bundle .flatpak-repo Loft.flatpak chat.loft.LoftSee flatpak/README.md for the manifest layout and how to regenerate the offline Node sources.
Work is written up under ## [Unreleased] at the top of CHANGELOG.md as it lands, never under a version heading. Cutting a release is what turns that section into a version.
Releases are built by .github/workflows/release.yml:
-
Make one commit,
chore: update versions to X.Y.Z, that changes all of these together:package.jsonandpackage-lock.json:npm version X.Y.Z --no-git-tag-versionsets both.CHANGELOG.md: rename## [Unreleased]to## [X.Y.Z] - <date>and open a fresh empty## [Unreleased]above it.data/chat.loft.Loft.metainfo.xml: add a matching<release>with a short description and a real date. The CI AppStream validation step rejects a placeholder date on tag builds.chat.loft.Loft.yml: point the app source'stag:atvX.Y.Z. This is the manifest FriendlyHub builds, and it fetches exactly that tag.
tests/flatpakManifest.test.tsfails unlesspackage.json, the manifest's tag and the newest metainfo<release>all name the same version, so runnpm testbefore committing.generated-sources.json(the Flatpak's offline npm sources) only needs regenerating withflatpak-node-generatorwhen dependencies inpackage-lock.jsonchange. A version bump alone does not count. -
Push the commit, then create an annotated tag and push it:
git tag -a vX.Y.Z -m "vX.Y.Z"andgit push origin vX.Y.Z. -
GitHub Actions checks out the tag, runs the test/typecheck suite, builds the DEB/RPM/AppImage packages (
electron-builder) and the Flatpak bundle (flatpak-builder, from the committed offline sources), lifts the## [X.Y.Z]changelog section into the release notes (scripts/changelogSection.mjs), and publishes all four artifacts to a GitHub Release for that tag. The release-notes step runs only after every package is built, so if the section is still headed[Unreleased]the run fails at the very end, on a tag that is already pushed. Check the rename before tagging. -
Submit the Flatpak to FriendlyHub by hand:
chat.loft.Loft.ymlplus its companiongenerated-sources.json, from the tagged commit. FriendlyHub's builder has nothing but those files, which is why the manifest's app source istype: gitpinned to the tag.
A manual workflow_dispatch run (no tag) builds the same artifacts as a rolling prerelease, skipping the strict AppStream validation gate. It is useful for a preview build without cutting a real version.
# Launch the hub (manager window)
loft
# Open a service directly
loft --service=whatsapp
loft --service=messenger
loft --service=slack
loft --service=telegram
loft --service=element
loft --service=talk
# Start minimized to tray
loft --service=whatsapp --minimized
# All of the above route to the same running instance if Loft is already openLoft is one Electron app that hosts every installed service in-process — no separate daemon per service, and no external Chrome to launch:
- Hub window — a Svelte-based manager UI for adding/removing services and per-service/global settings
- A frameless window per running service — its own titlebar (icon, name, zoom, close-to-tray) above a
WebContentsViewthat renders the web app using Electron's bundled Chromium - Sandboxed preloads (one per service) — extract badge counts, intercept notifications, and strip page chrome; this replaces the browser-extension approach entirely, so self-hosted Element/NextCloud Talk instances work with no extra setup
- A single tray icon (SNI or native GNOME panel) covering every running service, and a hand-rolled D-Bus client that talks directly to
org.freedesktop.Notifications - GNOME Shell / KWin integration — bypasses focus-stealing prevention and hides minimized Loft windows from alt-tab, overview, and dock/taskbar
Each service gets its own isolated session (login, cookies, storage) and a .desktop launcher; the whole app exposes one D-Bus interface (chat.loft.Loft) with per-service control objects.
This project is licensed under the GNU General Public License v3.0 or later. See LICENSE for details.