Skip to content

Instantly share code, notes, and snippets.

@Howell5
Howell5 / surge.conf
Created March 29, 2026 07:15
Surge Config: AI Services SOCKS5 proxies & routing rules
# Surge Config - based on neoproxy.me with AI Services additions
[General]
loglevel = notify
dns-server = system
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 127.0.0.1, localhost, *.local
proxy-test-url = http://www.gstatic.com/generate_204
# macOS
interface = 0.0.0.0
socks-interface = 0.0.0.0
#!/usr/bin/env node
const { exec } = require('child_process');
function getCurrentTag() {
return new Promise((resolve, reject) => {
exec(
"git ls-remote --sort='version:refname' --tags | awk '/^.*tags\\/v[0-9]+\\.[0-9]+\\.[0-9]+$/{print $2}' | tail -n1",
(err, stdout) => {
if (err) {