homebridge / ciao

RFC 6762 and RFC 6763 compliant mdns service discovery library written in Typescript
MIT License
79 stars 6 forks source link

Ability to browse for existing services? #8

Open mgcrea opened 3 years ago

mgcrea commented 3 years ago

Does ciao implements an equivalent of bonjour-hap browsing of services? eg.

bonjour.find({ type: 'http' }, function (service) {
  console.log('Found an HTTP server:', service)
})

Also the docs link in the README is broken.

Supereg commented 3 years ago

As startet in the readme, ciao doesn't currently have a querier implementation. Delivering a RFC compliant querier implementation would require a lot of additional work (especially to have an implementation which works with all the edge cases out there and is able to withstand denial of service attacks). So there isn't a timeline for that. Currently nobody is working on it at the moment (to my knowledge).

Seems like the link changed with the latest version of typedoc. Will fix it. Thats the current doc https://developers.homebridge.io/ciao/modules.html

tvedtorama commented 2 years ago

@supereg - What service should be used to pick up the advertisements from this library? Is mdns the recommended one?

alexojegu commented 1 month ago

What service should be used to pick up the advertisements from this library?

I think I'll try this one: https://github.com/earthstar-project/dns-sd