This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
async fetch(request) { | |
const url = new URL(request.url); | |
const path = url.pathname.replace(/^\/+/, ""); | |
const parts = path.split("/"); | |
if (parts.length < 4) { | |
return new Response("Usage: /owner/repo/branch/path/to/file.ext", { status: 400 }); | |
} | |
const [owner, repo, branch, ...filePathParts] = parts; | |
const filePath = filePathParts.join("/"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"remarks": "aleskxyz", | |
"dns": { | |
"queryStrategy": "UseIPv4", | |
"hosts": { | |
"geosite:google": "www.google.com" | |
}, | |
"servers": [ | |
"194.225.62.80" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTo1MXlsb1FDOEQ5dzFXYWU3Rkh0STY1@azure-sto.edgeservers.org:48172/?POST%20#Ainita2 | |
ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTo1MXlsb1FDOEQ5dzFXYWU3Rkh0STY1@azure-sto.edgeservers.org:48172/?POST%20#Ainita3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92.243.74.0/24 | |
185.148.106.0/24 | |
77.232.142.0/24 | |
194.76.18.0/24 | |
31.43.179.0/24 | |
194.59.5.0/24 | |
45.80.111.0/24 | |
45.135.235.0/24 | |
38.180.154.0/24 | |
13.36.140.0/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"inbounds": [{ | |
"port": "PORTPORT", | |
"listen": "127.0.0.1", | |
"tag": "socks-inbound", | |
"protocol": "socks", | |
"settings": { | |
"auth": "noauth", | |
"udp": false, | |
"ip": "127.0.0.1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var FindProxyForURL = function(init, profiles) { | |
return function(url, host) { | |
"use strict"; | |
var result = init, scheme = url.substr(0, url.indexOf(":")); | |
do { | |
result = profiles[result]; | |
if (typeof result === "function") result = result(url, host, scheme); | |
} while (typeof result !== "string" || result.charCodeAt(0) === 43); | |
return result; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var FindProxyForURL = function(init, profiles) { | |
return function(url, host) { | |
"use strict"; | |
var result = init, scheme = url.substr(0, url.indexOf(":")); | |
do { | |
result = profiles[result]; | |
if (typeof result === "function") result = result(url, host, scheme); | |
} while (typeof result !== "string" || result.charCodeAt(0) === 43); | |
return result; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dns" : { | |
"disableCache" : true, | |
"disableFallback" : false, | |
"disableFallbackIfMatch" : false, | |
"queryStrategy" : "UseIP", | |
"servers" : [ | |
{ | |
"address" : "8.8.8.8", | |
"skipFallback" : false |