There is now a free open self-hostable Fediverse trail recorder called Wanderer. You can upload GPS data directly and it also lets you import your data from Strava and Komoot.
Wanderer is federated through ActivityPub so Wanderer servers can connect to other Wanderer servers and Mastodon etc servers too. More info at the official website:
Source code is at:
https://github.com/Flomp/wanderer
You can follow the lead developer at: