My partner and I live separately, and we use Colota (F-Droid link) to send location data to our individual self-hosted Home Assistant instances.
Our Home Assistant instances are linked together which lets us share our locations with each other.
This might be a bit much to set up just for location sharing, but if you're using home automation anyway, it's nice to have it all tied together.