{"id":13994988,"url":"https://github.com/fwcd/swift-dns-service-discovery","last_synced_at":"2025-04-14T22:11:25.403Z","repository":{"id":188164354,"uuid":"677356719","full_name":"fwcd/swift-dns-service-discovery","owner":"fwcd","description":"DNS-SD (Bonjour/Zeroconf/Avahi) implementation of the Swift Service Discovery API","archived":false,"fork":false,"pushed_at":"2024-06-26T19:29:06.000Z","size":303,"stargazers_count":29,"open_issues_count":4,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T10:11:39.153Z","etag":null,"topics":["avahi","bonjour","dns","dns-sd","mdns","swift","swift-service-discovery","zeroconf"],"latest_commit_sha":null,"homepage":"https://fwcd.github.io/swift-dns-service-discovery/documentation/dnsservicediscovery","language":"Swift","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/fwcd.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-11T11:19:01.000Z","updated_at":"2025-02-13T01:50:19.000Z","dependencies_parsed_at":"2024-01-08T20:31:46.673Z","dependency_job_id":"a8760052-fe49-482e-8bc9-6e001d0a4546","html_url":"https://github.com/fwcd/swift-dns-service-discovery","commit_stats":null,"previous_names":["fwcd/swift-dns-service-discovery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-dns-service-discovery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-dns-service-discovery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-dns-service-discovery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-dns-service-discovery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwcd","download_url":"https://codeload.github.com/fwcd/swift-dns-service-discovery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968914,"owners_count":21191162,"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":["avahi","bonjour","dns","dns-sd","mdns","swift","swift-service-discovery","zeroconf"],"created_at":"2024-08-09T14:03:12.286Z","updated_at":"2025-04-14T22:11:25.380Z","avatar_url":"https://github.com/fwcd.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# Swift DNS Service Discovery\n\n[![Build](https://github.com/fwcd/swift-dns-service-discovery/actions/workflows/build.yml/badge.svg)](https://github.com/fwcd/swift-dns-service-discovery/actions/workflows/build.yml)\n[![Docs](https://github.com/fwcd/swift-dns-service-discovery/actions/workflows/docs.yml/badge.svg)](https://fwcd.github.io/swift-dns-service-discovery/documentation/dnsservicediscovery)\n\nAn implementation of the [Swift Service Discovery API](https://github.com/apple/swift-service-discovery) using [DNS-based Service Discovery (DNS-SD)](https://en.wikipedia.org/wiki/Zero-configuration_networking#DNS-SD), also known as Bonjour, Zeroconf or Avahi.\n\nUses the `dns_sd` library, which on macOS/Windows is provided by Bonjour and on Linux requires the Avahi compatibility layer. On Ubuntu, the following package can be used:\n\n```sh\nsudo apt install libavahi-compat-libdnssd-dev\n```\n\n## Credits\n\nThe library draws inspiration from\n\n- https://github.com/nallick/dns_sd, a high-level Swift wrapper of `dns_sd`\n    - MIT-licensed (Copyright (c) 2019 Purgatory Design).\n- https://github.com/rhx/CDNS_SD, a simpler Swift system library wrapper for `dns_sd`\n    - BSD-2-licensed (Copyright (c) 2016, Rene Hexel)\n\nThe following documentation on the `dns_sd` library was also incredibly helpful:\n\n- [Apple's documentation archive](https://developer.apple.com/library/archive/documentation/Networking/Conceptual/dns_discovery_api/Articles/browse.html#//apple_ref/doc/uid/TP40002486-SW1), describing the low-level DNS-SD API\n- [DNS Service Discovery on Windows](https://marknelson.us/posts/2011/10/25/dns-service-discovery-on-windows.html), providing an example-oriented overview of the library and an explanation of how the callbacks are driven\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fswift-dns-service-discovery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwcd%2Fswift-dns-service-discovery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fswift-dns-service-discovery/lists"}