MCPcopy
hub / github.com/SagerNet/sing-box

github.com/SagerNet/sing-box @v1.13.14 sqlite

repository ↗ · DeepWiki ↗ · release v1.13.14 ↗
5,259 symbols 16,693 edges 688 files 185 documented · 4%
README

sing-box

The universal proxy platform.

Packaging status

Documentation

https://sing-box.sagernet.org

License

Copyright (C) 2022 by nekohasekai <contact-sagernet@sekai.icu>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

In addition, no derivative work may use the name or imply association
with this application without prior consent.

Extension points exported contracts — how you extend this code

ConnectionHandler (Interface)
Deprecated [5 implementers]
adapter/handler.go
ResolvedResolver (Interface)
(no doc) [15 implementers]
dns/transport/local/local_resolved.go
Plugin (Interface)
(no doc) [43 implementers]
transport/sip003/plugin.go
RuleItem (Interface)
(no doc) [40 implementers]
route/rule/rule_default.go
WIFIMonitor (Interface)
(no doc) [7 implementers]
common/settings/wifi.go
HeadlessRule (Interface)
(no doc) [40 implementers]
adapter/rule.go
SimpleLifecycle (Interface)
(no doc) [84 implementers]
adapter/lifecycle.go
V2RayServerTransport (Interface)
(no doc) [6 implementers]
adapter/v2ray.go

Core symbols most depended-on inside this repo

Addr
called by 190
common/pipelistener/listener.go
InfoContext
called by 182
log/nop.go
Join
called by 164
experimental/clashapi/trafficontrol/manager.go
Close
called by 162
log/factory.go
IsValid
called by 157
option/rule.go
Get
called by 141
adapter/service.go
String
called by 138
adapter/rule.go
Contains
called by 138
adapter/fakeip.go

Shape

Method 2,907
Function 1,393
Struct 717
Interface 145
TypeAlias 77
FuncType 20

Languages

Go100%

Modules by API surface

daemon/started_service.pb.go263 symbols
daemon/started_service_grpc.pb.go116 symbols
experimental/v2rayapi/stats.pb.go66 symbols
experimental/libbox/command_client.go56 symbols
experimental/libbox/http.go51 symbols
experimental/libbox/tun.go49 symbols
route/rule/rule_action.go48 symbols
daemon/started_service.go42 symbols
protocol/naive/inbound_conn.go40 symbols
experimental/libbox/command_types.go40 symbols
experimental/libbox/platform.go38 symbols
experimental/libbox/config.go38 symbols

Dependencies from manifests, versioned

filippo.io/edwards25519v1.1.0 · 1×
github.com/Microsoft/go-winiov0.6.1 · 1×
github.com/ajg/formv1.5.1 · 1×
github.com/akutz/memconnv0.1.0 · 1×
github.com/alexbrainman/sspiv0.0.0-2023101608002 · 1×
github.com/andybalholm/brotliv1.1.0 · 1×
github.com/anthropics/anthropic-sdk-gov1.26.0 · 1×
github.com/anytls/sing-anytlsv0.0.11 · 1×
github.com/caddyserver/zerosslv0.1.5 · 1×

For agents

$ claude mcp add sing-box \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact