this post was submitted on 07 Aug 2023
549 points (99.1% liked)

Fediverse

29904 readers
2068 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 2 years ago
MODERATORS
 

Hey, I made a simple webapp, that shows you a random community with basic stats, description and top 10 posts of all time from this community.

https://stirante.github.io/lemmy-discover/

You can use it without logging in, but for automatic following, the login is required.

All data is stored in your browser and code is open source.

Some info and issues of the app:

  1. I made it in a day, so bugs may and will happen
  2. It uses a json list of communities from browse.feddit.de
  3. It ignores all NSFW communities. I'm planning on adding a switch for that, but if you really want, you can change nsfwFilter property in local storage through devtools. all is for everything, none is for no NSFW and only is for only NSFW communities.
  4. Sometimes it fails to follow a community. Maybe it's because community is not yet "synced" to the instance you logged in from. Don't know much about exact reason, because I'm new to lemmy from the tech side.
  5. There is also a planned feature to exclude whole instances. Currently only possible with editing local storage.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 41 points 2 years ago (1 children)

It's maybe an idea to filter out communities with less than 10 posts.

When I tried it, it gave me a community with 1 post and no comments (there's a lot of dead communities on lemmy, so you might need to do something to increase the chance of an interesting response)

[–] stirante 30 points 2 years ago (1 children)

Just pushed an update, that will hide all communities with less than 11 posts. I will make it configurable later.

To see changes, force refresh the site.

[–] [email protected] 2 points 2 years ago
[–] [email protected] 30 points 2 years ago (2 children)

Am I missing something? Or is the link to this tool not actually present in the post? I only see a screenshot.

[–] [email protected] 11 points 2 years ago

I cannot find the link for the life of me either...(browsing on the original webui)

[–] stirante 2 points 2 years ago (2 children)

The link is in the post after the first sentence

[–] [email protected] 10 points 2 years ago (3 children)
[–] stirante 19 points 2 years ago (5 children)

Probably the edit somehow didn't work for you (I forgot to post the link initially, but added it after like 2 minutes).

The link is https://stirante.github.io/lemmy-discover/

[–] [email protected] 2 points 2 years ago

That's a pretty plausible scenario. Thank you!

[–] [email protected] 1 points 2 years ago
[–] [email protected] 1 points 2 years ago

When I try to follow while being logged in, it says ''Could not find community'' error.

[–] [email protected] 4 points 2 years ago* (last edited 2 years ago) (1 children)
[–] [email protected] 8 points 2 years ago

Nope, wasn't there for me. Still isn't. The post was edited and the update haven't yet came through.

https://i.imgur.com/BRQ6AdB.png

[–] [email protected] 2 points 2 years ago

Actually, I can't find it either, which means that probably no one else in the commenters actually tried it ha ha

[–] [email protected] 2 points 2 years ago

I don't see a link either, even when browsing the original post on the instance that you posted it to.

[–] stirante 15 points 2 years ago (1 children)

Since for some people, the edit didn't work.

This is the link https://stirante.github.io/lemmy-discover/

[–] [email protected] 5 points 2 years ago

Federation is a bit weird sometimes. Edits, deletions, and mod actions don't always federate very quickly or even at all sometimes.

[–] [email protected] 11 points 2 years ago (1 children)

I very much appreciate the effort, but is there any reason I should use this instead of the pre-existing Lemmyverse.net?

[–] stirante 13 points 2 years ago

I wanted to focus a single community at once and make a sneak peak of it all which is some numbers, description and top 10 posts. This way it's less likely to accidentally skip some cool community. Also this shows you random ones and not some type of list so you're exposed to more niche ones.

Anyways I think lemmyverse is also cool, just a different approach to discovery of new communities.

[–] [email protected] 9 points 2 years ago (1 children)

Pretty good. It's kind of like Stumbleupon for Lemmy communities. The only "issue" I saw is it includes the forbidden no-no instances that are defederated by a lot of the bigger instances for being... troublesome.

[–] stirante 6 points 2 years ago (1 children)

I used the list from browse.feddit.de. I didn't know it includes defederated ones. I'll try to exclude these.

[–] [email protected] 6 points 2 years ago* (last edited 2 years ago) (1 children)

I honestly don't know how it should be. I'll leave that up to you. I wasn't logged in when I was going through communities. So that might be a way to filter them out easily - if you can pull a list of blocked instances from users' home instances once they log in.

[–] stirante 5 points 2 years ago (1 children)

I just pushed an update. If you log in, it will fetch defederated instances from your instance as well as communities you already follow and hide them.

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago)

