Hi all, I tried hosting my own lemmy instance to take some of the load off lemmy.world, but a lot of the posts do not get synchronised to my instance. When they do, they never got more than a couple upvotes.

I get a lot of warnings in the logs that I’ve got an incoming connection not on my allowed hosts, of which I’ve put “lemmy.world” and “lemmy.ml

Does self hosting like this actually reduce the load on lemmy.world and the fediverse? And how can I fix the issue I’m having?

🇺🇦 Max UL
link
fedilink
English
11Y

Can you share that? Would love to use it for our instance. Previously was subbing to stuff manually to populate our small instance and it was a pain.

@Ducks@ducks.dev
link
fedilink
English
2
edit-2
1Y

It’s not great, but here it is: https://github.com/ducksdotdev/LemmySubscriber/tree/main … I’ll revisit the app sometime this week/weekend to make it better. Although, I believe there are a couple other scripts in the wild that do the same task and include their own method for crawling.

edit: https://github.com/Fmstrat/lcs – looks like this is a better one than what I did if you want something different.

🇺🇦 Max UL
link
fedilink
English
11Y

Awesome thank you! Sorry delayed reply had a busy day

@Ducks@ducks.dev
link
fedilink
English
11Y

I can share it, but right now I have it grabbing the latest artifact from the lemmy-exporter which looks like as of June 3rd they stopped updating their repo with the export artifact. Meaning, I need to implement some sort of crawler myself or use a different method for generating the list of communities.

I can share the code with this caveat if you want to use it anyway/try and change it yourself. It is written in Golang… will post back in a bit with a github repo. need to set it up

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog