MCPcopy
hub / github.com/rtr7/router7

github.com/rtr7/router7 @main sqlite

repository ↗ · DeepWiki ↗
641 symbols 1,979 edges 62 files 42 documented · 7%
README

router7

GitHub Actions CI GoDoc Go Report Card

router7 is a pure-Go implementation of a small home internet router. It comes with all the services required to make a fiber7 internet connection work (DHCPv4, DHCPv6, DNS, etc.).

Note that this project should be considered a (working!) tech demo. Feature requests will likely not be implemented, and see CONTRIBUTING.md for details about which contributions are welcome.

For more details, please see router7.org

Extension points exported contracts — how you extend this code

Node (Interface)
(no doc) [10 implementers]
internal/diag/diag.go
Listener (Interface)
(no doc) [2 implementers]
internal/multilisten/multilisten.go
RecordGetterSetter (Interface)
(no doc)
internal/dyndns/dyndns.go

Core symbols most depended-on inside this repo

Close
called by 32
internal/multilisten/multilisten.go
serveDHCP
called by 30
internal/dhcp4d/dhcp4d.go
String
called by 29
internal/diag/ra6.go
NewServer
called by 15
internal/dns/dns.go
Err
called by 12
internal/dhcp4/dhcp4.go
SetLeases
called by 11
internal/dns/dns.go
setErr
called by 10
internal/oui/oui.go
Then
called by 10
internal/diag/diag.go

Shape

Function 435
Method 148
Struct 52
Interface 4
FuncType 1
TypeAlias 1

Languages

Go58%
TypeScript42%

Modules by API surface

website/static/jquery-3.4.1.slim.min.js72 symbols
docs/jquery-3.4.1.slim.min.js72 symbols
website/static/popper-1.16.0.min.js53 symbols
docs/popper-1.16.0.min.js53 symbols
internal/netconfig/netconfig.go28 symbols
internal/diag/ping.go27 symbols
internal/dns/dns_test.go25 symbols
internal/dhcp4d/dhcp4d_test.go25 symbols
internal/testing/pcapreplayer/pcapreplayer.go24 symbols
internal/dns/dns.go24 symbols
internal/dhcp4d/dhcp4d.go15 symbols
internal/diag/dhcp.go13 symbols

Dependencies from manifests, versioned

github.com/andreyvit/diffv0.0.0-2017040606494 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/cespare/xxhash/v2v2.2.0 · 1×
github.com/digineo/go-logwrapv0.0.0-2018110616172 · 1×
github.com/digineo/go-pingv1.0.1 · 1×
github.com/eclipse/paho.mqtt.golangv1.5.1 · 1×
github.com/gokrazy/gokrazyv0.0.0-2023081209221 · 1×
github.com/gokrazy/internalv0.0.0-2023021117141 · 1×
github.com/gokrazy/rsyncv0.2.5 · 1×
github.com/google/nftablesv0.2.1-0.20240422065 · 1×

For agents

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

⬇ download graph artifact