Skip to content
المشاريع

حول

Unofficial Qt desktop app for the Proton VPN Linux CLI

الأنظمة والبنية التحتية

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+١
خلال شهر
+٣

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

ProtonVPN Qt App

A Qt GUI front-end for the Proton VPN Linux CLI.

Disclaimer: This project is an independent community effort and is in no way affiliated with, endorsed by, or associated with Proton AG or any of its products. "Proton" and "ProtonVPN" are trademarks of Proton AG.


Packaging status

Features

General

  • One-click connect / disconnect with a large power button and system tray controls
  • Detects an existing connection on launch using protonvpn status and shows the server you're connected to, plus your new IP address after connecting from the app
  • Background polling (every 30 seconds by default, adjustable or off under Settings > App > Advanced): detects external state changes (CLI disconnect, reconnect, or location switch) and updates the UI without any user action
  • Sign in with your password plus an authenticator code or a security key (U2F/FIDO2)
  • Animated globe behind the power button that turns to face the country you connect to
  • Split view for wide windows: from 1200 px wide, the countries appear beside the main page (up to a third of its width) as a grid of flag cards above the selected country's servers; the Countries button still opens the full-size page
  • Quick settings beside the main page when it is wide enough: up to 12 settings of your choice (right-click any setting in Settings to add or remove it, or one in the quick settings to remove it), IPv6, Kill Switch, NAT Type, NetShield, Port Forwarding, Globe Animation and the main page's show/hide switches by default; they stay in the split view
  • Proton-inspired dark and light themes, or follow your desktop's light/dark setting live
  • Confirmation dialog when quitting while the VPN is active: leave it running or disconnect cleanly
  • Single-instance protection to prevent duplicate launches
  • Checks for new versions on startup and shows what's new after an update
  • Optional log files for troubleshooting
  • A D-Bus status interface for scripts and widgets (see D-Bus Interface)
  • Informational banners for CLI version mismatches and pre-release builds

Free & Plus Plan Awareness

  • Detects the user's plan (Free or Plus) at login and on launch
  • Account page shows plan type (Free / VPN Plus) with a direct upgrade link for Free users
  • Countries page: the Connect button is locked with a tooltip for Free users, since Proton picks the server automatically
  • VPN page: location picker is disabled for Free users (forbidden cursor + tooltip); recent connections picker is hidden
  • Settings page: Plus-only features (NAT Type, VPN Accelerator, NetShield, Port Forwarding, Custom DNS, Recent Connections, Favorites) are grouped under a ✦ Available to Plus Members divider and rendered at reduced opacity for Free users

Location & Country Selection (Plus)

  • Browse and search countries and cities with feature tags (P2P, Tor, Secure Core, etc.)
  • Country flags throughout; your own country, detected from your system's time zone or locale, is selected by default on the Countries page in wider windows
  • Location picker on the main VPN page: choose the fastest server or a specific city, with country flag and feature icons
  • Recent connections picker: quick access to previously used locations, with configurable history depth
  • Favorites: save locations and pick them from a Favorites dropdown on the main page
  • Right-click any location, in the Countries list or the main page's dropdowns, to add it to Favorites or take it out, or to open its Properties: where it is, its features, whether you have connected there, and each of its servers with load, plan, features, status and addresses (from the CLI's server list)

Settings

App tab

  • Launch on Startup via XDG autostart, with optional Auto-connect (to the fastest server, or (Plus) any country or city picked from the same list as the Countries page) and Start Hidden
  • Close to Tray
  • Desktop Notifications for connect/disconnect events, and Check for Updates on Startup
  • (Plus) Recent Connections count (0–20) and Favorites, each with a one-click clear
  • Write Logs to File
  • Verbose Logging: extra detail in the log, such as every server and node behind a location's Properties; launching with --verbose (or -v) turns it on for one run

