Skip to content
/ dht Public

dht is used by anacrolix/torrent, and is intended for use as a library in other projects both torrent related and otherwise

License

Notifications You must be signed in to change notification settings

anacrolix/dht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dht

Go Reference

Installation

Get the library package with go get github.com/anacrolix/dht/v2, or the provided cmds with go install github.com/anacrolix/dht/v2/cmd/...@latest.

Commands

Here I'll describe what some of the provided commands in ./cmd do.

dht

Supports various commands operating on the DHT.

% go run github.com/anacrolix/dht/v2/cmd/dht --help
valid arguments at this point:
  --help|-h
  --network <string>
  --secure
  --bootstrap-addr <[]string>
  --query-resend-delay <time.Duration>
  derive-put-target
  put
  put-mutable-infohash
  get
  ping
  get-peers
  query
  ping-nodes

Downstream projects

Projects that uses this repo in novel ways.

  • cove: Torrent browser with streaming, DHT search, video transcoding and casting.
  • btlink: btlink supports DNS records stored on the DHT.