Skip to content

FroggerHH/adguard-vpn-indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdGuard VPN Tray Indicator

English | Русский


⚠️ Warning!

This project was written with the help of AI. I don't know Go. The code was created to solve a specific problem and might not follow all best practices.

A simple tray indicator app for Linux that lets you manage adguardvpn-cli. It provides a basic GUI to connect, disconnect, and view the status, since there is no official GUI for Linux.

Features

  • Displays an icon in the system tray.
  • Shows the current connection status and location.
  • A "Connect" button if the VPN is disconnected, and a "Disconnect" button if it's connected.

It connects to the fastest available location, equivalent to running adguardvpn-cli connect -f.

Requirements

  1. AdGuard VPN CLI: The adguardvpn-cli utility must be installed, and you must be logged into your account.
  2. Go: Version 1.18 or newer.
  3. Terminal: x-terminal-emulator is used to enter the sudo password when connecting.
  4. System Libraries (for Debian/Ubuntu):
    sudo apt-get install build-essential libgtk-3-dev libappindicator3-dev
  5. You are expected to have already logged into your AdGuard account using adguardvpn-cli login.

Building

  1. Clone the repository:

    git clone https://github.com/FroggerHH/adguard-vpn-indicator.git
    cd adguard-vpn-indicator
  2. Build the binary:

    go build

Usage

  1. Run the compiled application:

    ./adguard-vpn-indicator
  2. For debugging, you can run it with the -v flag for verbose logging in the console:

    ./adguard-vpn-indicator -v

After launching, an icon will appear in the system tray. Right-click on it to see the status and control menu.

About

Tray controll adguard cli on Linux

Topics

Resources

License

Stars

Watchers

Forks

Languages