Skip to content

mlamp/magpie

magpie

A lean, tokio-based Rust BitTorrent library, designed from a consumer's perspective.

Status: M0 in progress. Bencode + metainfo shipped; core primitives (peer-ID, alert ring, storage, picker) shipped in Phase C. Unix only (Linux + macOS) for the M0 timeframe — Windows support is post-M0.

Crate prefix

Published on crates.io under magpie-bt-* (the bare magpie name is taken by an unrelated Othello library).

Reachability (M2)

Engine::listen accepts inbound BitTorrent TCP connections and routes them to the registered torrent by info_hash. M2 works on LAN or with a manually forwarded port — automatic port-mapping via UPnP / NAT-PMP is deferred to M5. If you are behind a NAT without a forwarded port, magpie can still download: outbound connections to other peers work normally, but remote peers won't be able to initiate to you, so seeding reach is limited.

About

Lean tokio-based Rust BitTorrent library (pre-M0)

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages