this post was submitted on 28 Jun 2023
33 points (90.2% liked)

Lemmy

12572 readers
32 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

How to use:

The url must be the hostname only, NO SLASHES, like this: lemmy.dbzer0.com, don't use https://, don't append a slash afterwards (lemmy.dbzer0.com/), only the hostname including the subdomain if it has it (in this case, lemmy).

If the instance has blocked the IP address from the server, or it is stuck and its API is not working correctly, it returns "Not a Lemmy instance" (I am too busy to fix this right now).

If the url is not formatted in a way it can process it, it will say Invalid URL. Better processing can come in the future. I won't be updating it now.

In the backend, it just scrapes https://fba.ryona.agency/?domain={url} and uses the api https://{instance}/api/v3/federated_instances

PRs welcome.

Honestly it works better when deployed locally in a development environment. I think Vercel's IP address is just blocked by cloudflare and other blacklists that stop automated stuff? Idk. Can check back in a few days.

you are viewing a single comment's thread
view the rest of the comments
[–] deluxeparrot 5 points 1 year ago* (last edited 1 year ago) (25 children)
[–] god@sh.itjust.works 3 points 1 year ago (2 children)

This thing uses ryona too on the backend. I state it at the end of my post. The only difference is it fetches both sides at the same time.

[–] deluxeparrot 3 points 1 year ago* (last edited 1 year ago) (1 children)

Ahh I see. That site does list both blocked by and blocked, but not simultaneously.

[–] god@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

Ah shit I didn't know that. That's useful. I can scrape it for both sides if the API is broken for a lemmy instance.

load more comments (22 replies)