GitHub has removed the popular pirate streaming app VancedFlix from its servers in response to a takedown notice sent by Sky Italia. The request targets a similarly named repository on the developer platform, as well as the app’s APK file that’s linked under the download button on the official site VancedFlix.
Codeberg develops and uses forgejo, which is working towards adding federation: https://forgejo.org/compare/#focus-on-forge-federation
Then of course git itself is p2p, you can use ssh (no web UI) and host it in many servers (git remote).