Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add share post button for Mastodon #90

Open
whouishere opened this issue Mar 13, 2023 · 2 comments
Open

Add share post button for Mastodon #90

whouishere opened this issue Mar 13, 2023 · 2 comments
Labels
Site Changes to the website

Comments

@whouishere
Copy link

I'd love to have a button to share posts on Mastodon, as it there already are for other social media. Especially given that Minetest's Twitter account apparently became abandoned and Minetest's official Mastodon on Fosstodon is pretty active.

But the biggest problem in implementing this is obviously instances. You can't have a static URL to Mastodon's official website as it is the case for other already implemented share buttons.

There kind of are a couple of solutions, each with it's advantages and disadvantages:

We could use an external service, such as Mastodon Share, toot and Advanced Sharer for Mastodon, though that would be dependent on the availability/uptime of the service. Will it stay online forever? If the service suddenly got down, would we be able to update to another one in the future? For now, Advanced Sharer for Mastodon seems like a feasible option, since it is hosted on GitHub (which is arguably less likely to be down).

There's also the option to simply do this step ourselves. It would be possible with simple JavaScript asking the user's instance on button click. But I don't know how welcoming this repository is to a little extra JavaScript just for this specific functionality.

How feasible do you think this is?

@rubenwardy
Copy link
Member

rubenwardy commented May 22, 2023

Another option: https://share-on-mastodon.social/

Sounds like a good idea, I only didn't add a button because it's more complicated than just a link. Some JS is fine as long as it's freely licensed and hosted ourselves

Another option would be to link to the @minetest post so that people could boost that or comment there

@whouishere
Copy link
Author

Cool! Share on Mastodon actually seems way better (and probably lighter too) than coding it ourselves

I'm gonna try to hack an implementation and do a PR. I definitely will need help with CSS and to figure out exactly where you think things should go

@GreenXenith GreenXenith added the Site Changes to the website label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Site Changes to the website
Projects
None yet
Development

No branches or pull requests

3 participants