ciao icon indicating copy to clipboard operation
ciao copied to clipboard

Ability to browse for existing services?

Open mgcrea opened this issue 4 years ago • 3 comments

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.

mgcrea avatar Jan 09 '21 09:01 mgcrea

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

Supereg avatar Jan 09 '21 09:01 Supereg

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

tvedtorama avatar Jan 20 '22 13:01 tvedtorama

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

alexojegu avatar May 28 '24 08:05 alexojegu