Paserverchoose is a project mainly written in C and SHELL, based on the GPL-2.0 license.
CLI tool to choose a pulseaudio server
paserverchoose by Brendan Le Foll, brendan
This code is based on padevchooser. Not much is left, but it was quicker to start this way.
I haven't changed anything in x11prop and the code should still be compatible with now 'dead' upstream padevchooser
The avahibrowse.c module is mostly an adaptation of some sample code from the avahi documentation and is not particularly pretty or nice.