29
this post was submitted on 27 Sep 2024
29 points (100.0% liked)
Programming
17476 readers
178 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Exactly this, yes. Not literally 'all' (a brand new instance would have nothing in its All feed). This is what was meant by 'partial data set' - everything for a subscribed community (from the moment it was subscribed to), but nothing for a community that no-one's subscribed to.
Some instances run bots to populated their All feed more than what would happen naturally (with the idea being that the bot unsubscribes when a human does)
interesting. thanks.
so this would mean that if i wanted to receive an event for each upvote/comment/post in the lemmy fediverse i would have to create my own instance in the ActivityPub space, subscribe to all communities (there is no such single wildcard call (?), so i would have to subscribe to all ~30k communities each by its own and also watch for new communities) and then i could utilize the ActivityPub protocol as instance feed me with their events?
there are currently about 600 instances and 30k communities, but only ~2k communities have more than 600 subscribers (according to [0]). does this mean that those bots only subscribe to communities above a certain threshold?
Yeah. There's no wildcard call. One thing you could do to script it would be pull JSONs from https://data.lemmyverse.net - use one for the initial effort, then subsequent ones to track new communities. You'd definitely want to filter it - as you've noticed the vast majority of that 30k are dead or spam or something you wouldn't want for one reason or another (e.g. communities from instances you've defederated from).
As for what bots do, it depends on how they were programmed I suppose. There's a bonkers one on https://leaf.dance that just seems to crawl comments and subscribe to any ! links it finds, but there are others (I can't remember their names) where it's more of a manual job (the mods of a community submit the details to it).