actions-marketplace-validations/Any feed to Mastodon
Create messages (toots) on Mastodon from a RSS/Atom/JSON feed's items
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| feedUrl | URL of the feed to fetch | yes | — |
| mastodonInstance | The root URL of the Mastodon instance where the toot should be created | yes | — |
| mastodonToken | Your access token for the Mastodon API, get it from /settings/applications/new | yes | — |
| nbTootsPerItem | Number of toots that can be created from the same item | — | 1 |
| itemChoiceStrategy | Strategy to choose the item to toot when multiple are available (default: "random"; values: "oldest", "newest", "random") | — | random |
| globalDelayToots | Delay (in minutes) between any toot from this feed (default: 1 day) | — | 1440 |
| delayTootsSameItem | Delay (in minutes) between any toot from this feed for the same item (default: 90 days) | — | 129600 |
| cacheDirectory | Path to the directory where cache files are stored | — | cache |
| cacheFile | Name of the JSON file caching data from the feed and toots | — | jsonfeed-to-mastodon.json |
| cacheTimestampFile | Name of the JSON file caching the timestamp of the last toot | — | jsonfeed-to-mastodon-timestamp.json |
| ignoreFirstRun | Items collected when the feed is fetched the first time won't be used as toots. This aims to prevent flooding Mastodon, as these items may have already been shared another way, manual or automated. | — | true |
| testMode | Activate a mode for tests, where mentions are removed (`@` replaced by `$`) | — | false |
| tootVisibility | Visibility of published toots | — | public |
| logFeedItemContent | Log the content of the feed item that will be used to create the toot | — | false |
| instanceType | Type of Mastodon instance, to adapt API calls (values: "mastodon" or "pixelfed") | — | mastodon |
Outputs
| name | description |
|---|---|
| tootUrl | URL to the latest toot created |