Skip to content

Instantly share code, notes, and snippets.

View pminhtam's full-sized avatar

Minh Tâm pminhtam

View GitHub Profile
@pminhtam
pminhtam / cliproxyapi-plus-installer
Created April 23, 2026 06:48
cliproxyapi-plus-installer
#!/bin/bash
# CLIProxyAPI Linux Installer
# Linux-specific script that installs, upgrades, and manages CLIProxyAPI
# Downloads, installs, and upgrades CLIProxyAPI while preserving configuration
set -euo pipefail
# Configuration
REPO_OWNER="router-for-me"
function FindProxyForURL(url, host)
{
//
//Exclude FTP from proxy
//
if (url.substring(0, 4) == "ftp:")
{
return "DIRECT";
}
//