{"id":18141851,"url":"https://github.com/libp2p/if-watch","last_synced_at":"2025-12-12T16:26:12.474Z","repository":{"id":37008059,"uuid":"312120300","full_name":"libp2p/if-watch","owner":"libp2p","description":"Cross platform asynchronous network watcher","archived":false,"fork":false,"pushed_at":"2024-11-18T12:44:44.000Z","size":139,"stargazers_count":29,"open_issues_count":4,"forks_count":27,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-14T19:23:36.023Z","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/libp2p.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-11-11T23:58:59.000Z","updated_at":"2024-11-18T12:38:13.000Z","dependencies_parsed_at":"2024-10-25T18:41:12.149Z","dependency_job_id":"24da9e09-7f6f-4f33-bb7a-15c1aca7173b","html_url":"https://github.com/libp2p/if-watch","commit_stats":{"total_commits":68,"total_committers":12,"mean_commits":5.666666666666667,"dds":0.4558823529411765,"last_synced_commit":"f21df8166f79d215443823c381ea8b8336d85e3c"},"previous_names":["libp2p/if-watch"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libp2p%2Fif-watch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libp2p%2Fif-watch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libp2p%2Fif-watch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libp2p%2Fif-watch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libp2p","download_url":"https://codeload.github.com/libp2p/if-watch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230379995,"owners_count":18216847,"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-11-01T18:00:50.309Z","updated_at":"2025-12-12T16:26:12.424Z","avatar_url":"https://github.com/libp2p.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cross platform asynchronous network watcher\n\n```sh\ncargo run --example if_watch\nGot event Ok(Up(127.0.0.1/8))\nGot event Ok(Up(192.168.6.65/24))\nGot event Ok(Up(::1/128))\nGot event Ok(Up(2a01:8b81:7000:9700:cef9:e4ff:fe9e:b23b/64))\nGot event Ok(Up(fe80::cef9:e4ff:fe9e:b23b/64))\n```\n\nSupported platforms at the moment are:\nLinux, Windows and Android with a fallback for Macos and ios that polls for changes every 10s.\n\n## License\nMIT OR Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibp2p%2Fif-watch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibp2p%2Fif-watch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibp2p%2Fif-watch/lists"}