1.0.0-beta.16 • Published 19 days ago
@indiekit/syndicator-mastodon v1.0.0-beta.16
@indiekit/syndicator-mastodon
Mastodon syndicator for Indiekit.
Installation
npm i @indiekit/syndicator-mastodon
Requirements
A set of Mastodon API keys. You can get these from /settings/applications
on your Mastodon server.
Usage
Add @indiekit/syndicator-mastodon
to your list of plug-ins, specifying options as required:
{
"plugins": ["@indiekit/syndicator-mastodon"],
"@indiekit/syndicator-mastodon": {
"url": "https://mastodon.server",
"user": "username",
"checked": true
}
}
When sharing content to Mastodon using this syndicator, any post visibility setting will be used for the syndicated status:
Micropub post visibility | Mastodon status visibility |
---|---|
Public | Public |
Unlisted | Unlisted |
Private | Followers only |
Options
Option | Type | Description |
---|---|---|
accessToken | string | Your Mastodon access token. Required, defaults to process.env.MASTODON_ACCESS_TOKEN . |
url | string | Your Mastodon server, i.e. https://mastodon.social . Required. |
user | string | Your Mastodon username (without the @ ). Required. |
characterLimit | number | Maximum number of characters before a post is truncated. Optional, defaults to 500 . |
checked | boolean | Tell a Micropub client whether this syndicator should be enabled by default. Optional, defaults to false . |
includePermalink | boolean | Always include a link to the original post. Optional, defaults to false . |
1.0.0-beta.15
19 days ago
1.0.0-beta.16
19 days ago
1.0.0-beta.12
29 days ago
1.0.0-beta.10
1 month ago
1.0.0-beta.8
2 months ago
1.0.0-beta.4
10 months ago
1.0.0-beta.5
9 months ago
1.0.0-beta.6
6 months ago
1.0.0-beta.3
12 months ago
1.0.0-beta.2
1 year ago
1.0.0-beta.0
1 year ago
1.0.0-beta.1
1 year ago
1.0.0-alpha.16
1 year ago
1.0.0-alpha.18
1 year ago
1.0.0-alpha.13
1 year ago
1.0.0-alpha.10
2 years ago
1.0.0-alpha.12
2 years ago
1.0.0-alpha.9
2 years ago
1.0.0-alpha.5
2 years ago
1.0.0-alpha.0
2 years ago
0.3.0
2 years ago