Registry / networking / anacrolix-torrent

anacrolix-torrent

JSON →
library1.61.0gogounverified

Torrent implements a BitTorrent client in Go, supporting downloading and streaming of torrents.

go get github.com/anacrolix/torrent
INSTALL
IMPORT
SIG · ANACROLIX-TORRENT
A
anacrolix-torrent
networkinggov1.61.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

torrent
github.com/anacrolix/torrent

Creates a torrent client, adds a magnet link, and prints the torrent name.

package main import ( "fmt" "github.com/anacrolix/torrent" ) func main() { client, _ := torrent.NewClient(nil) defer client.Close() t, _ := client.AddMagnet("magnet:?xt=urn:btih:...") <-t.GotInfo() fmt.Println(t.Info().Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.61.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
OpenAI (training)
1
Resources
anacrolix-torrent — go get anacrolix-torrent · libregistry