https://github.com/codepo8/mastodon-share
A share to mastodon button
https://github.com/codepo8/mastodon-share
Last synced: 5 months ago
JSON representation
A share to mastodon button
- Host: GitHub
- URL: https://github.com/codepo8/mastodon-share
- Owner: codepo8
- Created: 2023-08-17T14:18:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-22T00:02:49.000Z (almost 3 years ago)
- Last Synced: 2023-08-22T01:25:12.810Z (almost 3 years ago)
- Language: HTML
- Size: 562 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Share on Mastodon button
A simple script to provide a "share on mastodon" button without any styles.
To use it, add the script and put a link where you want to share to mastodon.
I've made all the things you want to show to the user editable in the link.
```HTML
Share to Mastodon
```
The first time users click the share button, it asks for their mastodon instance and stores it in local storage. Subsequently you can just click the link. Here's how that looks as a GIF recording:

You also get an edit link next to the share button to edit your instance in case you made a mistake.
[See it in action](https://codepo8.github.io/mastodon-share/)