The open-source sunbather code: modeling escaping planetary atmospheres and their transit spectra | Synapse