Appearance tab

  • Theme: System Settings, Dark, or Light
  • Globe Animation (Auto, On, or Off; Auto follows your desktop's reduce-motion setting) and Pause When Unfocused
  • Show or hide the Countries list and the Quick Settings beside the main page, and restore the default quick settings
  • Show or hide the Selected Location and Favorites dropdowns on the main page

VPN tab

  • Anonymous Crash Reports, IPv6, Kill Switch: available on all plans
  • (Plus) NAT Type, VPN Accelerator, NetShield Ad-blocker, Port Forwarding, Custom DNS

Port Forwarding (Plus)

When Port Forwarding is enabled in Settings and you are connected to a P2P server, the app automatically manages the NAT-PMP lease using natpmpc:

  • The forwarded port number is displayed on the main VPN page with a one-click Copy button for easy use with torrent clients (e.g. Transmission, qBittorrent)
  • A keep-alive loop runs every 45 seconds to renew the 60-second NAT-PMP lease, so the port stays valid as long as the app is open
  • If the app is closed while port forwarding is active, the lease will lapse within 60 seconds. A warning is shown in the quit dialog when this applies
  • If natpmpc is not installed, a banner is shown when you connect to a P2P server with port forwarding enabled. Install it with:
    • Debian / Ubuntu: sudo apt install natpmpc
    • Fedora: sudo dnf install libnatpmp
    • Arch: sudo pacman -S libnatpmp

The Flatpak includes natpmpc, so there's nothing to install there. natpmpc is an optional dependency; users who do not use port forwarding are unaffected by its absence.


Screenshots

Main Page

Main page full screen, with the Countries list and quick settings
Main page narrow Main page normal width

Country List

Country list narrow Country list wide

Account Page

Account page

Settings Page

Settings: App tab 1 Settings: App tab 2
Settings: Appearance tab Settings: VPN tab

Installation

  • Arch Linux: install proton-vpn-qt-app from the AUR.
  • Any distro: download an AppImage, a Flatpak bundle, or the plain binary from the latest release. The release notes list every file; in short:
    • The Standalone AppImage includes the Proton VPN CLI, so there's nothing else to install. A compat build is available for older x86_64 CPUs without AVX2.
    • The Lite AppImage, the Flatpak bundle, and the binary (.tar.gz) need the Proton VPN CLI installed on your system.
    • Everything is available for x86_64 and ARM64 (aarch64), except the compat AppImage and the binary, which are x86_64 only.

Requirements

Dependency Purpose
protonvpn CLI Core VPN control: sign in, connect, disconnect, status, country/city lists, settings (the Standalone AppImage includes it)
Qt 6.7 or newer (Core, Gui, Widgets, Network, DBus, Svg, SvgWidgets) UI framework
natpmpc (libnatpmp) Optional: port forwarding (the Flatpak includes it)
nmcli (NetworkManager) Optional: lets Auto-connect at login wait for the network to come up
xdg-open (xdg-utils) Optional: opens the releases page from the update prompt
XDG autostart (~/.config/autostart/) Optional: required for the "Launch on Startup" feature; supported by all major desktop environments

All VPN control goes through the protonvpn CLI; the app has no VPN or network logic of its own. The only network request it makes itself is the optional update check, which reads the latest version number from this repository.

[!WARNING] The official Proton VPN GTK app is not supported alongside this app and will cause problems. Both apps will conflict over connection state and session management. The CLI will produce errors when two front-ends are running at the same time. If you have the GTK app installed, it is advised that you uninstall it before using this app.


Building

git clone https://github.com/wheat32/proton-vpn-qt-app.git
cd proton-vpn-qt-app/src
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel

The resulting binary is build/proton_vpn_qt. Building needs CMake 3.21 or newer, a C++23 compiler, and Qt 6.7 or newer.

Dependencies: Arch Linux

sudo pacman -S qt6-base qt6-svg cmake ninja

Dependencies: Ubuntu / Debian

These need a release whose Qt is 6.7 or newer; Ubuntu 24.04's Qt 6.4 is too old.

sudo apt install qt6-base-dev qt6-svg-dev libqt6svg6-dev cmake ninja-build

Usage

./build/proton_vpn_qt

The app requires the protonvpn CLI to be installed and accessible in your PATH. See the Proton VPN Linux documentation for installation instructions.


D-Bus Interface

While running, the app registers a D-Bus service on the session bus that any other application or script can query.

Value
Service com.protonvpn.app
Object path /com/protonvpn/app
Interface com.protonvpn.app.Status

Properties (read-only)

Property Type Description
Status string Current VPN state: connected, connecting, disconnected, disconnecting, error, or unknown
ConnectedServer string Active server name (e.g. US-NJ#189) while connected; empty otherwise

Signals

Signal Arguments Description
StatusChanged status: string Emitted on every VPN state transition

Example usage

# Read current status
gdbus call --session \
  --dest com.protonvpn.app \
  --object-path /com/protonvpn/app \
  --method org.freedesktop.DBus.Properties.Get \
  com.protonvpn.app.Status Status

# Read all properties at once
gdbus call --session \
  --dest com.protonvpn.app \
  --object-path /com/protonvpn/app \
  --method org.freedesktop.DBus.Properties.GetAll \
  com.protonvpn.app.Status

# Monitor live state change signals
gdbus monitor --session --dest com.protonvpn.app

# Introspect the full interface
gdbus introspect --session \
  --dest com.protonvpn.app \
  --object-path /com/protonvpn/app

Author & Credits


Contributing

See CONTRIBUTING.md.


License

GPLv3

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…