this post was submitted on 21 Dec 2023
273 points (97.6% liked)

Fediverse

27398 readers
723 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

Hey everyone,

This isn't an announcement, just wanted peoples thoughts on this.

I think everyone knows searching the fediverse can be better. Googling doesn't work too well, etc. So I wanted to do my part and help out.

Indexing all posts, etc is quite a lot to handle, so I wanted to start small and just focus on video search. I've started indexing videos from Peertube and other video websites. (Even YouTube but this could be removed to just focus on independent sites)

I know Peertube has their own search engine for videos. I will be reaching out to them. Compared to my site I'm planning it'll have other video sources and be easier to use.

So that leads to feedback from you guys.

  • What do you think about indexing videos posted on the fediverse and other independent platforms?
  • Are there similar services?
  • Am I just wasting my time?
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 8 months ago (2 children)

As the fediverse is almost exclusively run by volunteers that are paying server bills and being admins, I could see some larger instances not taking kindly to this, especially depending on how much stress it would be putting on some already at capacity servers.

[–] [email protected] 18 points 8 months ago (1 children)

Ideally, OP's crawlers will just come from their own instance that other instance owners can defederate from if they want to opt out.

[–] [email protected] 14 points 8 months ago (1 children)
[–] [email protected] 5 points 8 months ago (1 children)

That's a good idea. Listen to public data being broadcasted out, then you aren't worrying people with scraping or anything. It would only be from go live onward, but you would just be listening to the protocol.

[–] [email protected] 1 points 8 months ago

For that to happen on an instance organically users would need to visit all these instances/communities. To speed that up you would need a bot to do all.that "seeding" for you. That brings you full circle to the server resources on bigger instances.

This seems like an opt-in, not an opt-out activity.

[–] [email protected] 0 points 8 months ago (2 children)

How much bandwidth do you suppose a crawler would use? I'd guess very little

[–] [email protected] 2 points 8 months ago (1 children)

I was thinking more in terms of resources (number of spider threads X posts/communities/users being indexed) that would be now dedicated to a bot, not so much network traffic that is probably tiny if not downloading images.

[–] [email protected] 1 points 8 months ago (1 children)

Right, it would be an initial hit but if the bot was properly built it wouldn't need to do full reindexing very often. I'm no expert but I think it could be done in a way that there is no noticeable spike in traffic or anything

[–] [email protected] 1 points 8 months ago

That's the thing, it would need to be done in chunks and have its revisits scheduled if you want to do a complete indexing of an instance. And for a large instance that's a lot of DB thrashing if you aren't spacing that out, or just sampling like "top 10 posts" or something, but that kind of data is going to make a useless search engine depending on the goal of the search engine. If you wanted to just catalog the daily top posts of the fediverse that might work, but if you want to catalog everything it's going to take a lot of resources and a long time to make sure you're not hammering people's servers.

[–] [email protected] 2 points 8 months ago

It will be very little if not downloading full html pages.