• kat@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      At this point I’m considering it. I wonder how much it costs.

      • Jamie@jamie.moe
        link
        fedilink
        arrow-up
        9
        ·
        1 year ago

        I did it, but my buddy has a server with extra resources that he doesn’t care if I use and I already owned domains.

        Say $20/yr for domain, Lemmy needs around 150MB of RAM and almost no CPU. You could easily do that for $5/mo. Slice up the domain renewal, call it $8.

        So far, there are upsides and downsides.

        The upsides, I can federate with anyone I want and it’s unlikely that they’ll defederate with me because I’m one guy, and maybe a handful of friends if they want accounts. Two, I wanted something I could use as a blog anyway, so I made a mod only community on my instance where I can blog. I don’t care if people read it or not, it just seemed fun.

        Downside, finding communities is relatively more laborious. I have to go to other instances and look at their communities, or all feeds, to find things to subscribe to at home. Which means for each one, I need to copy the link or name, go to my instance’s search, then go to the communities tab and subscribe. On a big instance, someone probably already searched for a lot of communities at least once, which is enough to index it. But on your own, you gotta do it yourself and it can get a little tedious.

        Overall, I’m liking running my own though, so I plan to keep doing that.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          Discoverability is one of the biggest weaknesses Lemmy has right now. It should be entirely fixable, though. A way to auto-index the list of communities on a given instance would be a great start.

          • Jamie@jamie.moe
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            1 year ago

            Are you talking about getting a list for yourself, or doing it in a federated way? Because for an individual instance, you can go to Explore Communities -> All to view the most popular communities for that instance, or click the local tab for only communities that they host.

            I found a lot of my communities (including this one!) through Lemmy Explorer which aggregates it a bit.

            • CanadaPlus@lemmy.sdf.org
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              1 year ago

              Doing it in a federated way.

              Specifically, when you tell your instance about another one, it should at least register the existence of every community on the other instance. Right now indexing is community-by-community from what I hear and that sucks.

              • Jamie@jamie.moe
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                1 year ago

                I can completely understand why that wouldn’t be, it would put a big strain on any server with a large community count.

                I think the top 25-100 communities could be reasonable, though. This could also be accomplished with a bot either managed by an instance interested in pulling that data, or a user wanting to automate subscriptions a bit.

                *I originally posted this with an example that I immediately realized was incorrect, so I corrected that.

                • CanadaPlus@lemmy.sdf.org
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  edit-2
                  1 year ago

                  Last I checked there were 10k communities and a few 100 instances total, which is tiny in computer terms. As it grows larger maybe it would be an issue, but really even millions of instance names properly compressed shouldn’t be onerous for a one-time download.

        • Wander@yiffit.net
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          150 MB of RAM is a bit optimistic. However I agree that you should be okish with cheap 1GB 1vCPU VMs for a one user instance.

          Maybe even host it on an old laptop you can use as a server.

          • Jamie@jamie.moe
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            The 150MB metric was based on the documentation estimate. I would say that remains correct for my solo instance. The only caveat would be that postegres adds, at current, about 200MB of usage on top of that. Nginx and postfix add just about nothing memory-wise.

            This may bloat up over time, or if I had a bunch of users I’m certain it would, but we’re not really talking about hosting large communities in this case, so I’d say 512MB of RAM with no other software could probably do the trick as a bare minimum. For those hosting proper communities, 100% future proof and go bigger than that.

            • Wander@yiffit.net
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              In my case I started with 4GB but had to double because there seems to be some memory creep / leak that gets reset when you reboot the server.

              Of course, I’m hosting 50 active users and communities with over 200 subscribers.

              Overall I would say that Lemmy is indeed lightweight.

        • kat@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I’ve got the domains already - I have a bad habit of buying domains that I never use. It’s really the server part that gets me nervous. I’m not good at that stuff yet, and it’s not really intuitive for me to learn. I know for Mastodon, they have some cloud based servers that they recommend, but Lemmy’s instructions are kinda lacking detail for a newbie like me - and at this time, there’s not really up-to-date YT videos showing you how to do it.

          I know that being part of a server seems like a natural fit for someone like me who is totally lost with these things, but it’s kinda frustrating that most larger instances have a ton of rules. I think the one I’m on has rules about lewd content, which is fine, but I feel like one of my comments got blocked from submission when I wrote about how Reddit’s downfall will be similar to Tumblr’s due to their likely eventual banning of that type of content. Maybe some of the words I used were triggering the auto filter or something? But either way, I didn’t like that feeling of censorship.

            • kat@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Cool! I’ll probably go down that route then when it’s ready.

          • Jamie@jamie.moe
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I didn’t mention the install process in my case, because the box I installed on already had Apache, which conflicted with nginx, and I couldn’t get an equivelant apache config working correctly. So in my case, it took extra steps where I migrated everything from apache to nginx on the box, and stopped using apache. But I did the install using ansible to connect from my PC to the server, and the install process itself wasn’t bad. Copy pasted the config files and made a few relevant changes like DB password, instance name, default admin credentials, and pointing to my existing SMTP mail service. For a personal instance, you could probably exclude that last step though. I already host email for my domain, so the effort to do the extra and make it work was miniscule.

            After the config changes, I just put things where the lemmy-ansible repo asked, and ran it as directed. Aside from a few screwups on my part, which were mostly because I was trying to see if I could make Apache work, the install wasn’t too bad. Ansible did the heavy lifting, and if I was installing on a fresh server, I have little doubt it would have given me trouble at all.

            If you ever decide to go through with trying, feel free to reach out to me. I’ll be happy to help as much as I can.

        • kat@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          That looks neat! I’ll look into it. How does it work, do you run Docker in it? I really have no clue what I’m doing.