Hi i just wanted to know if it is possible to host instance completely without renting anything.
if you have a video on it can you please share it here?
I think the real question is not if it’s possible (it is), but what you are actually trying to achieve. It seems like you have this idea, but I’m not sure if you really understand what it means. Maybe you can describe, why you want to host a Lemmy instance yourself…
You can host an instance on any pc you can install stuff on or run docker containers on.
The issue, as the other commenter said, is that the computer needs to run so that it can catch and send federated stuff. Otherwise you are an island which can be a good usecase for a school or small company but not generally.
A probable usecase would be an old pc which you leave running or a raspberry pi. You route the federation ports through your router and nothing else. That way you have full federation and very few attack vectors. The most secure way to use it is locally on your network or by connecting via vpn.
thanks for replying
yes i will leave it on for days that i want to use that instance
The issue is once you turn it off, the federation attempts by other instances will fail and the software has an increasing „back off“ mechanic. That means after the first failed attempt the instances will wait eg an hour before reattempting federation, then two, then four, then eight, etc. this means if you turn it only on when you want to use it, your federation will only kick in after a huge amount of hours. That makes no sense, sadly.
I recall seeing talk about how Lemmy instances require a domain name. If that’s true, you’d at least have to have a static IP if not pay for an actual domain name. I haven’t tried to start one up myself though. Mostly because if that is truly a requirement, I wouldn’t be able to.
You don’t need a static IP to have a domain name, and you don’t always need to pay for a domain name either.
You don’t need a static IP to have a domain name
That’s why I said or. You need a static address of some kind for Lemmy; be it just an IP or a domain name. I haven’t seen domain names given away for free since I was in high school; where would you get one now?
Cloudflare has a free tier for domains, although they’re a little sketch. But they also support DDNS, so which updates the IP that your domain points to when it changes
Yea, you can but unless you plan to leave your PC on all the time and open ports on your firewall directly to your PC.
There are some major risks on doing that though.
not really i will just leave it on the days that i need
Thats not really how it works. Lemmy works on a Push model. When a post is created and the instance knows you are interested in the post by a user subscribing to it, the Lemmy instance will send the post to your server. But if your sever does not respond then the other instance will mark your server as dead and stop trying to send you posts.
When you turn on your instance you aren’t going to get a flood of posts that you have missed over the past few days/hours.
What do you mean by PC? Just asking because sometimes people use PC to refer to a computer that runs Windows. Just sort of how the vernacular ended up going over the years.
I can’t help, but even with Windows I think they have a way to run Linux stuff on it now, so it should be possible.
pc as in like laptop or desktop computer
btw is it possible if i use a high spec phone? like asus/ other gaming phones?