MCPcopy Index your code
hub / github.com/anycable/anycable

github.com/anycable/anycable @v1.6.15 sqlite

repository ↗ · DeepWiki ↗ · release v1.6.15 ↗
2,362 symbols 10,023 edges 266 files 791 documented · 33%
README

Latest Release Build Docker Documentation

AnyCable

AnyCable is a realtime server for two-way reliable communication over WebSockets and SSE. This repository contains the code for the open source edition of AnyCable. Check out also our Pro and managed offerings.

[!NOTE] You can find all the necessary information about AnyCable in our documentation: docs.anycable.io.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/anycable/anycable.

See also our contributing guide.

License

The library is available as open source under the terms of the MIT License.

Security Contact

To report a security vulnerability, please contact us at anycable@evilmartians.com. We will coordinate the fix and disclosure.

Extension points exported contracts — how you extend this code

Controller (Interface)
Controller is an interface describing business-logic handler (e.g. RPC) go:generate mockery --name Controller --output [10 …
node/controller.go
ChannelIdentifier (Interface)
(no doc) [15 implementers]
etc/benchi/client/client.go
IntervalWriter (Interface)
IntervalHandler describe a periodical metrics writer interface [4 implementers]
metrics/metrics.go
Shutdownable (Interface)
(no doc) [38 implementers]
cli/cli.go
EncodedMessage (Interface)
(no doc) [6 implementers]
encoders/encoder.go
Identifier (Interface)
go:generate mockery --name Identifier --output "../mocks" --outpkg mocks [4 implementers]
identity/identity.go
Broker (Interface)
Broker is responsible for: - Managing streams history. - Managing presence information. - Keeping client states for reco [4 …
broker/broker.go
Subscriber (Interface)
Subscriber is responsible for subscribing to individual streams and and publishing messages to streams go:generate mock [4 …
pubsub/subscriber.go

Core symbols most depended-on inside this repo

Run
called by 288
metrics/metrics.go
Error
called by 221
vendorlib/go-mruby/value.go
Get
called by 214
pool/pool.go
String
called by 147
etc/benchi/client/client.go
New
called by 146
vendorlib/go-mruby/class.go
Fatalf
called by 120
enats/enats.go
Set
called by 103
metrics/gauge.go
Errorf
called by 100
enats/enats.go

Shape

Method 1,218
Function 830
Struct 254
Interface 35
TypeAlias 15
FuncType 10

Languages

Go99%
TypeScript1%

Modules by API surface

protos/rpc.pb.go100 symbols
node/session.go78 symbols
node/node.go70 symbols
broker/broker.go59 symbols
broker/nats.go56 symbols
common/common.go53 symbols
broker/memory.go46 symbols
vendorlib/go-mruby/mruby.go34 symbols
vendorlib/go-mruby/value.go33 symbols
hub/hub.go33 symbols
cli/options.go33 symbols
metrics/metrics.go32 symbols

Dependencies from manifests, versioned

github.com/antithesishq/antithesis-sdk-gov0.7.2 · 1×
github.com/anycable/anycable-gov0.0.0-0001010100000 · 1×
github.com/cpuguy83/go-md2man/v2v2.0.7 · 1×
github.com/durable-streams/durable-streams/packages/client-gov0.1.0 · 1×
github.com/fullstorydev/grpchanv1.1.2 · 1×
github.com/google/go-tpmv0.9.8 · 1×

For agents

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

⬇ download graph artifact