Narcissistic Passion Minified

    @indiekit/syndicator-mastodon

    1.0.0-alpha.12 • Public • Published

    @indiekit/syndicator-mastodon

    Syndicate IndieWeb content to a Mastodon server.

    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,
        "forced": true
      }
    }

    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.
    checked boolean Tell a Micropub client whether this syndicator should be enabled by default. Optional, defaults to false.
    forced boolean Ignore the presence or value of checked and always syndicate. Optional.

    Install

    npm i @indiekit/syndicator-mastodon

    DownloadsWeekly Downloads

    20

    Version

    1.0.0-alpha.12

    License

    MIT

    Unpacked Size

    14.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • paulrobertlloyd