531
submitted 1 year ago* (last edited 1 year ago) by stirante@sh.itjust.works to c/fediverse@lemmy.world

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
[-] freamon@endlesstalk.org 41 points 1 year ago

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@sh.itjust.works 30 points 1 year ago

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.

[-] Blaze@sopuli.xyz 2 points 1 year ago
[-] projectmoon@lemm.ee 30 points 1 year ago

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

[-] TheGreenGolem@lemm.ee 11 points 1 year ago

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

[-] stirante@sh.itjust.works 2 points 1 year ago

The link is in the post after the first sentence

[-] TheGreenGolem@lemm.ee 10 points 1 year ago
[-] stirante@sh.itjust.works 19 points 1 year ago

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/

[-] Boinketh@lemm.ee 6 points 1 year ago

The link still isn't in the post.

[-] TheGreenGolem@lemm.ee 2 points 1 year ago

That's a pretty plausible scenario. Thank you!

[-] Blaze@sopuli.xyz 1 points 1 year ago
[-] ModernRisk@lemmy.dbzer0.com 1 points 1 year ago

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

[-] Blizzard@lemmy.zip 4 points 1 year ago* (last edited 1 year ago)
[-] TheGreenGolem@lemm.ee 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

[-] Blaze@sopuli.xyz 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

[-] drspod@lemmy.ml 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.

[-] stirante@sh.itjust.works 15 points 1 year ago

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

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

[-] soullioness@lemmy.ca 4 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.

[-] HughJanus@lemmy.ml 11 points 1 year ago

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

[-] stirante@sh.itjust.works 13 points 1 year 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.

[-] OverfedRaccoon@lemmy.world 9 points 1 year ago

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@sh.itjust.works 5 points 1 year ago

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

[-] OverfedRaccoon@lemmy.world 6 points 1 year ago* (last edited 1 year ago)

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@sh.itjust.works 5 points 1 year ago

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@lemmy.world 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.

[-] Malice@sh.itjust.works 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.

[-] gabe@literature.cafe 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.

[-] Blaze@sopuli.xyz 6 points 1 year ago

Looks great, thank you for this!

[-] Valmond@lemmy.mindoki.com 5 points 1 year ago

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

Cheers!

[-] stirante@sh.itjust.works 6 points 1 year ago

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.

[-] floppy@rabbitea.rs 2 points 1 year ago

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

[-] stirante@sh.itjust.works 2 points 1 year ago
[-] floppy@rabbitea.rs 1 points 1 year ago

Thanks, can now log in! Which brings me to the next problem - if I hit "follow" I just get a "community not found" error. Can you trigger a search for the community if it isn't found?

load more comments (2 replies)
[-] Mereo@lemmy.ca 5 points 1 year ago

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

[-] pelespirit@sh.itjust.works 4 points 1 year ago

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.

[-] Coelacanth@feddit.nu 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

[-] ShroOmeric@lemmy.world 3 points 1 year ago

That's cool, thanks for it!

[-] Elegast@lemmy.ca 3 points 1 year ago

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@sh.itjust.works 4 points 1 year ago

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.

[-] Coelacanth@feddit.nu 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 !trendingcommunities@feddit.nl

[-] TheLobotomist@lemmy.world 2 points 1 year ago

Thank you! Very cool tool

[-] mypasswordis1234@lemmy.world 2 points 1 year ago

I like the only NSFW option 😎

load more comments (1 replies)
[-] cassetti@kbin.social 2 points 1 year ago

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

[-] stirante@sh.itjust.works 4 points 1 year ago

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

[-] Dee@lemmy.world 9 points 1 year ago

Sorry, I never tested it with Kevin.

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

[-] stirante@sh.itjust.works 4 points 1 year ago

Ugh damn autocorrect

load more comments (1 replies)
[-] alex@jlai.lu 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@lemmy.world 1 points 1 year ago

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

load more comments
view more: next ›
this post was submitted on 07 Aug 2023
531 points (98.9% liked)

Fediverse

28733 readers
188 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 2 years ago
MODERATORS