That was quick! Logged in and went through a few skips. Not seeing anything worth noting, which is a good thing. I appreciate that it also pulls from smaller instances I've never even heard of.

[–] Malice 7 points 2 years ago

This is really nice; I second another person's opinion that it resembles a stumbleupon just for lemmy. Some kind of "Not Interested" button would be a good idea, though I don't know how feasible that is.

At any rate, it's a really cool tool, and I appreciate your having made it. I'm excited to see if/how it develops.

[–] [email protected] 6 points 2 years ago

Looks great, thank you for this!

[–] [email protected] 6 points 2 years ago

Would be cool if it blocked already subscribed communities, and also made those that aren't federated already on small instances to try and federate.

[–] [email protected] 5 points 2 years ago

I think this was much needed, thanks! I used to use Random on Reddit to discover new subreddits.

[–] pelespirit 5 points 2 years ago (1 children)

This is really cool. I think why it won't let you subscribe sometimes is because the smaller subs aren't acknowledged by your signed in instance yet. You have to search from your signed in instance for that particular community, go to it, and then subscribe. Great tool though, thanks.

[–] [email protected] 3 points 2 years ago

Yeah, this is exactly it. Though I think it can be worked around/automated. This tool did it: https://github.com/jheidecker/lemmony

[–] [email protected] 5 points 2 years ago (1 children)

Crazily unsecure I guess (you write your password into an unknown site) but crazily cool, it's so hard finding communities!!

Cheers!

[–] stirante 6 points 2 years ago (3 children)

The code is open source, the build process is open on GitHub actions and it's hosted on GitHub pages so you also see compiled site easily. The password never leaves your browser apart from going to the instance you chose when logging in. The password also is not saved, only the access token.

I tried my best at making it as transparent as possible.

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

Logins with 2FA aren't working, is it possible to fix?

load more comments (2 replies)
[–] [email protected] 3 points 2 years ago

That's cool, thanks for it!

[–] [email protected] 3 points 2 years ago (1 children)

Looks neat I'll check it out. Would be cool if you could login and it would pull your subscribed communities and then come up with similar communities based on already subbed ones. Cheers.

[–] stirante 4 points 2 years ago (1 children)

I'd love to do that, but that would require me having info on all users' followed communities. Then I could cluster communities based on shared subscribed users and actually recommend communities. Basically if user A follows X, Y and Z, user B follows X, Y and Z and you follow X, then you might be interested in Y and Z.

Or some simple alternative would be to tag communities, but again someone would have to do it.

[–] [email protected] 6 points 2 years ago

The Fediverse population seems generally quite hostile towards algorithms, but i would love something like that. Discoverability is a huge issue on Lemmy right now. Apart from searching on lemmyverse.net/communities, we basically only have [email protected]

[–] [email protected] 2 points 2 years ago

This is super cool!

I don't think login works if you have 2FA, but not a huge problem :)

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

I like the only NSFW option 😎

[–] [email protected] 1 points 2 years ago

Bro betting the fap session

[–] [email protected] 2 points 2 years ago

Thank you! Very cool tool

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

Loving the tool - but when i try to login and put in the instance of kbin.social it gives me an error

[–] stirante 5 points 2 years ago (2 children)

Sorry, I never tested it with Kevin. I suspect the API is somewhat different from lemmy

[–] [email protected] 9 points 2 years ago (1 children)

Sorry, I never tested it with Kevin.

I can't believe you'd do that to Kevin.

[–] stirante 4 points 2 years ago

Ugh damn autocorrect

load more comments (1 replies)
[–] [email protected] 1 points 2 years ago

Good idea! I'll incorporate something like this in my own Lemmy App.

load more comments
view more: next ›