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: about 2 months 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
- Host: GitHub
- URL: https://github.com/anacrolix/dht
- Owner: anacrolix
- License: mpl-2.0
- Created: 2016-12-14T00:34:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-10T08:37:21.000Z (6 months ago)
- Last Synced: 2024-07-31T20:51:00.623Z (5 months ago)
- Topics: bittorrent, dht, go, golang, kademlia, kademlia-dht, torrent
- Language: Go
- Homepage:
- Size: 867 KB
- Stars: 302
- Watchers: 11
- Forks: 66
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: security.go
Awesome Lists containing this project
- awesome-go - dht - BitTorrent Kademlia DHT implementation. (Distributed Systems / Search and Analytic Databases)
- awesome-go-extra - dht - 12-14T00:34:42Z|2022-08-22T01:19:19Z| (Distributed Systems / Advanced Console UIs)
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.