MCPcopy Create free account

hub / github.com/bia-pain-bache/BPB-Worker-Panel / functions

Functions256 in github.com/bia-pain-bache/BPB-Worker-Panel

↓ 26 callersFunctionrespond
( success: boolean, status: HttpStatus, message?: string, body?: any, customHeaders?: Reco
src/common/common.ts:28
↓ 20 callersFunctionfetch
(request: Request, env: Env)
src/worker.ts:17
↓ 15 callersFunctionaddRoutingRule
( rules: RoutingRule[], inboundTag?: string[], domain?: string[], ip?: string[], port?: nu
src/cores/xray/routing.ts:98
↓ 14 callersFunctionsafeErrorMessage
(error: any)
src/common/common.ts:50
↓ 11 callersMethodconcatIf
(condition: boolean, concat: T | T[])
src/types/global.d.ts:188
↓ 11 callersFunctiongetElmValue
(id)
src/assets/panel/script.js:510
↓ 11 callersFunctionlog
(info: string, event?: string)
src/protocols/websocket/vless.ts:18
↓ 10 callersFunctionbuildConfig
( remark: string, outbounds: Outbound[], isBalancer: boolean, isChain: boolean, balancerFa
src/cores/xray/configs.ts:33
↓ 10 callersFunctionrightRotate
(value: number, amount: number)
src/protocols/websocket/trojan.ts:187
↓ 9 callersFunctionAuthenticate
(request: Request, env: Env)
src/auth.ts:45
↓ 9 callersFunctiontoRange
(min?: number, max?: number)
src/cores/utils.ts:281
↓ 8 callersFunctionbuildOutbound
( name: string, type: string, server: string, port: number, isIPv6: boolean, tfo: bool
src/cores/clash/outbounds.ts:23
↓ 8 callersFunctionbuildOutbound
( tag: string, type: string, server: string, server_port: number, tcp_fast_open: boolean,
src/cores/sing-box/outbounds.ts:30
↓ 8 callersFunctiongenerateRemark
( index: number, port: number, address: string, protocol: string, isFragment: boolean,
src/cores/utils.ts:68
↓ 8 callersMethodomitEmpty
()
src/types/global.d.ts:192
↓ 7 callersFunctionbuildOutbound
( protocol: string, tag: string, enableMux: boolean, settings: T, streamSettings?: StreamS
src/cores/xray/outbounds.ts:33
↓ 7 callersFunctionfallback
(request: Request)
src/common/handlers.ts:282
↓ 7 callersFunctionisDomain
(address: string)
src/cores/utils.ts:3
↓ 6 callersFunctionaddDnsRule
( rules: DnsRule[], dns: string, inbound?: string, geosite?: string[], geoip?: string,
src/cores/sing-box/dns.ts:191
↓ 6 callersFunctionaddDnsServer
( servers: DnsServer[], type: string, tag: string, server?: string, detour?: string, d
src/cores/sing-box/dns.ts:164
↓ 6 callersFunctionaddRoutingRule
( rules: RoutingRule[], type: 'direct' | 'reject' | 'route', domain?: string[], ip?: string[],
src/cores/sing-box/routing.ts:98
↓ 6 callersFunctiongetDataset
( request: Request, env: Env )
src/kv.ts:5
↓ 6 callersFunctionsafeCloseTcpSocket
(socket: Socket | null)
src/protocols/websocket/common.ts:192
↓ 5 callersFunctionbuildDnsServer
( address: string, domains?: string[], expectIPs?: string[], skipFallback?: boolean, final
src/cores/xray/dns.ts:108
↓ 5 callersFunctiondecompressHtml
(content: string, asString: boolean)
src/common/handlers.ts:458
↓ 5 callersFunctionisBypass
(type: string)
src/cores/utils.ts:208
↓ 5 callersFunctionisHttps
(port: number)
src/cores/utils.ts:203
↓ 5 callersFunctionisValidHostName
(value, isHost)
src/assets/panel/script.js:551
↓ 5 callersFunctionmodifyOutbound
(outbound: Outbound, tag: string, dialerProxy?: string)
src/cores/xray/configs.ts:405
↓ 5 callersFunctionparseElmValues
(id)
src/assets/panel/script.js:504
↓ 5 callersFunctionparseHostPort
(input: string, brackets?: boolean)
src/cores/utils.ts:189
↓ 5 callersFunctionresolveDNS
(domain: string, onlyIPv4 = false)
src/cores/utils.ts:9
↓ 4 callersFunctionbase64DecodeUtf8
(base64: string)
src/common/common.ts:17
↓ 4 callersFunctionbuildSockopt
( enableHappyEyeballs: boolean, tcpFastOpen: boolean, domainStrategy?: DomainStrategy, dialerP
src/cores/xray/outbounds.ts:422
↓ 4 callersFunctiongenerateWsPath
(protocol: string)
src/cores/utils.ts:118
↓ 4 callersFunctiongetConfigAddresses
(isFragment: boolean)
src/cores/utils.ts:50
↓ 4 callersFunctiongetDomain
(url: string)
src/cores/utils.ts:158
↓ 4 callersFunctioninitiatePanel
(proxySettings)
src/assets/panel/script.js:60
↓ 4 callersFunctionisDomain
(value)
src/assets/panel/script.js:514
↓ 4 callersFunctionparseParams
(queryParams: boolean, customParams: Record<string, string | undefined>)
src/kv.ts:209
↓ 4 callersFunctionsafeCloseWebSocket
(socket: WebSocket)
src/protocols/websocket/common.ts:202
↓ 4 callersFunctionupdateContent
(id, content)
src/assets/panel/script.js:178
↓ 3 callersFunctionaccDnsRules
(geoAssets: GeoAsset[])
src/cores/utils.ts:245
↓ 3 callersFunctionaccRoutingRules
(geoAssets: GeoAsset[])
src/cores/utils.ts:211
↓ 3 callersFunctionbase
(file)
scripts/build.js:37
↓ 3 callersFunctionbuildFreedomOutbound
( isFragment: boolean, isUdpNoises: boolean, tag: string, length?: string, interval?: stri
src/cores/xray/outbounds.ts:54
↓ 3 callersFunctionbuildUrlTest
( name: string, proxies: string[], isWarp: boolean )
src/cores/clash/outbounds.ts:206
↓ 3 callersFunctionbuildUrlTest
( tag: string, outboundTags: string[], isWarp: boolean )
src/cores/sing-box/outbounds.ts:207
↓ 3 callersFunctionenableApplyButton
()
src/assets/panel/script.js:127
↓ 3 callersFunctiongenerateSubUrl
(path, app, tag, singboxType)
src/assets/panel/script.js:223
↓ 3 callersFunctiongetGeoAssets
()
src/cores/clash/geo-assets.ts:1
↓ 3 callersFunctiongetProtocols
()
src/cores/utils.ts:41
↓ 3 callersFunctiongetXrWarpConfigs
( request: Request, env: Env, isPro: boolean, isKnocker: boolean )
src/cores/xray/configs.ts:318
↓ 3 callersFunctionisBlock
(type: string)
src/cores/utils.ts:209
↓ 3 callersFunctionisIPv4
(value)
src/assets/panel/script.js:519
↓ 3 callersFunctionisIPv4
(address: string)
src/cores/utils.ts:148
↓ 3 callersFunctionselectSniHost
(address: string)
src/cores/utils.ts:176
↓ 2 callersFunctionaddRuleSet
(geo: string, url: string)
src/cores/sing-box/routing.ts:124
↓ 2 callersFunctionbase64Encode
(arr: Uint8Array)
src/protocols/warp.ts:96
↓ 2 callersFunctionbase64EncodeUtf8
(str: string)
src/common/common.ts:11
↓ 2 callersFunctionbase64ToDecimal
(base64: string)
src/cores/utils.ts:134
↓ 2 callersFunctionbuildBalancer
(tag: string, selector: string, hasFallback: boolean)
src/cores/xray/configs.ts:22
↓ 2 callersFunctionbuildConfig
( outbounds: Outbound[], selectorTags: string[], proxyTags: string[], chainTags: string[],
src/cores/clash/configs.ts:9
↓ 2 callersFunctionbuildConfig
( outbounds: Outbound[], endpoints: WireguardEndpoint[], selectorTags: string[], urlTestTags:
src/cores/sing-box/configs.ts:9
↓ 2 callersFunctionbuildConfig
(protocol: string, addr: string, port: number, host: string, sni: string, remark: string)
src/common/handlers.ts:574
↓ 2 callersFunctionbuildIpCidrRule
(ip: string, proxy: string)
src/cores/clash/routing.ts:61
↓ 2 callersFunctionbuildTLS
( protocol: string, security: "tls" | "reality" | "none", allowInsecure: boolean, sni: string,
src/cores/clash/outbounds.ts:222
↓ 2 callersFunctionbuildTLS
( security: "tls" | "reality" | "none", isFragment: boolean, allowInsecure: boolean, sni: stri
src/cores/sing-box/outbounds.ts:223
↓ 2 callersFunctionbuildTlsSettings
( serverName: string, fingerprint: Fingerprint, alpn: string, enableECH: boolean, echServe
src/cores/xray/outbounds.ts:441
↓ 2 callersFunctionbuildTransport
( type: Network, headerType?: "http" | "none", path: string = "/", host?: string, serviceN
src/cores/clash/outbounds.ts:264
↓ 2 callersFunctionbuildTransport
( type: TransportType, headerType?: "http" | "none", path: string = "/", host?: string, se
src/cores/xray/outbounds.ts:359
↓ 2 callersFunctionbuildTransport
( type: TransportType, headerType?: "http" | "none", path: string = "/", host?: string, se
src/cores/sing-box/outbounds.ts:280
↓ 2 callersFunctionbuildUDPNoises
(panelNoises: XrUdpNoise[])
src/cores/xray/outbounds.ts:481
↓ 2 callersFunctionbuildWarpOutbound
( warpAccount: WarpAccount, remark: string, endpoint: string, chain: string, isPro: boolea
src/cores/clash/outbounds.ts:94
↓ 2 callersFunctionbuildWarpOutbound
( warpAccount: WarpAccount, endpoint: string, isWoW: boolean, isPro: boolean, isKnocker: b
src/cores/xray/outbounds.ts:192
↓ 2 callersFunctionbuildWarpOutbound
( warpAccount: WarpAccount, remark: string, endpoint: string, chain?: string )
src/cores/sing-box/outbounds.ts:97
↓ 2 callersFunctionbuildWebsocketOutbound
( tag: string, protocol: string, address: string, port: number, isFragment: boolean, f
src/cores/xray/outbounds.ts:111
↓ 2 callersFunctionconnectAndWrite
(address: string, port: number)
src/protocols/websocket/common.ts:17
↓ 2 callersFunctiondefineProvider
(geo: string, behavior: 'domain' | 'ipcidr', url: string)
src/cores/clash/routing.ts:46
↓ 2 callersFunctiondownloadJSON
(data, fileName)
src/assets/panel/script.js:259
↓ 2 callersFunctionfetchDNSRecords
(url: string, recordType: number)
src/cores/utils.ts:25
↓ 2 callersFunctionfetchWarpAccounts
(env: Env)
src/protocols/warp.ts:21
↓ 2 callersFunctionformDataToObject
(formData)
src/assets/panel/script.js:117
↓ 2 callersFunctiongenerateKeyPair
()
src/protocols/warp.ts:82
↓ 2 callersFunctiongetClWarpConfig
(request: Request, env: Env, isPro: boolean)
src/cores/clash/configs.ts:145
↓ 2 callersFunctiongetGeoAssets
()
src/cores/xray/geo-assets.ts:1
↓ 2 callersFunctiongetGeoAssets
()
src/cores/sing-box/geo-assets.ts:1
↓ 2 callersFunctiongetIpDetails
(ip)
src/assets/panel/script.js:158
↓ 2 callersFunctiongetRandomValue
(arr: string[])
src/protocols/websocket/common.ts:42
↓ 2 callersFunctiongetSbCustomConfig
(isFragment: boolean)
src/cores/sing-box/configs.ts:78
↓ 2 callersFunctiongetValue
(id)
src/assets/panel/script.js:772
↓ 2 callersFunctiongetXrCustomConfigs
(isFragment: boolean)
src/cores/xray/configs.ts:255
↓ 2 callersFunctionhandleTCPOutBound
( remoteSocket: { value: Socket | null }, addressRemote: string, portRemote: number, rawClient
src/protocols/websocket/common.ts:8
↓ 2 callersFunctionisIPv6
(value)
src/assets/panel/script.js:529
↓ 2 callersFunctionisIPv6
(address: string)
src/cores/utils.ts:153
↓ 2 callersFunctionisValidUUID
(uuid: string)
src/common/common.ts:23
↓ 2 callersFunctionlog
(info: string, event?: string)
src/protocols/websocket/trojan.ts:16
↓ 2 callersFunctionmakeReadableWebSocketStream
(webSocketServer: WebSocket, earlyDataHeader: string, log: Function)
src/protocols/websocket/common.ts:135
↓ 2 callersFunctionminifyCode
(code)
scripts/build.js:115
↓ 2 callersFunctionparseIPs
(value: string)
src/protocols/websocket/common.ts:43
next →1–100 of 256, ranked by callers