{"id":22191967,"url":"https://github.com/nervosnetwork/ckb-discovery","last_synced_at":"2026-06-04T02:01:03.760Z","repository":{"id":192893483,"uuid":"687168373","full_name":"cryptape/ckb-discovery","owner":"cryptape","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-31T07:13:25.000Z","size":161,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T00:04:06.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/cryptape.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}},"created_at":"2023-09-04T19:24:16.000Z","updated_at":"2025-03-31T03:58:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"945968be-675c-4bf1-ab71-62cd699f2411","html_url":"https://github.com/cryptape/ckb-discovery","commit_stats":null,"previous_names":["code-monad/cab-discovery","code-monad/ckb-discovery","cryptape/ckb-discovery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-discovery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-discovery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-discovery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-discovery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptape","download_url":"https://codeload.github.com/cryptape/ckb-discovery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317705,"owners_count":21083528,"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-12-02T12:18:34.152Z","updated_at":"2026-06-04T02:01:03.620Z","avatar_url":"https://github.com/cryptape.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CKB-Discovery\nThis is a re-implementation of the CKB-Node-Probe project, Contains 3 module:\n\n## Discovery\n\nThis is a dialer/probe module, used to dial/find reachable peers. It won't dial reachable peers directly, instead it will receive peer info from MQTT channel `peer/needs_dial`, and dial for that.\n(Except bootnodes)\n\n\n## Marci\n\nThis is the center that controls which peer should be called, which peer should be treated as online and so on.\nThink it as a broadcaster and msg channel guider.\n\n## Exposed\n\nThis is a query service provided for the frontend\n\n\n## How to start\n\nFirst, you'll need to cp .env.example and modify the value to secure your MQTT and Reidis.\n\nFor the data center, run `docker-compose up -d`, it will:\n1. start a MQTT service, expose at `1883`\u0026`1884`\n2. start a Redis server, expose at `6379`\n3. start the expose server(query api service), expose at 1800\n4. start marci service\n\n\nIf you want to run a dialer, run `docker build . -t ckb-discovery \u0026\u0026 docker run --restart always --name ckb-discovery -e MQTT_URL=\"mqtt://54.255.71.126:1883\" -d ckb-discovery`\n\nRemember to replace `127.0.0.1` with the data center ip.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnervosnetwork%2Fckb-discovery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnervosnetwork%2Fckb-discovery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnervosnetwork%2Fckb-discovery/lists"}