this post was submitted on 17 Jul 2023
144 points (98.6% liked)

Fediverse

27837 readers
143 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 !moderators@lemmy.world!

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
 

I keep see people complaining about not being able to find active communities that match their interests. So I've added a new feature to https://www.search-lemmy.com/ that allows you to search posts for a particular topic and then it tells you which communities have the most posts matching your search query.

And assuming that you've set your home instance correctly, those links will even open up in your home instance, so that you can subscribe directly to them.

For example, if you search for 'linux' (https://www.search-lemmy.com/find-communities/results?query=linux&page=1) it gives you a link to each community, tells you which instance it's on and how many matches it found for your query.

All of the same filters that you can use on the normal search can be used here as well. So if you just want to find the best community that mentions linux on lemmy.world (https://www.search-lemmy.com/find-communities/results?query=linux+instance%3Alemmy.world&page=1), you can filter by just that instance. Click on the Search Tips button to see a list of all of the available filters.

P.S. I'm aware of https://lemmyverse.net/ etc... and while those are great as well, this allows you to search to see what people are actually talking about on the various communities.

Again, if you have any feature requests or find any bugs, PLEASE reach out or ideally go to my github (https://github.com/marsara9/lemmy-search) and log a bug there.

top 26 comments
sorted by: hot top controversial new old
[–] ljdawson@lemmy.world 24 points 1 year ago

Will be adding to sync. Cheers!

[–] demesisx@lemmy.world 5 points 1 year ago (1 children)
[–] marsara9@lemmy.world 1 points 1 year ago

Still working for me. You might need to clear your browser cache as I did make some UI changes as part of the update.

[–] curiosityLynx@kglitch.social 3 points 1 year ago (1 children)

Can you add kbin.social, fedia.io and kglitch.social to the list of home instances? You'd just have to replace the /c/ in links to communities with /m/. This community is at https://kglitch.social/m/fediverse@lemmy.world for me, for example.

I imagine making kbin instances searchable with your tool would require quite a bit more work.

[–] marsara9@lemmy.world 4 points 1 year ago (6 children)

It's on my to-do list. Sadly though, in order for something to show in the drop-down for home instances that means I must have previously crawled that site. Because my #1 requirement is that if you click a link it must open in your home instance. Good news is, is that Kbin and Lemmy work nearly identical to each other, so Kbin will be the first non-lemmy type of instances that you can search.

[–] curiosityLynx@kglitch.social 2 points 1 year ago (1 children)
[–] marsara9@lemmy.world 3 points 1 year ago (1 children)

Lol. I guess I better have this working in 4 weeks. /jk

[–] curiosityLynx@kglitch.social 2 points 1 year ago (1 children)

Just my first uninformed guess at how long you might take 😉

[–] marsara9@lemmy.world 1 points 1 year ago (2 children)

I've already started to abstract away Lemmy from the search engine itself. So the first steps are in place. Once I get the kinks of the 0.4.x release knocked out then I plan on reading up on Kbin's API and I'll start working on the crawler. I can't promise anything but that should give you a rough timeline.

If you have any programming skills I could always use a hand.

[–] curiosityLynx@kglitch.social 2 points 1 year ago (1 children)

Also, last I heard (about 10 days ago, things might have changed since then) kbin's API doesn't quite exist yet. It's one of the reasons the Artemis App's source code isn't open yet; hariette plans to make it open source once she can switch from scraping the website to an actual API and scrub the scraping from the code base.

[–] marsara9@lemmy.world 1 points 1 year ago

Bummer. That'll slow down Kbin's inclusion into this. Well once it is available I'm sure I'll start digging into it. But thanks for the info.

[–] curiosityLynx@kglitch.social 1 points 1 year ago

Technically I do, but they're in css, vanilla javascript and rusty PHP4/PHP5. Programming was and mostly is a hobby for me.

Well except for Siemens SCL/FDB, I need to know that for work, but that's for industrial control circuits and quite a different beast.

[–] curiosityLynx@kglitch.social 1 points 1 year ago

Sorry for the reply spam, first time I tried using the remindme bot

[–] fujiwara@lemmy.zip 2 points 1 year ago

This is wonderful! Thank you!

[–] lchapman@programming.dev 1 points 1 year ago

Works great!

[–] mysoulishome@lemmy.world 1 points 1 year ago (1 children)

I am not able to get search-lemmy.com to work at all. It comes up with no results... ?

[–] marsara9@lemmy.world 1 points 1 year ago (1 children)

Just pushed a new update, that should fix an issue with the home-instance selector. Since you're on lemmy.world I'd suggest selecting that instance from the drop-down and trying your search again...

[–] mysoulishome@lemmy.world 2 points 1 year ago (1 children)

Seems to work, do you have to choose an instance? When I left it on default it would not work

[–] marsara9@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Yep. The idea is that the instance you select is the instance that all links will open up in. This way once you find a post you're looking for you don't have to find it on your home instance and can immediately start replying, save it for later, subscribe to the community, etc....

Edit: I do plan on "fixing" this eventually, but I'm waiting on a bugfix on lemmy itself. You can see more here: https://github.com/marsara9/lemmy-search/issues/20