this post was submitted on 07 Aug 2023
536 points (98.9% liked)

Fediverse

28285 readers
865 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, 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.

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] 40 points 1 year 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)

[–] [email protected] 30 points 1 year 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 1 year ago
[–] [email protected] 33 points 1 year 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 1 year ago

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

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

The link is in the post after the first sentence

[–] [email protected] 10 points 1 year ago (3 children)
[–] [email protected] 20 points 1 year 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] 6 points 1 year ago

The link still isn't in the post.

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

That's a pretty plausible scenario. Thank you!

[–] [email protected] 1 points 1 year ago

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

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)
[–] [email protected] 8 points 1 year 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

[–] obinice 3 points 1 year ago

Weird, I'm looking at this post 20 hours after you posted that and I see no link at all.

Thanks for the help! ❤️

[–] [email protected] 2 points 1 year 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 1 year ago

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

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

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

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

[–] [email protected] 5 points 1 year ago

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

load more comments (1 replies)
[–] OverfedRaccoon 9 points 1 year 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.

[–] [email protected] 5 points 1 year 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.

[–] OverfedRaccoon 6 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 5 points 1 year 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.

[–] OverfedRaccoon 3 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 7 points 1 year 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 1 year 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] 6 points 1 year ago

Looks great, thank you for this!

[–] [email protected] 5 points 1 year 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 1 year 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 1 year 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!

[–] [email protected] 6 points 1 year 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 1 year ago (1 children)

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

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

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

[–] ShroOmeric 3 points 1 year ago

That's cool, thanks for it!

[–] [email protected] 3 points 1 year 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.

[–] [email protected] 4 points 1 year 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 1 year 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]

[–] TheLobotomist 2 points 1 year ago

Thank you! Very cool tool

[–] [email protected] 2 points 1 year 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

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

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

[–] Dee 9 points 1 year ago (1 children)

Sorry, I never tested it with Kevin.

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

[–] [email protected] 4 points 1 year ago

Ugh damn autocorrect

load more comments (1 replies)
[–] mypasswordis1234 2 points 1 year ago (1 children)

I like the only NSFW option 😎

[–] electrogamerman 1 points 1 year ago

Bro betting the fap session

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

This is super cool!

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

[–] Cr4yfish 1 points 1 year ago

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

load more comments
view more: next ›