Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/anacrolix/dht

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

bittorrent dht go golang kademlia kademlia-dht torrent

Last synced: 24 days ago
JSON representation

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

Lists

README

        

# dht

[![Go Reference](https://pkg.go.dev/badge/github.com/anacrolix/dht/v2.svg)](https://pkg.go.dev/github.com/anacrolix/dht/v2)

## 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
--secure
--bootstrap-addr <[]string>
--query-resend-delay
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](https://coveapp.info): Torrent browser with streaming, DHT search, video transcoding and casting.
* [btlink](https://github.com/anacrolix/btlink): btlink supports DNS records stored on the DHT.