kytta / shareon

📯 Lightweight, stylish, and ethical share buttons for popular social networks
https://shareon.js.org/
MIT License
464 stars 23 forks source link

Add ability to choose the share2fedi instance #79

Closed kytta closed 7 months ago

kytta commented 1 year ago

The Mastodon button (in the future this should become the Fediverse button) currently redirects to my instance of Share2Fedi (aka toot). This is fine now, but with the usage of Shareon (and my S2F instance) rising, I am not sure that Vercel will be okay with the amount of traffic.

We need to add the data-s2f-instance or similar to the Mastodon button, where one can put the domain name where the instance is hosted.

See also: https://github.com/kytta/share2fedi/issues/38