This is a very simple mod that adds a special combinator that outputs the items of all ghosts in the logistics network it is placed in.
https://mods.factorio.com/mod/GhostScanner supports modules, curved rails correctly, tiles a tried all mods of this type in the last years but ghostscanner now is the complete solution
Thanks for pointing that out; I haven't seen that one before.