MCPcopy Index your code
hub / github.com/eepnet/emissary

github.com/eepnet/emissary @v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.0 ↗ · + Follow
3,665 symbols 14,595 edges 226 files 1,432 documented · 39%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

emissary

License Crates.io docs.rs

emissary is a lightweight and embeddable I2P router

UI

Features

  • Transports:
  • NTCP2
  • SSU2
  • Client protocols:
  • I2CP
  • SAMv3
  • Proxies:
  • HTTP
  • SOCKSv5

Directory layout

  • emissary-core/ - I2P protocol implementation as an asynchronous library
  • emissary-util/ - emissary-core-related utilities, such as runtime implementations and reseeder
  • emissary-cli/ - tokio-based I2P router implementation

Usage

1) Install from crates.io: cargo install emissary-cli 2) Build from sources: cargo build --release

Router installs its files under $HOME/.emissary, automatically reseeds over HTTPS on first boot and creates a default configuration. For instructions on how to browse and host eepsites, use torrents, or chat on Irc2P, visit documentation.

Third-Party Licenses

Google Material Icons (optional), Apache 2.0

Extension points exported contracts — how you extend this code

Transport (Interface)
Transport interface. [33 implementers]
emissary-core/src/transport/types.rs
JoinSet (Interface)
(no doc) [5 implementers]
emissary-core/src/runtime/mod.rs
TransitTunnel (Interface)
Common interface for transit tunnels. [3 implementers]
emissary-core/src/tunnel/transit/mod.rs
SecretKey (Interface)
Trait describing the expected API from secret keys. [2 implementers]
emissary-core/src/crypto/mod.rs
AsyncRead (Interface)
(no doc) [4 implementers]
emissary-core/src/runtime/mod.rs

Core symbols most depended-on inside this repo

clone
called by 2255
emissary-core/src/events.rs
to_vec
called by 823
emissary-core/src/crypto/mod.rs
update
called by 401
emissary-core/src/crypto/hmac.rs
id
called by 393
emissary-core/src/primitives/destination.rs
push
called by 366
emissary-core/src/runtime/mock.rs
len
called by 292
emissary-core/src/tunnel/pool/listener.rs
into_iter
called by 264
emissary-core/src/primitives/mapping.rs
push
called by 262
emissary-cli/src/ui/native/bandwidth_monitor.rs

Shape

Method 1,714
Function 1,284
Class 405
Enum 240
Interface 22

Languages

Rust100%

Modules by API surface

emissary-core/src/transport/mod.rs137 symbols
emissary-core/src/destination/session/mod.rs125 symbols
emissary-core/tests/sam.rs78 symbols
emissary-core/src/primitives/router_address.rs68 symbols
emissary-core/src/transport/ssu2/session/pending/inbound.rs64 symbols
emissary-core/src/transport/ntcp2/session/mod.rs63 symbols
emissary-core/src/transport/ssu2/relay/mod.rs61 symbols
emissary-core/src/subsystem/mod.rs61 symbols
emissary-core/src/transport/ssu2/message/mod.rs54 symbols
emissary-core/src/transport/ssu2/peer_test/mod.rs53 symbols
emissary-core/src/transport/ssu2/mod.rs53 symbols
emissary-core/src/runtime/mock.rs52 symbols

For agents

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

⬇ download graph artifact