franz chat app
Could Epiphany Be Used To Build Apps Like Franz?

The latest release of GNOME Web — also known as ‘Epiphany’ — enables system web apps to run on desktops other than GNOME.

The change could allow developers to package and distribute installable web application runtime using Epiphany.

The hope is that by widening access to Web’s web-app features it can attract developers who might otherwise build and package their apps using the Chromium-based Electron.

Explaining more in his commit, developer Michael Catanzaro says:

“Expect system web apps to pass the desktop file path via the command line using the existing –application-mode flag, rather than requiring that Epiphany be started via Gio.

This allows Epiphany to compete with Electron as a choice for running web apps that work outside GNOME.

It also breaks any existing system web apps, but that’s probably fine as this feature is new in 3.20 and I’m not aware of anybody using it yet.”

GNOME devs say they ‘might change this “API” prior to the 3.22 release’ as it’s ‘not very good’, so if you were planning on taking advantage of it to build your own personal Messenger, WhatsApp or Telegram client, you may want to keep tabs on upstream developments.

For now, assuming you’re running the latest upstream version of Web (and if you’re unsure whether you are the answer is “you’re obviously not”) you can edit your desktop file to skip GIO, copied over from the Bugzilla ticket:

Here’s an example Exec line you can use, for a desktop file named “fedora-developer-portal.desktop”:

Exec=epiphany --application-mode=fedora-developer-portal.desktop /usr/share/fedora-developer-portal/index.html

The argument to –application-mode just has to match the name of the desktop file.

Other changes to feature in the Epiphany 3.21.3 snapshot (and likely to appear in GNOME Web 3.22 later this year) include:

  • Web inspector can be opened with CTRL+SHIFT+I
  • Download popover only shows on active window
  • System web apps can run outside of GNOME
  • Web-app specific user agent string
  • Improved web app name detection
  • Support for larger web-app icons (192px)
  • Support large standard HTML icons and SVG for web app icons
  • Middle-clicking the title bar no longer sends Epiphany to the background
Electron epiphany franz gnome 3.22 gnome web webapps