ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
751 stars 137 forks source link

Service Discovery (dnssd/mDNS/Avahi/Bonjour/etc) #372

Open ramirez7 opened 3 years ago

ramirez7 commented 3 years ago

It would be nice if there was an option for hoogle to advertise itself as some local name with dnssd

hoogle server --local --local-name armandos-project

Then instead of having to remember which port my hoogle is running on, I could just go to a stable name in my browser:

http://armandos-project.local

Of course, you can get this feature today with some sort of local mDNS reverse proxy (like this one), but having it integrated is just nicer imo.

One nice thing about this feature is you can run multiple hoogles without worrying about them conflicting (although they would still try to use the same port - maybe automatic port assignment would also be useful?)

ndmitchell commented 3 years ago

No unreasonable, but what would be the additional dependency footprint required to pull that off?