posted in Asklemmy

Are there any .onion instances or mirrors of Lemmy available?

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?

Page

Replying to @⁨Allero@lemmy.today⁩

Running Lemmy it’s pretty easy. Setup some containers. Unless you plan to open registration but keep the instance only for yourself (like I do), there is really no more maintenance needed.

Probably you don’t even need a server in itself, a PC that stay turned on most of the day will work just fine, data exchange between federated instances will resume then your Lemmy is online

Maybe update the containers periodically and check that disk usage doesn’t grow too much, but that’s up to which and how many communities you subscribe to, since you are the only user of the instance.

Replying to @⁨Allero@lemmy.today⁩

I forget but I think someone in the Linux sphere set up lemmy sites as a distinct unit for download on apt or kde or snap or something. Might be worth looking into.

Supposedly once you’re hosting sites it’s easy to set it up as a tor service in some setting or other, but I imagine federation afterward to be a bit of a challenge. It would have to fit the activitypub protocol or whatever it is and I’m not sure how to make that work over such a gap.

Replying to @⁨Allero@lemmy.today⁩

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.