{"id":22959575,"url":"https://github.com/probe-lab/celestia-dht-scripts","last_synced_at":"2025-07-21T17:31:39.340Z","repository":{"id":265380698,"uuid":"837134958","full_name":"probe-lab/celestia-dht-scripts","owner":"probe-lab","description":"Set of scripts to interact with the Celestia DHT to monitor the namespace providers","archived":false,"fork":false,"pushed_at":"2025-04-18T08:34:02.000Z","size":155,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-18T21:31:55.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/probe-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-02T09:35:37.000Z","updated_at":"2025-04-18T07:27:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc062303-b721-4969-be42-6ee647d1ebe4","html_url":"https://github.com/probe-lab/celestia-dht-scripts","commit_stats":null,"previous_names":["probe-lab/celestia-dht-scripts"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/probe-lab/celestia-dht-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probe-lab%2Fcelestia-dht-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probe-lab%2Fcelestia-dht-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probe-lab%2Fcelestia-dht-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probe-lab%2Fcelestia-dht-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probe-lab","download_url":"https://codeload.github.com/probe-lab/celestia-dht-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probe-lab%2Fcelestia-dht-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266342809,"owners_count":23914262,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-14T18:19:22.099Z","updated_at":"2025-07-21T17:31:39.325Z","avatar_url":"https://github.com/probe-lab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cnames (celestia-dht-scripts)\nCLI tool to interact with the Celestia DHT and monitor the PRs for `archival` and `full` nodes.\n\n## Installation\nThere are two options to build or install the cnames tool:\n\n1. Simple way of installing it:\n```\nmake install\ncnames lookup\n```\n\n\n2. Simple way of building it:\n```\nmake build\n./build/cnames lookup\n```\n\n## How to use it\n\nRoot options:\n```\nNAME:\n   cnames - A Celestia's DHT namespace scrapper\n\nUSAGE:\n   cnames [global options] [command [command options]]\n\nCOMMANDS:\n   lookup   TODO\n   crawl    estimates the uplink BW from the active list of nodes in the network\n   key-info  show all info for the given DHT key\n   help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --help, -h  show help\n\n   Logging Configuration:\n\n   --log.format value  Sets the format to output the log statements in: text, json (default: \"text\") [$CNAMES_LOG_FORMAT]\n   --log.level value   Sets an explicity logging level: debug, info, warn, error. Takes precedence over the verbose flag. (default: \"info\") [$CNAMES_LOG_LEVEL]\n```\n\nSubcommands:\n1. `lookup`: makes a DHT lookup for the given namespace\n2. `crawl`: asks each node in the network for the PRs they have asociated with the namespace\n\n```\nNAME:\n   cnames lookup/crawl - makes a DHT lookup for the given namespace\n\nUSAGE:\n   cnames lookup/crawl [command [command options]]\n\nOPTIONS:\n   --network value    celestia network where the cname will run (default: \"celestia\") [$CNAMES_NETWORK]\n   --is-custom        is the namespace custom? (default: false) [$CNAMES_IS_CUSTOM]\n   --namespace value  DHT key or namespace the will be searched (default: \"/full/v0.1.0\") [$CNAMES_NAMESPACE]\n   --help, -h         show help\n\nGLOBAL OPTIONS:\n   --log.level value   Sets an explicity logging level: debug, info, warn, error. Takes precedence over the verbose flag. (default: \"info\") [$CNAMES_LOG_LEVEL]\n   --log.format value  Sets the format to output the log statements in: text, json (default: \"text\") [$CNAMES_LOG_FORMAT]\n```\n\n3. `key.info`: returns all the different formatting types for a given DHT Key (CID and Hash of the CID)  \n\n```\nNAME:\n   cnames key-info - show all info for the given DHT key\n\nUSAGE:\n   cnames key-info [command [command options]]\n\nOPTIONS:\n   --key value  target key\n   --help, -h   show help\n\nGLOBAL OPTIONS:\n   --log.level value   sets an explicity logging level: debug, info, warn, error. Takes precedence over the verbose flag. (default: \"info\") [$CNAMES_LOG_LEVEL]\n   --log.format value  sets the format to output the log statements in: text, json (default: \"text\") [$CNAMES_LOG_FORMAT]\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobe-lab%2Fcelestia-dht-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobe-lab%2Fcelestia-dht-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobe-lab%2Fcelestia-dht-scripts/lists"}