Skip to content
项目

关于

A wireguard client GUI for Linux made with nextauri

系统与基础设施

这些数字如何统计

可以做什么

  • List all profile
  • Add a new profile
  • Remove a profile
  • Start a profile

实测星标增长

24小时
0
7天
+2
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Wireguard GUI

❤️ Made with love with Nextauri ❤️

Stars Rust Typescript Discord

Eslint & Clippy Build

Snapcraft

GitHub Release

What is Wireguard GUI ?

Wireguard GUI is a Linux application that allow you to manage your Wireguard VPN configuration.

Features

  • List all profile
  • Add a new profile
  • Edit a profile
  • Remove a profile
  • Start a profile
  • Stop a profile
  • Import a profile
  • Export a profile

Motivation

I didn't found any GUI application that allow me to manage my Wireguard VPN configuration.
I wanted to make an application with nextauri since a while, so i took this opportunity to make it.

Pre-requisites

In order to work properly, the application needs the following dependencies:

sudo apt-get install libwebkit2gtk-4.1-0 libayatana-appindicator3-1 iproute2 wireguard-tools pkexec resolvconf -y

The .deb package installs its required dependencies automatically. AppImage users need to install them on the host. NetworkManager is recommended; when available, the application uses nmcli to manage connections. Otherwise it uses wg-quick and requests administrator authorization through pkexec.

Installation

Install from Releases:

Release are currently available as .deb package for Debian/Ubuntu or Appimage for others distro.

Install from AUR:

yay -S wireguard-gui-bin

Install with Nix (Linux):

nix run github:0xle0ne/wireguard-gui

To build a local checkout, run nix build. Enable NetworkManager on the host (for NixOS, networking.networkmanager.enable = true;) to manage WireGuard connections through nmcli. Host networking and authorization services are required even when the application itself is installed with Nix.

Developing

Be sure you have NodeJS and Rust installed on your system

  1. See Tauri prerequisites to prepare your system to build Tauri

  2. Clone or fork this repository

    git clone https://github.com/0xle0ne/wireguard-gui
    cd wireguard-gui
    
  3. Install node dependencies

    npm install
    

To get started you only need one command

npm run dev

E2E tests (WebDriver)

This project includes Tauri end-to-end tests powered by WebdriverIO and @wdio/tauri-service.

On Linux, install WebKit WebDriver support first:

sudo apt-get install webkit2gtk-driver -y

Build the debug app binary (without .deb/.rpm bundles) and run tests:

npm run e2e

Or run each step manually:

npm run e2e:build
npm run e2e:test

Production

To build only the production app binary in a single command (no .deb / .rpm / .appimage bundles):

npm run build

Documentation

To learn more about Tauri and Next.js, take a look at the following resources:

Troubleshooting

Error: NetworkManager is not running.

You need to connect the snap to network manager

sudo snap connect wireguard-gui:network-manager :network-manager

探索相关项目

加载中…