VPNer is a terminal-based launcher for managing and switching between different proxy configurations for sing-box. It provides an interactive menu to select configurations and handles process management for the proxy connections.
- Interactive terminal menu with keyboard navigation
- Linux system
sing-box
installed and in your PATHcJSON
library for JSON parsing
- Clone the repository
git clone https://github.com/rmntgx/vpner.git
- Download and install cJSON
- Compile the program:
make
- Install the binary
sudo make install
VPNer looks for its configuration file at:
$XDG_CONFIG_HOME/vpner/configs.json
or~/.config/vpner/configs.json
Create a JSON file with your VPN configurations.
Example configs.json
file:
{
"configs": [
{
"name": "Example server 1",
"path": "/home/user/vpn_configs/example_config_1.json"
},
{
"name": "Example server 2",
"path": "/home/user/vpn_configs/example_config_2.json"
}
]
}
- Up Arrow/k: Move selection up
- Down Arrow/j: Move selection down
- Enter: Select configuration
- q/Ctrl+C: Quit without selection