Lately in the light of more Internet censorship I’ve been trying to establish more reserve channels for communication. As part of it, I am exploring some of the .onion services that are available.
Since at least 2023, there was a discussion of using Lemmy on Tor network. Are there any actual instances or mirrors of instances available through it? Also, is it possible to federate between .onion and clearnet Lemmy instances?


I believe there was some issue with this, at least I get to recall Nutomic discussing it in one of the GitHub issues
Yeah the code only accepts one domain AFAIK that it uses for federation and everything in the UI/API. So even if you could host it at .onion, links, images, in-browser API calls, etc would all serve from the public domain if you wanted federation. The code would need to be written to support alternative domain access with an authoritative domain for federation. In theory you could put some sort of proxy in front that just rewrote everything the server output to replace with .onion and then intercept every request to change the header so the server thought it was coming from the standard TLD, but that’s incredibly fragile and a ton of work.