{"id":15152798,"url":"https://github.com/ipfs/dht-node","last_synced_at":"2025-09-30T01:31:06.588Z","repository":{"id":57483723,"uuid":"84543814","full_name":"ipfs/dht-node","owner":"ipfs","description":"[ARCHIVED] Run just an ipfs dht node (Or many nodes at once!)","archived":true,"fork":false,"pushed_at":"2020-05-04T15:17:02.000Z","size":179,"stargazers_count":41,"open_issues_count":7,"forks_count":22,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-09-20T19:48:53.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipfs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-10T09:37:26.000Z","updated_at":"2024-08-12T19:28:17.000Z","dependencies_parsed_at":"2022-08-28T17:02:14.287Z","dependency_job_id":null,"html_url":"https://github.com/ipfs/dht-node","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fdht-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fdht-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fdht-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fdht-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfs","download_url":"https://codeload.github.com/ipfs/dht-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219865592,"owners_count":16554162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-26T16:40:17.406Z","updated_at":"2025-09-30T01:31:06.271Z","avatar_url":"https://github.com/ipfs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## This repository has been archived!\n\n*This IPFS-related repository has been archived, and all issues are therefore frozen*. If you want to ask a question or open/continue a discussion related to this repo, please visit the [official IPFS forums](https://discuss.ipfs.io).\n\nWe archive repos for one or more of the following reasons:\n\n- Code or content is unmaintained, and therefore might be broken\n- Content is outdated, and therefore may mislead readers\n- Code or content evolved into something else and/or has lived on in a different place\n- The repository or project is not active in general\n\nPlease note that in order to keep the primary IPFS GitHub org tidy, most archived repos are moved into the [ipfs-inactive](https://github.com/ipfs-inactive) org.\n\nIf you feel this repo should **not** be archived (or portions of it should be moved to a non-archived repo), please [reach out](https://ipfs.io/help) and let us know. Archiving can always be reversed if needed.\n\n---\n   \n# Libp2p DHT Node\nRun a libp2p dht node for the good of the network!\n\n## Installation\n```\n[openssl support (lower CPU usage)]\ngo get -u -tags=openssl github.com/ipfs/dht-node\n\n[standard (sub-optimal)]\ngo get -u github.com/ipfs/dht-node\n```\n\n## Usage\n`dht-node` has two modes. A 'single dht' mode that has a nicer UI, this is intended to be run in a tmux window or something so you can see statistics about your contribution to the network.\n\nThe second mode is called 'many mode'. Passing the `-many=N` allows you to run N dhts at a time in the same process. It periodically prints out a status line with information about total peers, uptime, and memory usage.\n\n## Best Practices\nTry to only run a dht-node on machines with public IP addresses. Having more\ndht nodes behind NATs makes dht queries in general slower, as connecting in\ngenerally takes longer and sometimes doesnt even work (resulting in a timeout).\n\nWhen running with `-many`, please make sure to bump the ulimit to something\nfairly high. Expect ~500 connections per node youre running (so with\n`-many=10`, try setting `ulimit -n 5000`)\n\n## License\nMIT - @whyrusleeping\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfs%2Fdht-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfs%2Fdht-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfs%2Fdht-node/lists"}