Rapougnac / VixBluesky

FixBluesky: Embed Bluesky links in Discord!
https://bskyx.app
GNU Affero General Public License v3.0
13 stars 1 forks source link

Avoid rate-limits #4

Closed Kyrela closed 1 week ago

Kyrela commented 1 week ago

Bot is currently rate-limited.

Would be great if VixBluesky could avoid rate-limit with techniques such as the ones used by FxTwitter (for example, guest token.

Don't know if they are applicable for Bluesky, but I think this is worth searching and trying, as it'll greatly increase the stability of VixBluesky, while reducing needs and dependancies.

Kyrela commented 1 week ago

In the meantime, using the og bluesky (by GETing https://embed.bsky.app/oembed?url=post_link) if rate-limited would be a great idea doc: https://docs.bsky.app/docs/advanced-guides/oembed

I'd probably have opened a pull request if I knew how to code in typescript 😅, sorry

Rapougnac commented 1 week ago

Hi, sorry for the late response. I knew this issue was here for a while but, let's admit it that i was a little bit lazy. Anyways, thanks for (re)bringing me to my attention, I merged a PR and deployed the changes, it should work now (i hope — at least). Don't hesitate to open a new issue if something's still wrong for you.

I'd probably have opened a pull request if I knew how to code in typescript 😅, sorry

No worries!

Rapougnac commented 1 week ago

I will see for the oembed fallback, I currently have some personal issues, so this won't be a first priority, but this is a good idea, thanks for reaching me out!