Had to redo a bunch of stuff because I forgot to copy the stuff over from the old host and my disk containing the project files got wiped.
Had to redo a bunch of stuff because I forgot to copy the stuff over from the old host and my disk containing the project files got wiped.
I ended up adding some improvements to this current script. Dead/nonfunctional instances are excluded as well as instances with < 50 users. (Sorry single instance users who comment here, please don’t take this personally.)
Seems like it’s still including the small instances? For example, lemmy.megumin.org is on there, even though it only has 6 users.
Looking into it… I’m a bad coder lol.
Dunno what happened but it works now. I probably mistakenly ran it on my laptop’s dev environment instead of the server.
Megumin is gone now, and the list does look shorter. Still have a bunch of small instances though. Random sampling:
Also, on Firefox with a narrower window (innerWidth of 1200ish), the leftmost and rightmost columns are cut off around their halfway points. I can horizontal scroll to see the full rightmost column, but not the leftmost. Any way that you could make the cards flow to naturally fit the browser window, instead of being in a hard grid? A similar thing happens on Firefox mobile, but with only 2 columns instead of 5.
Hopefully I fixed the logic once and for all. The second part, you’d have to take that up with Disa, he’s the one who wrote the UI portion, assuming he’s interested.
Looks good now. :)